Which two options would place a barrier across all qubits to the QuantumCircuit below?

Which two options would place a barrier across all qubits to the QuantumCircuit below?

qc = QuantumCircuit(3,3)
A . qc.barrier(qc)
B . qc.barrier([0,1,2])
C . qc.barrier()
D . qc.barrier(3)
E . qc.barrier_all()

Answer: BC

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments