Skip to content

2q-qvm --> 4q-pyqvm#1453

Closed
WhiteSymmetry wants to merge 1 commit intorigetti:masterfrom
WhiteSymmetry:patch-1
Closed

2q-qvm --> 4q-pyqvm#1453
WhiteSymmetry wants to merge 1 commit intorigetti:masterfrom
WhiteSymmetry:patch-1

Conversation

@WhiteSymmetry
Copy link

@WhiteSymmetry WhiteSymmetry commented Jun 23, 2022

ConnectError: [WinError 10061] No connection could be made because the target machine actively refused it
qc = get_qc('2q-qvm') --> qc = get_qc('4q-pyqvm')
Python 3.10.4 & Windows 10

Description

Insert your PR description here. Thanks for contributing to pyQuil! 🙂

Checklist

  • The PR targets the rc branch (not master).
  • The above description motivates these changes.
  • There is a unit test that covers these changes.
  • All new and existing tests pass locally and on the PR's checks.
  • Parameters and return values have type hints with PEP 484 syntax.
  • Functions and classes have useful Sphinx-style docstrings.
  • All code follows Black style and obeys flake8 conventions.
  • (New Feature) The docs have been updated accordingly.
  • (Bugfix) The associated issue is referenced above using auto-close keywords.
  • The changelog is updated, including author and PR number (@username, Test ignore #1234).

ConnectError: [WinError 10061] No connection could be made because the target machine actively refused it
qc = get_qc('2q-qvm') --> qc = get_qc('4q-pyqvm')
@WhiteSymmetry WhiteSymmetry requested a review from a team as a code owner June 23, 2022 10:46
@dbanty
Copy link
Contributor

dbanty commented Jun 23, 2022

Hey @WhiteSymmetry, thanks for the suggestion. Just to clarify the objective, the problem you were having is a connection error when specifying QVM as the target? Were you running the QVM server locally as per the getting started instructions?

I think we generally recommend that folks use QVM over PyQVM, since that is what most of our examples use.

@WhiteSymmetry
Copy link
Author

Hey @WhiteSymmetry, thanks for the suggestion. Just to clarify the objective, the problem you were having is a connection error when specifying QVM as the target? Were you running the QVM server locally as per the getting started instructions?

I think we generally recommend that folks use QVM over PyQVM, since that is what most of our examples use.

Tabline and quilc servers are conflicting because they are running on the same port. I removed the tabline, quilc installed without any problems, but the server did not work because some old plugins were causing problems (similar errors on both Windows 10, python 3.9 & 3.10.4 and Ubuntu 22.04).

@notmgsk
Copy link
Contributor

notmgsk commented Jul 11, 2022

@WhiteSymmetry What errors in particular are you seeing when starting quilc?

@WhiteSymmetry
Copy link
Author

WhiteSymmetry commented Jul 13, 2022

@WhiteSymmetry What errors in particular are you seeing when starting quilc?
Threw generic error before RPC call:
The assertion (ZEROP #1=(PZMQ:MSG-SIZE RPCQ::MSG)) failed with #1# = 46.
<131>1 2022-07-13T08:10:02Z *** quilc - - - Threw generic error before RPC call:
The assertion (PZMQ:GETSOCKOPT RPCQ::RECEIVER :RCVMORE) failed with
RPCQ::RECEIVER = #.(SB-SYS:INT-SAP #X0097EAB0).

My 2nd attempt: Now it's worked
<134>1 2022-07-13T08:32:18Z *** quilc - LOG0002 [rigetti@0000 methodName="quil_to_native_quil" requestID="c22d66c1-8b46-407f-8ae5-bbd5bb70040e" wallTime="0.362" error="false"] Requested quil_to_native_quil completed

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants