Which code fragment would yield an operator that represents a single-qubit X gate?
Which code fragment would yield an operator that represents a single-qubit X gate?
A . op = Operator.Xop(0)
B . qc = QuantumCircuit(1)
qc.x(0)
op = Operator(qc)
C . op = Operator([[0,1]])
D . op = Operator([[1,0,0,1]])
Answer: B
Latest C1000-112 Dumps Valid Version with 250 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments