We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cec7452 commit f7f57a1Copy full SHA for f7f57a1
1 file changed
examples/ibm.py
@@ -49,8 +49,9 @@ def run_entangle(eng, num_qubits=3):
49
if device is None:
50
token = getpass.getpass(prompt='IBM device > ')
51
# create main compiler engine for the IBM back-end
52
- eng = MainEngine(IBMBackend(use_hardware=True, token=token num_runs=1024,
+ eng = MainEngine(IBMBackend(use_hardware=True, token=token, num_runs=1024,
53
verbose=False, device=device),
54
- engine_list=projectq.setups.ibm.get_engine_list(token=token, device=device))
+ engine_list=projectq.setups.ibm.get_engine_list(
55
+ token=token, device=device))
56
# run the circuit and print the result
57
print(run_entangle(eng))
0 commit comments