qvm
qvm copied to clipboard
The high-performance and featureful Quil simulator.
depends on: https://github.com/quil-lang/magicl/pull/171 related: https://github.com/quil-lang/quilc/pull/828
Sorry to see it go, but it has not been developed, and it is not used in production. Fixes #299 #296
``` $ qvm Unhandled SIMPLE-ERROR in thread #: Error opening shared object "/disk-samsung/freebsd-ports/devel/qvm/work/quicklisp/dists/quicklisp/software/magicl-v0.9.1/expokit/libexpokit.so": Cannot open "/disk-samsung/freebsd-ports/devel/qvm/work/quicklisp/dists/quicklisp/software/magicl-v0.9.1/expokit/libexpokit.so". ``` quilc is able to find this library, but qvm isn't for some reason....
The PR introduces two further variants of noisy QVMs: 1. `fowler-qvm`: A variant of `stabilizer-qvm` which injects depolarizing noise after "basic" operations. "Basic" operations are divided into types (identity, nontrivial...
I don't think `app-ng` is getting further developed, and at this point, it is becoming a liability because tests break, and the code needs to be kept up and maintained....
SB-SIMD was merged into SBCL as a contrib. Use that instead of the brittle DEFINE-VOP.
I keep fixing one and another pops up. e.g. `TEST-RPC-API-RUN-PROGRAM-SIMPLE-REQUEST`
when running `make test`: ``` TEST-INITIAL-RPC-CREATE-QVM Unhandled UNBOUND-VARIABLE in thread #: The variable YASON::*JSON-OUTPUT* is unbound. ```
Write a test which does a Rabi experiment and a sine-curve fit on successive RX angles. Something like: ``` data = [] angles = linspace([0, 2pi], 25) num_shots = 100...