German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.StabilizerState.purity

StabilizerState.purity()[Quellcode]

Return the purity of the quantum state, which equals to 1, since it is always a pure state.

Rückgabe

the purity (should equal 1).

Rückgabetyp

double

Verursacht

QiskitError – if input is not a StabilizerState.