qiskit.quantum_info.Statevector.purity¶ Statevector.purity()[source]¶ Return the purity of the quantum state.