Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.Statevector.inner

Statevector.inner(other)[fuente]

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

Parámetros

other (Statevector) – a quantum state object.

Devuelve

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

Tipo del valor devuelto

np.complex128

Muestra

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