Measuring Quantum State: Solving for a Specific Value of a Unitary Function

In summary, Bob takes n+1 qubits, all initiated at |0> (the first n being input registers and the last is an output register), and sends the first n through an n-fold Hadamard gate. This results in the superposition \mid\Psi\rangle =\frac{1}{\sqrt{2^n}}\sum_{i=0}^{2^n-1}\mid i\rangle\mid 0\rangleBob then chooses some function f bounded above by 2^n-1, then finds a unitary operator which implements the function:U_f\mid x\rangle\mid 0\
  • #1
Dragonfall
1,030
4
The other thread was going too off-topic, so I'll repost here. Why is this not possible, without considering FTL signals?

I'm just going over what I'm asking again since I wasn't clear before:

Bob takes n+1 qubits, all initiated at |0> (the first n being input registers and the last is an output register), and sends the first n through an n-fold Hadamard gate. This results in the superposition

[tex]\mid\Psi\rangle =\frac{1}{\sqrt{2^n}}\sum_{i=0}^{2^n-1}\mid i\rangle\mid 0\rangle[/tex]

Bob then chooses some function f bounded above by 2^n-1, then finds a unitary operator which implements the function:

[tex]U_f\mid x\rangle\mid 0\rangle =\mid x\rangle\mid f(x)\rangle[/tex]

Bob then sends [itex]U_f\mid\Psi\rangle[/itex] to Alice. Alice now has n+1 qubits with loads of information about the function f. Alice would like to learn a PARTICULAR VALUE of f (not a random one). Can she do it?
 
Physics news on Phys.org
  • #2
Bob violates the no-clone theorem? Said operator isn't unitary.
 
  • #3
Where does Bob violate the no-cloning theorem?
 
  • #4
I believe this does:
[tex] U_f\mid x\rangle\mid 0\rangle =\mid x\rangle\mid f(x)\rangle[/tex]
I could be mistaken. Specifically, [tex]f(x)[/tex] cannot depend on [tex]x[/tex]. See http://www.physics.thetangentbundle.net/wiki/Quantum_mechanics/no_cloning_theorem
 
Last edited by a moderator:
  • #5
No, [itex]U_f[/itex] is defined only on the computational-basis states |0>,|1>, ...etc. And I forgot to mention it's actually [tex] U_f\mid x\rangle\mid y\rangle =\mid x\rangle\mid y\oplus f(x)\rangle[/tex] where [itex]a\oplus b[/tex] is a bitwise modulo 2 sum.
 
  • #6
If [tex]U_f[/tex] keeps [tex]\left|x\right\rangle[/tex] untouched then the second argument had better not depend on what [tex]\left|x\right\rangle[/tex] was... otherwise the operator can't be unitary.
 
  • #7
I'm not 100% sure what you're asking for, but I think the answer to your question is no. Let me rephrase it to see if I've got it right.
Bob has a 1-1 function f:A->A for a finite set A, and for every x in A, there is a state vector |x> describing a possible state of some system -- say, S. The |x> for x in A form an orthonormal basis for states of S. He then constructs the following state (on two copies of system S).

[tex]
\Psi_f=\frac{1}{\sqrt{|A|}}\sum_{x\in A}|x>|f(x)>
[/tex]

In your example, you have A={0,1}n, but I don't know if there is any particular reason for this choice other than just wanting to think about a binary string of length n.

Then, supposing Alice has no knowledge of f other than it being a 1-1 function on A, you want to know if she can compute f(x) for her preferred value of x, simply by making measurements on the system with state [itex]\Psi_f[/itex]? At least, with an arbitrarily small probability of getting the wrong result?
 
Last edited:
  • #8
Well, suppose that [itex]|\Phi_{x,y}>[/itex] is the state if Alice measures f(x) to be y. Then these states would have to be orthogonal for different y and, if the probability of getting the wrong result is less than [itex]\epsilon[/itex] you would need
[tex]
| <\Phi_{x,y}|\Psi_f>|^2>1-\epsilon
[/tex]
whenever y=f(x) and
[tex]
| <\Phi_{x,y}|\Psi_f>|^2<\epsilon
[/tex]
whenever y != f(x). I'm fairly certain that you can't make [itex]\epsilon[/itex] very small for all functions f.

Maybe you can do better than the classical situation though?
 
Last edited:
  • #9
ok, the answer is no.
For a fixed x in A, you can easily find functions f and g with f(x) != g(x), but where [itex]<\Psi_f|\Psi_g>\not=0[/itex] and therefore can't be distinguished with zero probability.

If f(x) != g(x) for some f,g then f(y) and g(y) can agree for at most |A|-2 values of y, giving
[tex]
|<\Psi_f|\Psi_g>|^2 \le \left(1-2/|A|\right)^2.
[/tex]
This is a bit better than the classical case which does not have the square.
 
Last edited:
  • #10
lbrits said:
If [tex]U_f[/tex] keeps [tex]\left|x\right\rangle[/tex] untouched then the second argument had better not depend on what [tex]\left|x\right\rangle[/tex] was... otherwise the operator can't be unitary.
Sure it can. For example, the operator (given by its action on the chosen basis)

[tex]| x \rangle | y \rangle \mapsto | x \rangle | y \oplus f(x) \rangle[/tex]

is linear and has an obvious inverse. (Itself!)
 
  • #11
Alice would like to learn a PARTICULAR VALUE of f (not a random one). Can she do it?
It seems to me that the answer yes. Alice plugs this qubit into her own computer, and enacts the transformation: (for n unequal to x)

[tex]| n \rangle | a \rangle |0 \rangle \mapsto | n \rangle | a \rangle |0 \rangle[/tex]
[tex]| x \rangle | a \rangle |0 \rangle \mapsto | x \rangle | a \rangle |1 \rangle[/tex]

