Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.Statevector.inner

Statevector.inner(other)[source]

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.