Site Tools


rx-gate

Table of Contents

Rx gate

gate rotates a qubit by angle about the -axis of the Bloch sphere. It is one of the three rotation gates and is defined as the matrix exponential of the Pauli-X operator:

Applied to the computational basis states:

The rotation mixes and with real cosine and imaginary sine coefficients. At it produces , a state midway between the two basis states with an imaginary phase on . At , — a bit flip up to global phase. The eigenstates of for any nonzero are and (the -axis poles of the Bloch sphere), since those states are invariant under rotation about .

List of code implementations

rx-gate.md · Last modified: