Skip to content

Commit

Permalink
add test for pasqal device
Browse files Browse the repository at this point in the history
  • Loading branch information
albi3ro committed Oct 3, 2023
1 parent 75a90be commit e4e0ed6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@
"--device=cirq.simulator --tb=short --skip-ops --shots=20000",
"--device=cirq.mixedsimulator --tb=short --skip-ops --shots=None",
"--device=cirq.mixedsimulator --tb=short --skip-ops --shots=20000",
# Pasqal doesn't work, says
# qubits = [pasqal.ThreeDQubit(wire * control_radius / 2, 0, 0) for wire in range(wires)]
# E TypeError: unsupported operand type(s) for /: 'str' and 'int'
# "--device=cirq.pasqal --tb=short --skip-ops --analytic=False --shots=20000 --device-kwargs control_radius=2.",
"--device=cirq.pasqal --tb=short --skip-ops --analytic=False --shots=20000 --device-kwargs control_radius=2.",
"--device=cirq.qsim --tb=short --skip-ops --analytic=False --shots=20000",
],
},
Expand Down

0 comments on commit e4e0ed6

Please sign in to comment.