4.1 Single-Qubit Gates and Rotations

3 min readjuly 24, 2024

Single-qubit gates are the building blocks of quantum computing. They manipulate individual qubits, allowing for state changes, creation, and phase shifts. These gates, including Pauli gates, the Hadamard gate, and rotation gates, form the foundation for more complex quantum operations.

Understanding single-qubit gates is crucial for grasping quantum algorithms and error correction. The provides a visual representation of qubit states and gate effects, while matrix representations enable precise mathematical descriptions of quantum operations. Mastering these concepts is essential for quantum circuit design and analysis.

Single-Qubit Gates

Pauli gates and qubit states

Top images from around the web for Pauli gates and qubit states
Top images from around the web for Pauli gates and qubit states
  • Pauli X gate (NOT gate) flips qubit state performs 180° rotation around x-axis on Bloch sphere
    • Matrix representation: (0110)\begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} swaps amplitudes of basis states
    • Effect on basis states: 01|0\rangle \rightarrow |1\rangle, 10|1\rangle \rightarrow |0\rangle inverts qubit
    • Applications include bit-flip error correction and quantum NOT operations
  • Pauli Y gate rotates qubit state by 180° around y-axis introducing complex phase
    • Matrix representation: (0ii0)\begin{pmatrix} 0 & -i \\ i & 0 \end{pmatrix} swaps amplitudes with imaginary unit
    • Effect on basis states: 0i1|0\rangle \rightarrow i|1\rangle, 1i0|1\rangle \rightarrow -i|0\rangle flips and adds phase
    • Used in quantum error correction and certain quantum algorithms (quantum Fourier transform)
  • (phase flip) changes qubit phase without altering probabilities
    • Matrix representation: (1001)\begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix} negates amplitude of 1|1\rangle state
    • Effect on basis states: 00|0\rangle \rightarrow |0\rangle, 11|1\rangle \rightarrow -|1\rangle introduces relative phase
    • Bloch sphere: 180° rotation around z-axis preserving x-y plane projection
    • Crucial in phase error correction and implementing phase shifts

