Open lauracaune opened 2 years ago
Hi @lauracaune -
Would you be able to also share:
quilc
Thanks!
Hi @nilslice,
My apologies for the late reply. This is the program I am trying to run:
OPENQASM 2.0; include "qelib1.inc"; qreg q[1]; creg c[1]; x q[0]; measure q[0] -> c[0];
I'm using Aspen-11-qvm as the backend and doing the command run
on it.
I don't remember anymore as this was a while ago, but I think I isntalled quilc
using this - https://qcs.rigetti.com/sdk-downloads.
Weirdly, this is only an issue from my local machine. When I run the same code on the Jupyterlab provided by Rigetti everything runs smoothly.
Thank you :)
@lauracaune I'm able to run that program through quilc
version 1.26.0 locally. Can you check what version you're using? If you're using a quilc
binary from the downloads page, can you instead try running it via Docker as indicated here?
Hi @dbanty,
I've been running quilc
via Docker. I thought this means it's the latest version? If not, I'm not sure how to check the version via Docker?
I also tried using a different program and got the same error.
I don't think the image will be automatically updated, so if you pulled it a while ago it could be stale? You can do a docker pull rigetti/quilc
to see if there are updates. A docker run rigetti/quilc --version
will print out the current version.
When you say "another program" do you mean another OPENQASM 2.0 program? Can you try compiling a simple Quil program like DECLARE ro BIT; MEASURE 0 ro
to see if it can handle that? That will at least tell us if the quilc
image is completely broken.
I was trying to use
quilc
with Rigetti's Qiskit provider and got the error as in the first screenshot. As suggested by Rigetti, I fixed it following the instructions from this page - https://qiskit-rigetti.readthedocs.io/en/latest/. However, now I get a new error as in the second screenshot. I'm not sure if this is an error in my code or on your side. Could you please help with this? Thank you!