用于扩展量子电路的量子组装语言
OpenQASM is an imperative programming language for describing quantum circuits. It is capable of describing universal quantum computing using the circuit model, measurement-based model, and near-term quantum computing experiments.
This repo contains the OpenQASM specification, examples, and tools for the OpenQASM intermediate representation.
OpenQASM started as a Qiskit project
We are searching for candidates for the role of TSC Secretary. The TSC will select a new Secretary during a TSC meeting in November, 2025. Candidates should familiarize themselves with the responsibilties of the role. If you are interested in presenting yourself as a candidate, please contact Jack Woehr, the current Secretary, at [email protected] before November, 2025.
Live language specification version 3.1
The branch of this repository for the previous version: OpenQASM 2.0
In this repository, you'll find all the documentation related to OpenQASM, some useful OpenQASM examples, and a reference grammar.
The live language documentation specification.
See this list of software that implements or supports OpenQASM 3.
An example of OpenQASM 3.0 source code is given below. Several more examples may be found in the examples folder.
…
For research papers, we encourage authors to reference.
The OpenQASM project has a process for accepting changes to the language and making decisions codified in its governance model.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
If you'd like to help please take a look to our contribution guidelines. This project adheres to a Code of Conduct. By participating, you are expected to uphold this code.
See the section on Release Notes contribution guidelines.
Pauli-based computation in OpenQASM
cu definition inconsitency between stdgates.inc and spec
[Examples]: inverseqft1.qasm reads undefined bits from a partially initialized register
Add issues and GitHub link to the live doc
Paper: Update examples
[proposal]: Define include-file resolution and idempotent inclusion
[pypi release bug]: pypi version does not include the latest change