Hadamard gate for superposition

  • Hadamard gate (H gate) creates equal superposition of basis states key in many quantum algorithms
    • Matrix representation: 12(1111)\frac{1}{\sqrt{2}}\begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix} combines basis states with equal weight
    • Effect on basis states:
      • 012(0+1)|0\rangle \rightarrow \frac{1}{\sqrt{2}}(|0\rangle + |1\rangle) creates "++" superposition
      • 112(01)|1\rangle \rightarrow \frac{1}{\sqrt{2}}(|0\rangle - |1\rangle) creates "+-" superposition
    • Bloch sphere: 90° rotation around y-axis followed by 180° rotation around x-axis
  • Applications of Hadamard gate span various quantum computing tasks
    • Quantum algorithms (Deutsch-Jozsa, Grover's search) use H gates for initial state preparation
    • Quantum random number generation exploits superposition for true randomness
    • Quantum state tomography employs H gates in measurement basis rotation

Qubit rotations on Bloch sphere

  • Bloch sphere provides intuitive 3D representation of qubit states
    • Pure states appear as points on surface, mixed states as points inside sphere
    • Axes correspond to measurement bases (x, y, z) representing different observables
  • Rotation angles θ (theta) and φ (phi) define qubit state orientation
    • θ: Angle from z-axis (0 ≤ θ ≤ π) determines superposition between 0|0\rangle and 1|1\rangle
    • φ: Angle in x-y plane (0 ≤ φ < 2π) represents relative phase between basis states
  • General qubit state expressed as ψ=cos(θ2)0+eiϕsin(θ2)1|\psi\rangle = \cos(\frac{\theta}{2})|0\rangle + e^{i\phi}\sin(\frac{\theta}{2})|1\rangle
    • Coefficients relate to probability amplitudes of measuring 0|0\rangle or 1|1\rangle
    • Exponential term eiϕe^{i\phi} encodes relative phase information
  • Rotation operators allow precise control of qubit state
    • Rx(θ): Rotation around x-axis changes superposition without affecting relative phase
    • Ry(θ): Rotation around y-axis alters both superposition and phase
    • Rz(θ): Rotation around z-axis modifies phase while preserving superposition

Single-qubit operations and representations

  • Matrix multiplication implements gate operations on qubit states
    • Apply gate U to state ψ|\psi\rangle: UψU|\psi\rangle transforms state vector
    • Compose gates: (U2U1)ψ=U2(U1ψ)(U_2U_1)|\psi\rangle = U_2(U_1|\psi\rangle) allows sequential operations
  • Rotation gates expressed as matrix exponentials of Pauli operators
    • Rx(θ) = eiθ2X=cos(θ2)Iisin(θ2)Xe^{-i\frac{\theta}{2}X} = \cos(\frac{\theta}{2})I - i\sin(\frac{\theta}{2})X rotates around x-axis
    • Ry(θ) = eiθ2Y=cos(θ2)Iisin(θ2)Ye^{-i\frac{\theta}{2}Y} = \cos(\frac{\theta}{2})I - i\sin(\frac{\theta}{2})Y rotates around y-axis
    • Rz(θ) = eiθ2Z=cos(θ2)Iisin(θ2)Ze^{-i\frac{\theta}{2}Z} = \cos(\frac{\theta}{2})I - i\sin(\frac{\theta}{2})Z rotates around z-axis
  • Bloch sphere visualizations aid in understanding gate effects
    • Pauli gates appear as 180° rotations around respective axes
    • Hadamard gate rotates state from z-axis to x-axis creating superposition
    • Phase gates manifest as rotations around z-axis altering relative phase
  • Arbitrary single-qubit unitary decomposed into rotation sequence
    • U = eiαRz(β)Ry(γ)Rz(δ)e^{i\alpha}R_z(\beta)R_y(\gamma)R_z(\delta) represents any single-qubit operation
    • Allows implementation of any desired transformation using basic rotations
  • Quantum circuits represent gate sequences graphically
    • Read from left to right mirroring time evolution of quantum system
    • Horizontal lines represent qubits, boxes denote gate operations
    • Facilitates design and analysis of quantum algorithms and protocols

Key Terms to Review (12)

Axis of Rotation: The axis of rotation refers to an imaginary line around which a quantum state can be rotated in a two-dimensional plane, typically represented on the Bloch sphere. This concept is crucial for understanding how single-qubit gates operate by transforming qubit states through rotation, allowing for various manipulations in quantum computing. The axis defines the direction in which the state vector of a qubit rotates when subjected to a specific gate operation, leading to different quantum states.
Bloch Sphere: The Bloch Sphere is a geometrical representation of the pure state space of a two-level quantum mechanical system, such as a qubit. It provides a visual framework for understanding the states of a qubit and how they relate to quantum operations, specifically in the context of single-qubit gates and rotations. By mapping the qubit states to points on the surface of a sphere, it becomes easier to comprehend concepts like superposition and entanglement, as well as how various quantum gates manipulate these states.
David Deutsch: David Deutsch is a pioneering theoretical physicist and computer scientist, best known for his foundational work in quantum computing and for formulating the Deutsch-Jozsa algorithm. His contributions laid the groundwork for understanding quantum mechanics and computation, emphasizing the potential of quantum systems to outperform classical ones.
Pauli Z Gate: The Pauli Z gate is a fundamental single-qubit gate in quantum computing that performs a phase flip on the qubit state. It operates by applying a transformation that changes the sign of the amplitude of the |1⟩ state while leaving the |0⟩ state unchanged, effectively rotating the qubit around the Z-axis of the Bloch sphere. This gate is essential for manipulating qubit states and is widely used in quantum algorithms and circuits.
Peter Shor: Peter Shor is a prominent theoretical computer scientist best known for developing Shor's algorithm, which efficiently factors large integers on quantum computers. His work has revolutionized the field of quantum computing by demonstrating its potential to outperform classical algorithms in specific tasks, particularly in cryptography and number theory.
Quantum Circuit Model: The quantum circuit model is a theoretical framework used to describe the functioning of quantum computers, where computations are represented as a series of quantum gates acting on qubits over discrete time steps. This model enables the design and analysis of quantum algorithms by allowing the manipulation of qubits through various operations, capturing the essence of quantum parallelism and entanglement that distinguishes quantum computing from classical computing.
Quantum Coherence: Quantum coherence refers to the property of a quantum system where the different possible states can exhibit interference effects due to their superposition. This phenomenon is essential in various quantum technologies, influencing how quantum bits behave during operations and measurements, and plays a crucial role in enhancing the precision of sensing applications.
Quantum Measurement: Quantum measurement is the process of observing a quantum system, resulting in the collapse of its wave function to a specific eigenstate, which corresponds to a definite outcome. This process is crucial in quantum mechanics as it defines how information is obtained from quantum systems, linking the theoretical framework to practical applications in areas like computation and cryptography.
Quantum rotation: Quantum rotation refers to the manipulation of the quantum state of a qubit through rotational operations, allowing for the alteration of its phase and amplitude in quantum computing. This concept is central to the implementation of single-qubit gates, which are essential for performing quantum algorithms and operations. By applying specific rotation angles about different axes on the Bloch sphere, quantum rotations enable complex state transformations crucial for quantum information processing.
Rotation angle: The rotation angle is a parameter that describes the amount of rotation applied to a qubit in quantum computing, typically measured in radians. This concept is essential for understanding how single-qubit gates manipulate the state of a qubit, as it directly relates to the degree of transformation applied during quantum operations. A rotation angle can result in various quantum states depending on the specific gate and its representation in the Bloch sphere.
Superposition: Superposition is a fundamental principle in quantum mechanics that states a quantum system can exist in multiple states at the same time until it is measured. This concept plays a crucial role in the behavior of quantum systems and is pivotal to understanding various quantum phenomena and computations.
Unitary Matrix: A unitary matrix is a complex square matrix whose inverse is equal to its conjugate transpose. This property ensures that the inner product of vectors is preserved under transformation, which is crucial in quantum mechanics for maintaining the probabilities associated with quantum states. Unitary matrices are fundamental in quantum computing, particularly when representing single-qubit gates and rotations, as they allow for reversible computations.
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.