Kasus I: 2 qubit tidak terjerat.
Anda dapat menulis status dari dua qubit (katakanlah dan B ) sebagai | ψ A ⟩ = a | 0 ⟩ + b | 1 ⟩ dan | ψ B ⟩ = c | 0 ⟩ + d | 1 ⟩ mana sebuah , b , c , d ∈ C .AB|ψA⟩=a|0⟩+b|1⟩|ψB⟩=c|0⟩+d|1⟩a,b,c,d∈C
Qubit individu berada dalam ruang vektor kompleks dua dimensi (di atas bidang C ). Tapi keadaan sistem adalah vektor (atau titik ) yang berada di empat dimensi ruang vektor kompleks C 4 (lebih dari C lapangan).C2CC4C
Keadaan sistem dapat ditulis sebagai produk tensor yaitu sebuah c | 00 ⟩ + a d | 01 ⟩ + b c | 10 ⟩ + b d | 11 ⟩ .|ψA⟩⊗|ψB⟩ac|00⟩+ad|01⟩+bc|10⟩+bd|11⟩
Secara alami, karena vektor keadaan harus dinormalisasi. Alasan mengapa kuadrat amplitudo keadaan dasar memberikan probabilitas keadaan dasar itu terjadi ketika diukur dalam basis yang sesuai terletak pada aturan Born of mekanika kuantum (beberapa fisikawan menganggapnya sebagai postulat dasar mekanika kuantum) . Sekarang, probabilitas | 0 ⟩ occuring ketika qubit pertama diukur adalah|ac|2+|ad|2+|bc|2+|bd|2=1|0⟩ . Demikian pula, probabilitas | 1 ⟩ occuring ketika qubit pertama diukur adalah | b c | 2 + | b d | 2 .|ac|2+|ad|2|1⟩|bc|2+|bd|2
Sekarang, apa yang terjadi jika kita menerapkan gerbang kuantum tanpa melakukan pengukuran apa pun pada kondisi sistem sebelumnya? Gerbang kuantum adalah gerbang kesatuan. Aksi mereka dapat ditulis sebagai tindakan operator kesatuan pada keadaan awal sistem yaitu suatu c | 00 ⟩ + a d | 01 ⟩ + b c | 10 ⟩ + b d | 11 ⟩ untuk menghasilkan negara baru A | 00 ⟩ + B | 01 ⟩ + C | 10 ⟩Uac|00⟩+ad|01⟩+bc|10⟩+bd|11⟩A|00⟩+B|01⟩+C|10⟩+D|11⟩ (where A,B,C,D∈C). The magnitude of this new state vector: |A|2+|B|2+|C|2+|D|2 again equates to 1, since the applied gate was unitary. When the first qubit is measured, probability of |0⟩ occurring is |A|2+|B|2 and similarly you can find it for occurrence of |1⟩.
But if we did perform a measurement, before the action of the unitary gate the result would be different. For example of you had measured the first qubit and it turned out to be in |0⟩ state the intermediate state of the system would have collapsed to ac|00⟩+ad|01⟩(ac)2+(ad)2√ (according to the Copenhagen interpretation). So you can understand that applying the same quantum gate on this state would have given a different final result.
Case II: The 2 qubits are entangled.
In case the state of the system is something like 12√|00⟩+12√|11⟩ , you cannot represent it as a tensor product of states of two individual qubits (try!). There are plenty more such examples. The qubits are said to entangled in such a case.
Anyway, the basic logic still remains same. The probability of |0⟩ occuring when the first qubit is measured is |1/2–√|2=12 and |1⟩ occuring is 12 too. Similarly you can find out the probabilities for measurement of the second qubit.
Again if you apply a unitary quantum gate on this state, you'd end up with something like A|00⟩+B|01⟩+C|10⟩+D|11⟩, as before. I hope you can now yourself find out the probabilities of the different possibilities when the first and second qubits are measured.
Note: Normally the basis states of the 2-qubit sytem |00⟩,|01⟩,|10⟩,|11⟩ are considered as the four 4×1 column vectors like ⎡⎣⎢⎢⎢1000⎤⎦⎥⎥⎥, ⎡⎣⎢⎢⎢0100⎤⎦⎥⎥⎥, etc. by mapping the four basis vectors to the standard basis of R4. And, the unitary transformations U can be written as 4×4 matrices which satisfy the property UU†=U†U=I.
Let's try to approach this with an example and some geometry. Consider a single qubit, whose Hilbert space isC2 , i.e., the two-dimensional complex Hilbert space over C (for the more technical people, the Hilbert space is actually CP1 ). It turns out that CP1≅S2 , the unit sphere, also known as the Bloch sphere. This translates into the fact that all states of a qubit can be represented (uniquely) on the Bloch sphere.
Source: Wikipedia
The state of a qubit can be represented on the Bloch sphere as|ψ⟩=cos(θ2)|0⟩+eiϕsin(θ2)|1⟩ , where 0≤θ≤π and 0≤ϕ<2π . Here, |0⟩=[10] and |1⟩=[01] are the two basis states (represented in the figure at the north and south pole respectively). So the states of the qubit are nothing but column vectors, which are identified with (unique) points on the sphere.
What are quantum gates? These are unitary operators,U s.t., UU†=U†U=I . Gates on a single qubit are elements of SU(2) . Consider a simple gate like Y (which stands for the Pauli matrix σy:=Y=[0i−i0] ).
How does this gate act on a qubit and affect the measurement outcomes?
Say you begin with a qubit in the state|0⟩ , i.e., at the north pole on the Bloch sphere. You apply a unitary of the form U=e−iγY where γ∈R . Using properties of the Pauli matrix, we get U=e−iγY=cos(γ)I−isin(γ)Y . The action of this operator is to rotate the state by an angle 2γ along the y-axis and therefore if we choose γ=π/2 , the qubit |0⟩→U|0⟩=|1⟩ . That is to say, given we know what unitary we are applying to our state, we completely know the way in which our initial state will transform and hence we know how the measurement probabilities would change.
For example, if we were to make a measurement in the{|0⟩,|1⟩} basis, initially, one would get the state |0⟩ with probability 1; after applying the unitary, one would get the state |1⟩ with probability 1.
sumber
As you said, the probabilities of measurements are obtained from the state. And the gates operate unitarily on the states. Consider the POVM elementΠ , a state ρ and a gate U . Then the probability for the outcome associated with Π is p=tr(Πρ) , and the probability after the gate is p′=tr(ΠUρU†) .
I just want to stress that it is impossible to know the probability of the outcome after the gate only from the probability of it before the gate. You need to consider the probability amplitudes (the quantum states)!
Let me make another remark: You are talking about two qubits, so the state after the gate might be entangled. In this case it will not be possible to have "individual" probability distributions for each qubit for all measurements in the sense that the joint probability distribution will not factor into the two marginal distributions.
sumber