qiskit.quantum_info.Statevector.trace¶ Statevector.trace()[Quellcode]¶ Return the trace of the quantum state as a density matrix.