# qiskit.quantum_info.Statevector.inner¶

Statevector.inner(other)[source]

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

Paramètres

other (Statevector) – a quantum state object.

Renvoie

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

Type renvoyé

np.complex128

Lève

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