qiskit.quantum_info.StabilizerState.trace¶ StabilizerState.trace()[source]¶ Return the trace of the stabilizer state as a density matrix, which equals to 1, since it is always a pure state. Renvoie the trace (should equal 1). Type renvoyé double Lève QiskitError – if input is not a StabilizerState.