We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@marcorossi5 @BrunoLiegiBastonLiegi I am trying to execute the following simple code in simulation mode:
import qibo c = qibo.Circuit(17) c.add(qibo.gates.H(12)) c.add(qibo.gates.M(12)) r = client.run_circuit(c, nshots=100, device="sim").result()
however this generates:
[Qibo 0.2.12|ERROR|2024-10-09 21:57:11]: Measurement gates cannot be controlled. [2024-10-09 21:57:11,353] ERROR: Measurement gates cannot be controlled.
This issue does not happen in ssh mode.
The text was updated successfully, but these errors were encountered:
I think this might be a bug in qibo 0.2.12:
import qibo c = qibo.Circuit(17) c.add(qibo.gates.H(12)) c.add(qibo.gates.M(12)) cc = qibo.Circuit.from_dict(c.raw)
Returns:
[Qibo 0.2.12|ERROR|2024-10-09 22:04:08]: Measurement gates cannot be controlled. [2024-10-09 22:04:08,046] ERROR: Measurement gates cannot be controlled.
Sorry, something went wrong.
@BrunoLiegiBastonLiegi btw, I think the bug is related to the printing message, the output is computed correctly.
try/except
M
from_dict
Successfully merging a pull request may close this issue.
@marcorossi5 @BrunoLiegiBastonLiegi I am trying to execute the following simple code in simulation mode:
however this generates:
This issue does not happen in ssh mode.
The text was updated successfully, but these errors were encountered: