From e4e0ed6e2461bf518eb724de9d3a10c430531faa Mon Sep 17 00:00:00 2001 From: albi3ro Date: Tue, 3 Oct 2023 16:04:49 -0400 Subject: [PATCH] add test for pasqal device --- compile.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/compile.py b/compile.py index a9304b8..f08192e 100644 --- a/compile.py +++ b/compile.py @@ -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", ], },