Qniverse
  • Home
  • About Qniverse
  • Getting Access
  • Brochure
  • Documentation
  • Log In
Select Page

User Guide

13
  • Introduction to Qniverse
  • Creating an Account
  • Profile & Account
  • Quantum Gates
  • Measurement on Basis(x,y,z)
  • Circuit Composer Area
  • Code Editor Area
  • Building Circuits
  • Compute Resources
  • Backend Systems
  • Running Circuits
  • Visualization
  • View Jobs

QSDK

19
  • Gates Palette
    • Gates Palette
  • Algorithms
    • Simon’s Algorithm
    • Bernstein-Vazirani Algorithm
    • Deutsch Function
    • Deutsch-Jozsa Algorithm
    • Grover’s Algorithm(Search)
    • Quantum Teleportation
    • Super Dense Coding
    • Quantum Phase Estimation (QPE)
    • Quantum Fourier Transform (QFT)
    • Shor’s Algorithm
    • Quantum Walks Algorithm(1D)
    • Variational Quantum Eigensolver (VQE)
    • Harrow-Hassidim-Lloyd(HHL) Algorithm
    • Quantum Veto Algorithm
    • QSVM
    • QKMeans Algorithm
    • Quantum Private Comparison(QPC) Algorithm
    • QuantumKNN Algorithm

FAQ and Troubleshooting

2
  • Bug Report/Feedback
  • Terms & Privacy
View Categories
  • Home
  • Docs
  • User Guide
  • Measurement on Basis(x,y,z)

Measurement on Basis(x,y,z)

1 min read

In quantum computing, operations on qubits are performed using quantum gates, which are mathematically represented by unitary matrices. A key characteristic of these gate matrices is that they preserve the total probability of quantum states. This is guaranteed by their unitarity: when a gate’s matrix is multiplied by its conjugate transpose, the result is the identity matrix. This property ensures that applying a quantum gate doesn’t alter the overall ‘length’ of a quantum state vector, thus maintaining its valid probabilistic interpretation. However, when we measure a qubit after applying a gate, we observe a classical outcome. This measurement is performed in a chosen basis. While the most common basis is the computational basis (|0⟩ and |1⟩), we can also measure in other bases, such as the X, Y, or Z bases.

  • Z Basis: This is the standard computational basis, with eigenstates |0⟩ and |1⟩.
  • X Basis: Also known as the Hadamard basis, with eigenstates |+⟩ = (|0⟩ + |1⟩)/√2 and |-⟩ = (|0⟩ – |1⟩)/√2.
  • Y Basis: With eigenstates |+i⟩ = (|0⟩ + i|1⟩)/√2 and |-i⟩ = (|0⟩ – i|1⟩)/√2.

The probabilities of observing each outcome in a given basis are determined by the squared magnitudes of the amplitudes of the quantum state in that basis. The unitary gates manipulate these amplitudes, influencing the probabilities of measurement outcomes in any chosen basis, while always ensuring that the sum of all probabilities must equal 1.

An overview of the Gate Matrix is presented here:

 

https://qniverse.in/wp-content/uploads/2024/12/gate-mtrices.mp4

 

 

 

Pauli-X Gate (NOT Gate) #

 

The Pauli-X gate is represented by the following matrix: X=[0110]

     

Pauli-Y Gate #

The Pauli-Y gate is represented by the following matrix: Y=[0−ii0]

 

Pauli-Z Gate #

 

The Pauli-Z gate is represented by the following matrix: [100-1]

 

Hadamard Gate #

 

The Hadamard gate is represented by the following matrix:[ 1/√2 1/√2 ]
[ 1/√2 -1/√2 ]

 

Identity Gate #

 

In quantum computing, the identity gate matrix is represented by the identity matrix, I. This gate leaves the state vector unchanged when applied to it. It essentially does nothing and is represented by a square with the letter “I” in a circuit diagram.

 

Phase(S) Gate #

 

The S gate, also known as the phase gate or the Z90 gate, is a single-qubit operation that rotates a qubit by 90 degrees around the z-axis. The matrix representation of the S gate is [1 0 0 exp(iπ/2)], which is equivalent to [1 0 0 i].

 

Phase(T) Gate #

 

 

The T gate is a phase gate that rotates a qubit’s state by 45 degrees around the Z-axis of the Bloch sphere. It is also referred to as the π/4 gate because it rotates the qubit state by π/4 radians. The T gate is a non-Clifford gate that operates on a single qubit, taking one bit as input and returning one bit as output.

 

Quantum GatesCircuit Composer Area
Table of Contents
  • Pauli-X Gate (NOT Gate)
  • Pauli-Y Gate
  • Pauli-Z Gate
  • Hadamard Gate
  • Identity Gate
  • Phase(S) Gate
  • Phase(T) Gate

GET IN TOUCH

Ready to Get Started?

Have a query or a feedback? Reach out to us to learn more about the Qniverse and we will be in touch with you at the earliest.



qniverse [at] cdac [dot] in

C-DAC

Copyright © 2025, C-DAC, All rights reserved.

Developed and maintained by Quantum Technology Group, C-DAC Bengaluru

Ministry of Electronics and Information Technology (MeitY), Govt. of India

Terms of Service
Privacy Policy