question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make starting the QVM and quilc more convenient

See original GitHub issue

I think we could make starting the QVM and quilc more convenient by allowing Python to spin up the subprocesses itself in just 1 command within Python. It could also check if they’re already running by issuing ping requests to each, and seeing if they’re alive. If they are, it can no-op.

I suppose the core command would be something like

import os
os.spawnl(os.P_DETACH, 'quilc -S')
os.spawnl(os.P_DETACH, 'qvm -S')

This would take some design work so it’s not confusing, as there won’t be terminal windows to show you things are chugging along anymore.

Thoughts? (CC: @notmgsk @ecp-rigetti @mpharrigan @lcapelluto)

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
blakejohnsoncommented, Dec 14, 2018

Could we instead wrap the QVM and quilc in python modules and avoid needing separate server processes running?

2reactions
stylewarningcommented, Dec 14, 2018

Ah, I forgot about this completely. Maybe this issue then changes to reviewing the design of that and potentially making it more useful.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation and Getting Started — pyQuil 3.3.2 documentation
To make full use of the Rigetti Forest SDK, you will need pyQuil, the QVM, ... The Quil Compiler ( quilc ) which...
Read more >
quil-lang/qvm: The high-performance and featureful ... - GitHub
It evaluates Quil programs (parsed and compiled by quilc) on a virtual machine ... QVM objects are created with (qvm:make-qvm n) where n...
Read more >
Qubes OS R2 Tutorial - Invisible Things Lab
Qubes OS Practical Intro by Invisible Things Lab, 2014 ... Ctrl-Shift-V (in the destination VM: tells Qubes: make global clipboard available to this...
Read more >
Exploring quantum computing with Rigetti & pyQuil - Medium
Once the image is running start the pyquil helper servers background and start the Jupiter notebook. Happy coding! qvm –S &quilt -S &...
Read more >
Development workflow - Qubes OS
The best way to write and contribute code is to create a git repo somewhere (e.g., ... qvm-tools/* misc/vm-template-hvm.conf misc/qubes-start.desktop .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found