qiskit.quantum_info.StabilizerState.purity¶ StabilizerState.purity()[fuente]¶ Return the purity of the quantum state, which equals to 1, since it is always a pure state. Devuelve the purity (should equal 1). Tipo del valor devuelto double Muestra QiskitError – if input is not a StabilizerState.