Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We will be using the little - endian convention that Qiskit adopts. This means that the left - most bit in any pair is the
We will be using the littleendian convention that Qiskit adopts. This means that the leftmost bit in any pair is the least significant. It also means that, when we draw a quantum circuit, the leftmost bit will be the top line. Unless otherwise specified, qubits always start in the : state. Thus the circuit below is in the state : after the gate remember the gate switches the first qubit from : to :
Use tensor product multiplication and the identity matrix and the NOT or Xgate matrix to calculate the matrix representation of the circuit above. If the qubits start in the state : use the matrix to show the state vector gives you the result you'd expect.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started