Exam4Training

Which of the following code snippet for the below quantum circuit will put the given qubits in a equiprobable states?

Which of the following code snippet for the below quantum circuit will put the given qubits in a equiprobable states?

qc=QuantumCircuit(2)
A . qc.h(0)
qc.cx(0,1)
B . qc.h(0)
qc.h(1)

C . qc.x(0)
qc.h(0)
qc.cx(0, 1)
D . qc.h(0)
qc.x(1)
qc.cx(0,1)

Answer: B

Exit mobile version