qiskit.quantum_info.Statevector.inner¶
- Statevector.inner(other)[소스]¶
Return the inner product of self and other as \(\langle self| other \rangle\).
- 매개변수
other (Statevector) – a quantum state object.
- 반환
the inner product of self and other, \(\langle self| other \rangle\).
- 반환 형식
np.complex128
- 예외 발생
QiskitError – if other is not a quantum state or has different dimension.