qiskit.quantum_info.Statevector.inner¶
- Statevector.inner(other)[código fonte]¶
Return the inner product of self and other as \(\langle self| other \rangle\).
- Parâmetros
other (Statevector) – a quantum state object.
- Retorno
the inner product of self and other, \(\langle self| other \rangle\).
- Tipo de retorno
np.complex128
- Levanta
QiskitError – if other is not a quantum state or has different dimension.