xquad
A rust implementation of the Quip Network's quantum virtual machine.
File Explorer
Download Latest Version (.zip)- config.toml
- commit-msg
- pre-commit
- conformance.yml
- docs.yml
- hardware.yml
- lint.yml
- python.yml
- release.yml
- test.yml
- default.md
- default.md
- release.md
- CODEOWNERS
- conformance.rs
- lib.rs
- python.rs
- rust.rs
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- expected.json
- inputs.json
- program.xqasm
- build.rs
- Cargo.toml
- opcodes.yaml
- README.md
- runtime-limits.md
- calldata-outputs.md
- execution-model.md
- loop-stack.md
- README.md
- registers.md
- stack.md
- examples.md
- README.md
- syntax.md
- asm.md
- dism.md
- README.md
- run.md
- README.md
- tsp.md
- allocators.md
- arithmetic.md
- bitwise.md
- coefficient-access.md
- comparison.md
- constraints.md
- control-flow.md
- energy.md
- grid.md
- index-math.md
- logical.md
- README.md
- register-io.md
- stack-manipulation.md
- vector-ops.md
- builder-api.md
- bytecode-format.md
- getting-started.md
- introduction.md
- pallet-integration.md
- SUMMARY.md
- 2026-03-24-xqvm-spec-migration.md
- 2026-03-27-tracing-vm.md
- 2026-07-13-qui-167-scale-sweep.md
- 2026-07-13-qui-687-gpu-validation.md
- 2026-07-13-qui-704-spin-packing-eval.md
- 2026-07-16-qui-852-gpu-sa-occupancy.md
- 2026-07-16-qui-854-cuda-num-sweeps-per-beta.md
- 2026-07-17-qui-705-cuda-on-device-rng.md
- 2026-03-24-xqvm-spec-migration-design.md
- 2026-03-27-tracing-vm-design.md
- 2026-05-22-dwave-qpu-backend-design.md
- 2026-07-13-qui-167-findings.md
- 2026-07-13-qui-167-scale-sweep-design.md
- 2026-07-13-qui-687-gpu-validation-design.md
- 2026-07-13-qui-704-findings.md
- 2026-07-13-qui-704-spin-packing-eval-design.md
- 2026-07-16-qui-852-findings.md
- 2026-07-17-qui-705-findings.md
- bytecode-semantics.md
- python-api-walkthrough.md
- solverquip-testing.md
- xquad-development-workflow.md
- README.md
- runner.py
- README.md
- runner.py
- README.md
- runner.py
- README.md
- runner.py
- README.md
- runner.py
- README.md
- runner.py
- README.md
- runner.py
- README.md
- runner.py
- README.md
- runner.py
- README.md
- runner.py
- README.md
- runner.py
- README.md
- runner.py
- README.md
- runner.py
- README.md
- runner.py
- lib.rs
- mock.rs
- tests.rs
- Cargo.lock
- Cargo.toml
- lib.rs
- Cargo.toml
- __init__.py
- test_scale_sweep.py
- bench_occupancy.py
- bench_spin_packing.py
- cargo-tools.lock
- check-atomic-spec-mr.sh
- check-opcode-parity.py
- example-smoke.py
- gen-bytecode-docs.py
- install-cargo-tools.sh
- python-dists.sh
- scale_sweep.py
- validate-crate-publish.sh
- validate_rng_parity.py
- COMPILER.md
- CONSTRAINTS.md
- README.md
- SPEC.md
- TYPES.md
- DOMAINS.md
- ENERGY.md
- INTERFACE.md
- README.md
- SOLVERS.md
- SPEC.md
- ENCODING.md
- HLF.md
- ISA.md
- README.md
- SPEC.md
- VERIFIER.md
- README.md
- assembler.rs
- ast.rs
- error.rs
- grammar.pest
- lib.rs
- parser.rs
- integration.rs
- Cargo.toml
- asm.rs
- dism.rs
- main.rs
- run.rs
- verify.rs
- cli.rs
- Cargo.toml
- decoder.xqasm
- encoder.xqasm
- verifier.xqasm
- decoder.xqasm
- encoder.xqasm
- verifier.xqasm
- __init__.py
- test_xqcp.py
- __init__.py
- compiler.py
- expression.py
- problem.py
- pyproject.toml
- README.md
- symbols.py
- asm.rs
- lib.rs
- verifier.rs
- vm.rs
- Cargo.toml
- pyproject.toml
- README.md
- __init__.py
- test_gpu_validation.py
- test_qpu_live.py
- test_quip.py
- test_quip_live.py
- test_quip_signing.py
- test_registry.py
- test_xqsa.py
- __init__.py
- cuda_gpu.py
- dwave_cpu.py
- dwave_qpu.py
- metal_gpu.py
- pyproject.toml
- quip.py
- quip_codec.py
- quip_signing.py
- README.md
- registry.py
- solver.py
- test_program.py
- test_step_parity.py
- test_umbrella.py
- __init__.py
- asm.py
- cp.py
- program.py
- pyproject.toml
- README.md
- sa.py
- types.py
- verifier.py
- vm.py
- decoder.xqasm
- encoder.xqasm
- main.rs
- verifier.xqasm
- instruction.rs
- mod.rs
- opcode.rs
- operand.rs
- parity.rs
- register_effect.rs
- table.rs
- builder.rs
- codec.rs
- error.rs
- jump_table.rs
- mod.rs
- program.rs
- stream.rs
- analysis.rs
- bytecode.rs
- cfg.rs
- direction.rs
- lattice.rs
- mod.rs
- register.rs
- solver.rs
- tests.rs
- uninit.rs
- json.rs
- mod.rs
- text.rs
- error.rs
- jump_target.rs
- loop_nesting.rs
- mod.rs
- phase.rs
- reg_type.rs
- register_type.rs
- scan.rs
- stack_depth.rs
- structural.rs
- tests.rs
- uninit_register.rs
- disasm.rs
- error.rs
- lib.rs
- model.rs
- value.rs
- vm.rs
- integration.rs
- trace_json.rs
- trace_text.rs
- build.rs
- Cargo.toml
- opcodes.yaml
- __init__.py
- run.py
- __init__.py
- conftest.py
- test_executor.py
- test_opcodes.py
- test_opcodes_yaml.py
- test_program.py
- test_state.py
- test_tracer.py
- test_vector.py
- test_xqmx.py
- __init__.py
- __main__.py
- errors.py
- executor.py
- opcodes.py
- program.py
- pyproject.toml
- README.md
- state.py
- tracer.py
- vector.py
- xqmx.py
- .gitignore
- .gitlab-ci.yml
- .taplo.toml
- AGENTS.md
- book.toml
- Cargo.lock
- Cargo.toml
- cliff.toml
- clippy.toml
- CONTRIBUTING.md
- deny.toml
- LICENSE
- Makefile
- NOTICE
- pyproject.toml
- README.md
- RELEASING.md
- uv.lock
# Installation Guide
git clone https://github.com/QuipNetwork/xquad
Downloads the entire project code from GitHub to your computer.
cd xquad
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Rust (rustup) Rust is required to use cargo.
- Python 3 Python is required to use pip.
cargo install xqcli # gives you the `xquad` binary
Builds and installs the package published on crates.io β no need to clone the repo yourself.
pip install xquad # umbrella β full pipeline
Installs the package published on PyPI directly β no need to clone the source.
pip install xqffi xqcp xqsa # FFI bindings + DSL + solvers
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
3. Python
Easypip install xquad # umbrella β full pipeline
Installs the package published on PyPI directly β no need to clone the source.
pip install xqffi xqcp xqsa # FFI bindings + DSL + solvers
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
4. Rust
Medium- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo install xqcli # gives you the `xquad` binary
Builds and installs the package published on crates.io β no need to clone the repo yourself.
Pulled directly from this repo's README.
5. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make example-smoke
Compiles the code based on the generated build configuration to produce an executable.
make deps # dev tools
Compiles the code based on the generated build configuration to produce an executable.
make xquad
Compiles the code based on the generated build configuration to produce an executable.
make repl
Compiles the code based on the generated build configuration to produce an executable.
make all # fmt + lint + test (what CI runs)
Compiles the code based on the generated build configuration to produce an executable.
Pulled directly from this repo's README.
