Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.StabilizerState.trace

StabilizerState.trace()[fuente]

Return the trace of the stabilizer state as a density matrix, which equals to 1, since it is always a pure state.

Devuelve

the trace (should equal 1).

Tipo del valor devuelto

double

Muestra

QiskitError – if input is not a StabilizerState.