给定一个量子位的系统并由此可能的测量结果中的基础,,,,我怎么可以准备状态,其中:
只有的这些的测量结果是可能的(比如,,,)?
这些测量是否同样可能?(类似于贝尔州,但有结果)
00
和11
到狄拉克符号?我尝试$\ket{00}$
失败了。
给定一个量子位的系统并由此可能的测量结果中的基础,,,,我怎么可以准备状态,其中:
只有的这些的测量结果是可能的(比如,,,)?
这些测量是否同样可能?(类似于贝尔州,但有结果)
00
和11
到狄拉克符号?我尝试$\ket{00}$
失败了。
Answers:
分部分解决问题。
说我们已经派出到1。我们可以发送给1由√。满足您所有可能性的要求 1但具有不同的阶段。如果要在每个相位上使用相移门来获得想要的相位,就像想要使它们全部相等一样。
现在,我们怎样才能从到1?如果是1, we could do a Hadamard on the second qubit. It is not a easy with this but we can still use a unitary only on the second qubit. That is done by a rotation operator purely on the second qubit by factoring as
总共有:
I'll tell you how to create any two qubit pure state you might ever be interested in. Hopefully you can use it to generate the state you want.
Using a single qubit rotation followed by a cnot, it is possible to create states of the form
Then you can apply an arbitrary unitary, , to the first qubit. This rotates the and states to new states that we'll call and ,
Our entangled state is then
We can similarly apply a unitary to the second qubit.
which gives us the state
Due to the Schmidt decomposition, it is possible to express any pure state of two qubits in the form above. This means that any pure state of two qubits, including the one you want, can be created by this procedure. You just need to find the right rotation around the x axis, and the right unitaries and .
To find these, you first need to get the reduced density matrix for each of your two qubits. The eigenstates for the density matrix of your first qubit will be your and . The eigenstates for the second qubit will be and . You'll also find that and will have the same eigenvalue, which is . The coefficient can be similarly derived from the eigenvalues of and .
Here is how you might go about designing such a circuit. Suppose that you would like to produce the state . Note the normalisation of , which is necessary for to be a unit vector.
If we want to consider a straightforward way to realise this state, we might want to think in terms of the first qubit being a control, which determines whether the second qubit should be in the state , or in the state , by using some conditional operations. This motivates considering the decomposition
Which specific operations you would apply to realise these transformations — i.e. which single-qubit transformation would be most suitable for step 2, and how you might decompose the two-qubit unitary in step 3 into CNOTs and Pauli rotations — is a simple exercise. (Hint: use the fact that both and the Hadamard are self-inverse to find as simple a decomposition as possible in step 3.)
Here is an implementation of a circuit producing state on IBM Q:
Note that for on . and for first and second on .
The on prepares qubit in superposition . gates on and implements controlled Hadamard gate. When is in state the Hadamard acts on thanks to negation . This happens with probability . Since Hadamard turns to , i.e. equally distributed superposition, final states and can be measured with probability . When is in state , controled Hadamard does not act and state is measured. Since is in state with probability , is measured also with probability .