qiskit.quantum_info.DensityMatrix.trace¶ DensityMatrix.trace()[Quellcode]¶ Return the trace of the density matrix.