Quantum Operations, Single-Qubit Gates: Pauli Gates
X: bit-flip gate
The Pauli-X Gate is a single-qubit rotation through pi radians around the x-axis. X = sigma_x = sigma_1 = ( 0 1 1 0 )
Y: bit- and phase-flip gate
The Pauli-Y Gate is a single-qubit rotation through pi radians around the y-axis. Y = sigma_y = sigma_2 = ( 0 -i i 0 )
Z: phase-flip gate
The Pauli-Z Gate is a single-qubit rotation through pi radians around the z-axis. Z = sigma_z = sigma_3 = ( 1 0 0 -1 )
Source = https://qiskit.org/documentation/tutorials/circuits/3_summary_of_quantum_operations.html
Kode program tersedia di GitHub = https://github.com/keamanansiber/qiskit/tree/master/2QuantumOperations/Single-Qubit%20Gates