Quantum Computing, Qiskit, General U3 Gate, Controlled U3 Gate, Tutorial.
find the probabilities state-wise, starting with state |0⟩: We know that, ⟨0|0⟩=1 and ⟨0|1⟩=0 [a useful thing to remember is that the inner product of two orthogonal vectors is 0], so: Eq. (6) Now, calculating for state |1⟩: Eq. (7) Now, plotting the probabilities of states on a histogram using