Questions tagged [inner-product]

For questions about inner products and inner product spaces, including questions about the dot product. An inner product space is a vector space equipped with an inner product. The dot product (seen in multivariable calculus and linear algebra) is a simple example of an inner product—other inner products may be seen as generalizations of the dot product.

Filter by
Sorted by
Tagged with
3
votes
1answer
92 views

How to calculate inner product of quantum states with other method than swap test? [duplicate]

In connection to this question, I am wondering how to calculate value $\langle \psi|\phi \rangle$ for arbitrary quantum states $|\psi\rangle$ and $|\phi\rangle$. A swap test is able to return only $|\...
5
votes
1answer
150 views

Does the circuit with qubit-wise CZ gates compute the inner product of two states? If not, is there another circuit that does?

I've been searching for a quantum algorithm to compute the the inner product between two $n$-qubit quantum states, namely $\langle\phi|\psi\rangle$, which is in general a complex number. One can get $|...
3
votes
0answers
80 views

Calculating Dot Product of Two States

I've been reading Peter Wittek's Quantum Machine Learning. In chapter 10.2 of this book, the author explains how we can calculate the dot product of two states: To evaluate the dot product of two ...
0
votes
1answer
51 views

Compute the squared overlap between different given qubit states

I was checking this problem from the book. And here is an example, but I think it's wrong. If it is not wrong can you please explain how did they derive it? As per my workout, it should be one. But It ...
1
vote
1answer
82 views

Find inner product of two states given inner product of an orthogonal state

I have a pure quantum state $|i\rangle$ and another state $|\psi\rangle = \frac{1}{\sqrt{2}}(|i\rangle + |j\rangle)$. A state orthogonal to $|\psi\rangle$ is $|\phi\rangle$. Among these states, I know ...
2
votes
1answer
77 views

Discrepancy in inner product between tensor products

I have noticed one identity in case of tensor product from this post. But I can't understand why it is true. $\langle v_i| \otimes \langle w_j| \cdot |w_k\rangle \otimes |v_m\rangle = \langle v_i|v_m\...