Sitemap
Into Quantum

Explore Quantum Computing from the ground up. ✉️ https://www.intoquantum.pub/

Follow publication

Member-only story

Featured

A Hands-On Lesson On Quantum Phase Gates

7 min readMay 21, 2025

--

Image generated using Google ImageFX

Phase Gates are single-qubit quantum gates that act to change the phase of a qubit’s state without changing its probabilities.

These gates apply a relative phase shift to the qubit’s state.

The general form of a phase gate is represented by the following matrix:

This tells that a phase gate applies a phase e^(iθ) to |1> component of a qubit, while leaving the |0> component unchanged.

The following phase gates are important to know about:

  1. Z gate
  2. S gate
  3. S† gate
  4. T gate
  5. T† gate

Let’s discuss these in detail.

Z gate

This is the Pauli-Z gate, which we have learned about in the previous lessons.

It is represented by the following symbol in a quantum circuit diagram:

It can be derived from the general phase gate matrix with θ = π :

The Z-gate causes a phase flip for a qubit in the state |1> but leaves |0⟩ unchanged.

--

--

Into Quantum
Into Quantum
Dr. Ashish Bamania
Dr. Ashish Bamania

Written by Dr. Ashish Bamania

🍰 I simplify the latest advances in AI & Quantum Computing for you | 📙 Grab your copy of "LLMs In 100 Images" today: bamaniaashish.gumroad.com/l/llmbook

No responses yet