Skip to content

Commit

Permalink
Merge pull request #49 from QuTech-Delft/48-doc-update-readme
Browse files Browse the repository at this point in the history
[CQT-136] Update README
  • Loading branch information
elenbaasc authored Aug 21, 2024
2 parents 2af4507 + 76c4861 commit 3dd400e
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 6 deletions.
File renamed without changes.
45 changes: 40 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,48 @@
# cQASM language specification

This repository contains the specification documents of the cQASM quantum programming language.
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

_The specification hosted through GitHub Pages under the following link:_
This repository contains the language specification of the cQASM quantum programming language
(*c*ommon *Q*uantum *AS*se*M*bly language).

### [<img src="./docs/_static/book.svg"> cQASM language specification](https://qutech-delft.github.io/cQASM-spec/)
The [cQASM language specification](https://qutech-delft.github.io/cQASM-spec/) is hosted through GitHub Pages.

Documentation on development and deployment can be found in the [Wiki](https://github.com/QuTech-Delft/cQASM-spec/wiki).
## How to generate the cQASM language specification locally

Clone the repository to your local machine:

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

We recommend to create a virtual environment (_e.g._, [venv](https://docs.python.org/3/library/venv.html)),
run it, and install the requirements:

```shell
pip install -r requirements.txt
```

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

```shell
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:

```shell
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](https://github.com/QuTech-Delft/cQASM-spec/blob/master/LICENSE.md) for the full license text.

## Authors

Quantum Inspire: [support@quantum-inspire.com](mailto:"support@quantum-inspire.com")
Quantum Inspire: [support@quantum-inspire.com](mailto:"support@quantum-inspire.com")
File renamed without changes.
2 changes: 1 addition & 1 deletion mkdocs-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ nav:
- Predefined constants: ./language_specification/expressions/predefined_constants.md
- Built-in functions: ./language_specification/expressions/builtin_functions.md
- Appendices:
- Spin-2: appendices/spin.md
- Spin-2: appendices/spin_2.md

theme:
name: material
Expand Down

0 comments on commit 3dd400e

Please sign in to comment.