Quantum Computing, Qiskit, Linear Algebra, Mathematics, Python.
results in a 1×1 matrix (which is equivalent to a scalar). The result of an inner product is that scalar. To put it another way, to calculate the inner product of two vectors, take the corresponding elements V_k and W_k, multiply the complex conjugate of V_k by W_k, and add up those products: Here