Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.DensityMatrix.purity

DensityMatrix.purity()[source]

Return the purity of the quantum state.