Quantum, Quantum Computing, Quantum Gate.
same as for the X gate, Z gate is represented by a 2x2 dimensional matrix: Let’s explore how it acts on qubits. In the same way as the X gate, we can multiply Z-matrix by the state vector. Here is the circuit representation for the Z gate: It is easier to see the rotation pattern between the X and