Discuss the working of a phase gate, mention its matrix representation and truth table.

Phase Gate (S Gate)

Matrix Representation

The Phase Gate SSS is represented by the matrix:

Effect on Basis States

Truth Table of the Phase Gate

Since quantum gates don’t behave like classical logic gates (they act on quantum states, not binary bits), we use a quantum truth table that shows the input state and output state.

Input StateOutput State after S Gate
(0⟩ )
(1⟩ )

Leave a Reply

Your email address will not be published. Required fields are marked *