-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
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
UnknownApiError on get_qc("2q-noisy-qvm") call #1762
Comments
Closing as not an issue. Tl;dr: I fell victim of this breaking change from Changelog. I am running QVM on a port different than the default 5000, because of #1653. I was doing this by overriding the QVM url via the env variable Snippet of working code from ipython: In [2]: %env QCS_SETTINGS_APPLICATIONS_PYQUIL_QVM_URL=http://127.0.0.1:5001
env: QCS_SETTINGS_APPLICATIONS_PYQUIL_QVM_URL=http://127.0.0.1:5001
In [3]: from pyquil import get_qc
...: get_qc("2q-noisy-qvm")
Out[3]: QuantumComputer[name="2q-noisy-qvm"] |
Pre-Report Checklist
Issue Description
I am in a Python environment with Cirq and pyquil==3.5.4. This is the latest possible version of pyquil supported by cirq-rigetti at the moment, until this PR gets merged.
I spin up QVM & quilc servers from the Docker images (see commands below).
When I run
get_qc("2q-noisy-qvm")
I get an UnknownApiError.Is pyquil v3 still compatible with the QVM?
How to Reproduce
Code Snippet
Error Output
Environment Context
Operating System: macOS 14.3.1 (23D60)
Python Version (
python -V
): Python 3.11.8Quilc Version (
quilc --version
): 1.26.0 [7aef642]Version comes from:
QVM Version (
qvm --version
): 1.17.2 [266c11e]Version comes from:
Python Environment Details (
pip freeze
orconda list
):It's basically a fresh environment for https://github.com/unitaryfund/mitiq
The text was updated successfully, but these errors were encountered: