qiskit.quantum_info.StabilizerState.trace¶ StabilizerState.trace()[소스]¶ Return the trace of the stabilizer state as a density matrix, which equals to 1, since it is always a pure state. 반환 the trace (should equal 1). 반환 형식 double 예외 발생 QiskitError – if input is not a StabilizerState.