qiboteam / qibo-client

Qibo remote connection client.
https://qibo.science
Apache License 2.0
1 stars 0 forks source link

Execution fails with measurement gates #23

Closed MatteoRobbiati closed 4 months ago

MatteoRobbiati commented 4 months ago

To reproduce the error:

import qibo
from qibo_client import TII

circuit = qibo.models.Circuit(1)
circuit.add(qibo.gates.X(0))
circuit.add(qibo.gates.M(0))

client = TII("key")
result = client.run_circuit(circuit, nshots=100, device="sim")
scarrazza commented 4 months ago

This should now work.