Quantum Virtual Machine using libquantum simulator as backend.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bench_results
qft
qft_new
scripts
sexp
Makefile
README
bitmask.h
cnot.mc
deutch-jozsa.mc
dj2.mc
ghz-3.mc
ghz-7.mc
identity.mc
j.mc
membench.sh
onot.mc
plot
qvm.c
qvm.h
rot.mc
rx.mc
ry.mc
rz.mc
w3.mc

README

A small Measurement Calculus interpreter using libquantum as quantum simulator backend.

Requires libquantum to be installed systemwide. Modify the Makefile to point to a different location than /usr/local/lib & /usr/local/include


'qvm' asks for a single s-expression on the standard input. The QVM uses the Measurement Calculus (by Danos et al.) as an instruction set.
example:
  echo '((E 1 2) (M 1 0) (X 2 (q 1)))' | ./qvm