Can anyone explain quantum gates

In summary, the state space of a single qubit is 2-dimensional and composite states are given by the direct product. For quantum gates that operate on two qubits, a 4x4 matrix is needed to represent the gate as it acts on a column vector with four components. This is necessary because there are 4 possible states for 2 qubits.
  • #1
pleasehelpmeno
157
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
  • #3
I don't understand how a 4x4 gate could effect a 2x2 qubit though
 
  • #4
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.
 
  • #5
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.
 

1. What are quantum gates?

Quantum gates are fundamental building blocks in quantum computing that manipulate the state of quantum bits (qubits) to perform calculations and operations.

2. How do quantum gates work?

Quantum gates operate by changing the state of qubits through rotations, flips, and other operations, allowing for the manipulation and measurement of quantum states.

3. What is the purpose of quantum gates?

The purpose of quantum gates is to perform logical operations on qubits, which are the basic units of information in quantum computing. These operations are necessary for performing calculations and solving complex problems.

4. How are quantum gates different from classical logic gates?

Quantum gates operate on the principles of quantum mechanics, which allow for the superposition and entanglement of qubits. This allows for more complex and parallel operations compared to classical logic gates, which only operate on classical bits.

5. Are quantum gates difficult to understand?

Quantum gates can be difficult to understand for those without a background in quantum mechanics, but with some basic understanding of quantum principles, they can be comprehended and utilized effectively in quantum computing.

Similar threads

  • Quantum Physics
Replies
8
Views
1K
  • Quantum Physics
Replies
3
Views
745
  • Quantum Physics
Replies
5
Views
2K
  • Quantum Physics
Replies
6
Views
2K
Replies
1
Views
1K
  • Quantum Physics
Replies
14
Views
1K
Replies
4
Views
2K
Replies
16
Views
1K
  • Quantum Physics
Replies
2
Views
1K
Replies
1
Views
817
Back
Top