Japanese
言語
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.