Korean
언어
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.StabilizerState.purity

StabilizerState.purity()[소스]

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

반환

the purity (should equal 1).

반환 형식

double

예외 발생

QiskitError – if input is not a StabilizerState.