Playground
Run AutoQ in your browser. This is the command-line tool itself, compiled to WebAssembly: it reads the same .hsl and OpenQASM files and prints the same output. Everything runs on your machine; nothing is uploaded.
Output
Notes
verchecks the circuit against the postcondition and prints[OK]or[failed].exprints the set of states after the circuit.eqcompares the circuits ina.qasmandb.qasmand prints[equal]if they implement the same unitary up to a global phase; it reads the qubit count from an OpenQASM 2.0qregdeclaration.eqhas its own files and examples;verandexshare theirs, and edits are kept when you switch.- A
whileloop names its invariant file in a trailing comment, as in the While loop example. Every file in the tabs is available to the run under its tab name. - The first run downloads the WebAssembly module (it includes the Z3 solver). Later runs reuse it.
- Runs use a single thread and the memory your browser allows a page, so the larger benchmarks from the papers may be slow or run out of memory here. Use the native build for those.
- One difference from the native build: WebAssembly has no floating-point traps, so an arithmetic error that stops the native tool with
SIGFPEcontinues here. - The file formats are described in the .hsl and OpenQASM documentation.