Comments (2)
Thanks @jclapis for the report. I'll get this fixed in the upcoming release.
from qvm.
Out of interest @jclapis do you see the same behaviour if you do
echo H 0 | qvm
?
Yeah, as far as I can tell the timeout happens for everything except qvm --help
. I just tried this and can confirm it also runs into the same problem:
c:\Program Files\Rigetti Computing\Forest SDK for Windows>echo H 0 | qvm
! ! ! Condition raised: Condition USOCKET:TIMEOUT-ERROR was signalled.
<131>1 2019-05-10T20:40:10Z (hostname) qvm - - - Error encountered, quitting.
Once I run my pretend update server, it works:
c:\Program Files\Rigetti Computing\Forest SDK for Windows>echo H 0 | qvm
******************************
* Welcome to the Rigetti QVM *
******************************
Copyright (c) 2016-2019 Rigetti Computing.
This is a part of the Forest SDK. By using this program
you agree to the End User License Agreement (EULA) supplied
with this program. If you did not receive the EULA, please
contact <[email protected]>.
(Configured with 10240 MiB of workspace and 1 worker.)
<135>1 2019-05-10T20:42:53Z (hostname) qvm - - - Selected simulation method: pure-state
<135>1 2019-05-10T20:42:53Z (hostname) qvm - - - Reading program.
<135>1 2019-05-10T20:42:53Z (hostname) qvm - - - Allocating memory for QVM of 1 qubits.
<135>1 2019-05-10T20:42:53Z (hostname) qvm - - - Allocation completed in 7 ms.
<135>1 2019-05-10T20:42:53Z (hostname) qvm - - - Loading quantum program.
<135>1 2019-05-10T20:42:53Z (hostname) qvm - - - Executing quantum program.
<135>1 2019-05-10T20:42:53Z (hostname) qvm - - - Execution completed in 7 ms.
<135>1 2019-05-10T20:42:53Z (hostname) qvm - - - Printing classical memory and 1-qubit state.
Classical memory (low -> high indexes):
No memory.
Amplitudes:
|0>: 0.7071067811865475, P= 50.0%
|1>: 0.7071067811865475, P= 50.0%
For reference, here's the code for the pretend update server I wrote: https://github.com/jclapis/qsfe/blob/master/Forest/RigettiUpdateProxy/Program.cs
It just listens on 127.0.0.1:80 for GET requests to /qcs-sdk/version/, and returns the version JSON. QVM and Quilc work fine once that's running.
from qvm.
Related Issues (20)
- Possible a logical issue of qvm HOT 1
- qvm server crashes if version check is not disabled
- generic function re-definition
- Write an RX-based Rabi experiment as a test
- MAKE-EA removed from SBCL, breaking intrinsics
- Port 5000 busy on Mac HOT 2
- YASON variable unbound
- app-ng tests seem broken, at least locally
- use SB-SIMD in intrinsics
- delete app-ng HOT 1
- Build fails: System "cl-quil/frontend" not found HOT 1
- Fails to find libexpokit.so in /usr/local/lib
- bump QVM heap limit when compiling
- Compiling on ARM64 requires removal of AVX2 mention HOT 6
- MADPI is not a nice acronym, replace with "FEYNMAN" or so
- update copyright, author, etc. information
- Memory is not reset between trials
- Circular dependency causes build to fail HOT 2
- Clarification on QVM capabilities
- Bump version to 1.18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qvm.