From the course: Quantum Computing Fundamentals
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Pauli-Y gate with Qiskit
From the course: Quantum Computing Fundamentals
Pauli-Y gate with Qiskit
- [Instructor] Let's use Qiskit to explore the effects of the Pauli-Y gate on quantum states. Our starting point is a basic circuit which is initialized in the second notebook cell to have a single qubit. To use the Y gate on that qubit, we'll call the y function on that circuit, pass at the index of our one and only qubit, which is 0. I'll click the Run All button to run the notebook. That updates the quantum circuit diagram to include our Y gate, and on the Bloch sphere down below, our state has flipped from 0 to 1. Looking at the statevector, which is printed just above the Bloch sphere, we can see that the second complex coefficient is now i, representing the imaginary unit. So, as we discussed in the previous video, the Pauli-Y gate has applied a global phase in addition to flipping the bit. If we change the Pauli-Y gate to a Pauli-X gate and rerun the notebook, the Bloch sphere visualization doesn't change,…
Contents
-
-
-
-
-
(Locked)
Overview of matrix operations4m 33s
-
(Locked)
Quantum logic gates4m 43s
-
(Locked)
Pauli-X gate4m 54s
-
(Locked)
Pauli-X gate with Qiskit4m 33s
-
(Locked)
Pauli-Y gate6m 29s
-
(Locked)
Pauli-Y gate with Qiskit2m 47s
-
(Locked)
Pauli-Z gate3m 33s
-
(Locked)
Pauli-Z gate with Qiskit2m 3s
-
(Locked)
Challenge: Binary numbers1m 40s
-
(Locked)
Solution: Binary numbers2m 5s
-
(Locked)
-
-
-
-
-
-