Which of these would execute a circuit on a set of qubits which are coupled in a custom way?
Which of these would execute a circuit on a set of qubits which are coupled in a custom way?
from qiskit import QuantumCircuit, execute, BasicAer
backend = BasicAer.get_backend(‘qasm_simulator’)
qc = QuantumCircuit(2)
# insert code here
A . execute(qc, backend, shots=1024, coupling_map=[[0,1], [1,2]])
B . execute(qc, backend, shots=1024, custom_topology=[[0,1],[2,3]]
C . execute (qc, backend, mode="custom")
D . execute(qc, backend, shots=1024, device="qasm_simulator", mode="custom")
Answer: A
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