# qiskit.quantum_info.Statevector.inner¶

Statevector.inner(other)[Quellcode]

Return the inner product of self and other as $$\langle self| other \rangle$$.

Parameter

other (Statevector) – a quantum state object.

Rückgabe

the inner product of self and other, $$\langle self| other \rangle$$.

Rückgabetyp

np.complex128

Verursacht

QiskitError – if other is not a quantum state or has different dimension.