Can anyone explain quantum gates

Click For Summary
SUMMARY

This discussion clarifies the function of quantum gates in quantum computing, specifically addressing the confusion surrounding the application of 4x4 matrices to two-qubit systems. A single qubit is represented by a 2-dimensional state, while the composite state of two qubits is represented by a 4-dimensional state due to the direct product of their individual states. Simple quantum gates operate on single qubits using 2x2 matrices, whereas gates affecting two qubits must utilize 4x4 matrices to accommodate the four possible states of the system. The example of a "double not" gate illustrates this concept effectively.

PREREQUISITES
  • Understanding of quantum states and qubits
  • Familiarity with matrix representation in quantum mechanics
  • Knowledge of direct product operations in linear algebra
  • Basic concepts of quantum gates and their functions
NEXT STEPS
  • Study the construction of 2x2 and 4x4 matrices in quantum mechanics
  • Learn about the direct product of quantum states
  • Explore the implementation of various quantum gates, including the "double not" gate
  • Investigate the role of quantum gates in quantum algorithms
USEFUL FOR

Students and professionals in quantum computing, particularly those seeking to understand the mechanics of quantum gates and their matrix representations.

pleasehelpmeno
Messages
154
Reaction score
0
Hi I am studying Quantum computing and basically have no understanding of quantum gates and my lecturer is not very helpful.

I don't understand why a 4x4 quantum gate would ever effect a two qubit system because surely that is at best only a 2x2 matrix, assuming they effect each other through multipication.

How can there be a gate which flips the first qubit and leave the second one unchanged, surely they would both be affected?
 
Physics news on Phys.org
I don't understand how a 4x4 gate could effect a 2x2 qubit though
 
The state space of a single qubit is 2-dimensional. Composite states are given by the direct product. The direct product of two 2-dimensional states is a 4-dimensional state.

|1> can be written as column vector (1,0). |11> = |1>⊗|1> can be written as (1,0,1,0).

Simple quantum gates act on single qubits, so they are represented by 2x2 matrices. If a quantum gate operates on two qubits, it has to be represented by a 4x4 matrix, because it has to act on a column vector with four components. Try for example to construct the matrix representation of a "double not" gate to see how this works.
 
For 2 qubits, you have 4 possible states: |00>, |01>, |10> and 11>. Thus, any matrix operator that tries to relate a vector of size 4 onto another vector of size 4 (2 qubits still remain after the operation) have to be a 4x4 matrix.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K