Then, (and this is where things get iffy for me) can't you use something like Grover's algoritm to increase the amplitude on the state whose last bit is a '1'? If you can do that, then when you measure it, you are highly likely to get the state [itex]| x \rangle | a \rangle |1 \rangle[/itex], from which you can read the value of a/i] to get f(x).

This method, alas, hinges entirely on my limited recollection of what Grover's algorithm can do for you.
 
  • #12
I will use [itex]| f_{\left|x\right\rangle} \rangle[/itex] to denote the vector onto which [tex]|x\rangle[/tex] is mapped. If I understand you correctly, then the following is assumed:

[tex]U |x\rangle \otimes |0\rangle = |x\rangle \otimes | f_{|x\rangle}\rangle[/tex].

Then

[tex]U \left\{ |u\rangle + |v\rangle \right \} \otimes |0\rangle = \left\{ |u\rangle + |v\rangle \right\} \otimes | f_{|u\rangle + |v\rangle} \rangle = |u\rangle \otimes | f_{|u\rangle + |v\rangle} \rangle + |v\rangle \otimes | f_{|u\rangle + |v\rangle} \rangle [/tex]

and also

[tex]U \left\{ |u\rangle + |v\rangle \right \} \otimes |0\rangle = |u\rangle \otimes | f_{ |u\rangle} \rangle + |v\rangle \otimes | f_{ |v\rangle} \rangle[/tex]

Now, since [itex]\left|u\right\rangle[/itex] and [itex]\left|v\right\rangle[/itex] may be chosen arbitrarily, for the two expressions to be equal, we must have

[tex]| f_{|u\rangle + |v\rangle} \rangle = | f_{ |u\rangle} \rangle = | f_{ |v\rangle} \rangle[/tex].

Either I misunderstand your notation or [tex]U[/tex] is not linear.
 
  • #13
Well [tex]
f_{|u\rangle + |v\rangle}
[/tex] is not defined unless [tex]
|u\rangle + |v\rangle
[/tex] is a basis vector... I'm slightly confused by the contradicting answers. I'll check back a while to hopefully clear this up.
 
  • #14
lbrits said:
| f_{|u\rangle + |v\rangle} \rangle
There is no such thing as [itex]f_{|u\rangle + |v\rangle}[/itex]. What Dragonfall was specifying was the action of U on the chosen basis. (and even then, only on the subset of the basis where the last qubit is zero) The action of U on linear combinations of basis vectors is defined by the linearity relation. It's not defined by assuming f is extended to the entire vector space.
 
  • #15
If Alice measures the first n qubits of [tex]\frac{1}{\sqrt{2^n}}\sum_{i=0}^{2^n-1}\mid i\rangle\mid f(i)\rangle[/tex], and gets some random result, say |4>. Is the post-measurement state [tex]\left| 4\right>\left| f(4)\right>[/tex]?
 
  • #16
Hurkyl said:
It seems to me that the answer yes. Alice plugs this qubit into her own computer, and enacts the transformation: (for n unequal to x)

[tex]| n \rangle | a \rangle |0 \rangle \mapsto | n \rangle | a \rangle |0 \rangle[/tex]
[tex]| x \rangle | a \rangle |0 \rangle \mapsto | x \rangle | a \rangle |1 \rangle[/tex]

Then, (and this is where things get iffy for me) can't you use something like Grover's algoritm to increase the amplitude on the state whose last bit is a '1'? If you can do that, then when you measure it, you are highly likely to get the state [itex]| x \rangle | a \rangle |1 \rangle[/itex], from which you can read the value of a/i] to get f(x).

This method, alas, hinges entirely on my limited recollection of what Grover's algorithm can do for you.


But you wouldn't even need to do that. Can't you just use Grover's algorithm to search for the exact term you want?
 
  • #17
Dragonfall said:
Can't you just use Grover's algorithm to search for the exact term you want?
Yah, I realized after I left for work that if my understanding of Grover's algorithm is right, then I didn't need to bother with the indicator qubit!
 
  • #18
But what's the catch? This seems too easy...
 
  • #19
Dragonfall said:
But what's the catch? This seems too easy...
Either it really is that easy, or I'm misremembering Grover's algorithm. It's up to you to figure out which. :tongue:
 

1. What is a unitary function?

A unitary function is a mathematical operation that preserves the length and angles of a vector. In the context of quantum mechanics, it refers to a function that describes the evolution of a quantum system over time.

2. Why is it important to measure quantum state?

Measuring quantum state allows us to understand and predict the behavior of quantum systems. It also plays a crucial role in quantum computing and communication.

3. How is a specific value of a unitary function solved for?

The specific value of a unitary function can be solved for by using mathematical techniques such as matrix algebra, linear algebra, and calculus. These methods involve manipulating and solving equations that describe the unitary function.

4. What are some applications of measuring quantum state?

Measuring quantum state has many applications in various fields such as quantum computing, cryptography, and quantum communication. It also has potential uses in precision measurement and sensing.

5. What is the relationship between unitary functions and quantum state?

Unitary functions are used to describe the evolution of quantum systems over time, and therefore they are closely related to quantum state. By solving for specific values of unitary functions, we can determine the quantum state of a system at a given time.

Similar threads

Replies
3
Views
796
  • Quantum Physics
Replies
9
Views
1K
  • Quantum Physics
2
Replies
61
Views
1K
  • Quantum Physics
Replies
9
Views
945
Replies
2
Views
575
Replies
1
Views
530
  • Quantum Physics
Replies
13
Views
1K
Replies
1
Views
724
Replies
8
Views
749
Replies
1
Views
637
Back
Top