Controlled NOT Gate: Explained

  • Context: Graduate 
  • Thread starter Thread starter Dragonfall
  • Start date Start date
  • Tags Tags
    Gate
Click For Summary

Discussion Overview

The discussion revolves around the representation and functioning of a controlled NOT gate in quantum computing, particularly focusing on the matrix representation and the interpretation of state vectors. Participants explore the mathematical formulation and conceptual understanding of the gate's operation.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant questions how a specific matrix represents a controlled NOT gate, noting that the second bit appears to be flipped regardless of the control bit.
  • Another participant suggests using Kronecker products and ket notation for clarity, providing an example of how to express state vectors in this formalism.
  • A participant inquires about which coordinates in the column vector represent the control and target bits.
  • Another participant argues against the classical interpretation of control and target bits, explaining that the state vector represents joint amplitudes of qubits rather than being partitioned into control and target components.
  • One participant illustrates a specific case where the control bit is 0 and the target bit is 1, demonstrating how to represent their joint amplitudes mathematically.
  • A later reply affirms the correctness of the previous participant's representation of the joint amplitudes.

Areas of Agreement / Disagreement

Participants express differing views on the interpretation of the control and target bits in the context of quantum state vectors. There is no consensus on the initial question regarding the matrix representation of the controlled NOT gate.

Contextual Notes

Participants discuss the implications of using different mathematical frameworks (e.g., tensor products vs. direct sums) for understanding quantum states, highlighting potential limitations in their interpretations.

Dragonfall
Messages
1,023
Reaction score
5
I'm not sure where to post this, so here it is:

[tex]\left[\begin{array}{cccc}<br /> 1&0&0&0\\<br /> 0&1&0&0\\<br /> 0&0&0&1\\<br /> 0&0&1&0\\<br /> \end{array}\right][/tex]

How is this a controlled NOT gate? If I multiply this with [tex]\left[\begin{array}{c}1\\0\\1\\0\end{array}\right][/tex], the second bit is flipped regardless.
 
Mathematics news on Phys.org
That looks fine to me. Maybe it would be more clear with Kronecker products in the ket notation? Let |0> and |1> denote the standard basis on C². Then...

[tex] \left[\begin{array}{c}1\\0\\1\\0\end{array}\right]<br /> = |0\rangle \otimes |0\rangle + |1\rangle \otimes |0\rangle[/tex]

while

[tex] \left[\begin{array}{c}1\\0\\0\\1\end{array}\right]<br /> = |0\rangle \otimes |0\rangle + |1\rangle \otimes |1\rangle[/tex]
 
Which coordinates in that column vector represents the control, and which the target bit?
 
Dragonfall said:
Which coordinates in that column vector represents the control, and which the target bit?
You're thinking classically. Your state vector cannot be partitioned into "control" and "target" parts -- instead, the vector represents the joint amplitudes of the two qubits. In your chosen basis, the components of the state vector correspond to each of the four ways to choose a basis vector for each qubit. If you had three qubits, your state vector would have eight components.

Algebraically, the joint state space is the tensor product of the individual state spaces. You, however, were thinking of the direct sum (equivalently, direct product) of the individual state spaces.
 
So suppose my control bit is 0, and target is 1, then the vector representing the joint amplitudes of them (on which the matrix acts) is [tex]\left[\begin{array}{c}1\\0\end{array}\right] \otimes \left[\begin{array}{c}0\\1\end{array}\right] = \left[\begin{array}{c}0\\1\\0\\0\end{array}\right][/tex]
 
Last edited:
That looks right.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 28 ·
Replies
28
Views
3K