Skip to content

QuTech-Delft/cQASM-spec

Repository files navigation

cQASM language specification

License

This repository contains the language specification of the cQASM quantum programming language (common Quantum ASseMbly language).

The cQASM language specification is hosted through GitHub Pages.

How to generate the cQASM language specification locally

Clone the repository to your local machine:

git clone https://github.com/QuTech-Delft/cQASM-spec.git

We recommend to create a virtual environment (e.g., venv), run it, and install the requirements:

pip install -r requirements.txt

Once the required dependencies are installed, the language specification can be served locally at http://localhost:8000 by running:

mkdocs serve

The language specification can also be viewed via a provisioned Docker container. No virtual environment is required in this case. Run the Docker container with the following command:

docker compose up -d

The language specification can now be viewed at http://localhost:8106.

License

The cQASM language specification is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Authors

Quantum Inspire: [email protected]