Consider two qubits, |πœ™1⟩ = (1/13) (3|0⟩ + 2|1⟩) and |πœ™2⟩ = (1/13) (2𝑖|0⟩ + |1⟩)
  • Apply the following gates on the first qubit: Z gate, H gate, X gate (ii) Apply the following gates on the second qubit: Ry gate with πœƒ = 2πœ‹/3
  • Apply the CNOT gate on the two qubits. Consider |πœ™2⟩ as the control qubit and |πœ™1⟩ as the target qubit.
  • Now apply a second CNOT gate with |πœ™1⟩ as the control qubit and |πœ™2⟩ as the target qubit
× How can I help you?