What code fragment codes the equivalent circuit if you remove the barrier in the following QuantumCircuit?

What code fragment codes the equivalent circuit if you remove the barrier in the following QuantumCircuit?

A . qc = QuantumCircuit(1,1)
qc.h(0)
qc.s(0)
qc.h(0)
qc.measure(0,0)

B . qc = QuantumCircuit(1,1)
qc.measure(0,0)
C . qc = QuantumCircuit(1,1)
qc.h(0)
qc.t(0)
qc.tdg(0)
qc.h(0)
qc.measure(0,0)
D . qc = QuantumCircuit(1,1)
qc.h(0)
qc.z(0)
qc.h(0)
qc.measure(0,0)

Answer: A

Latest C1000-112 Practice Questions with 250 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments