# openqasm/openqasm

Quantum assembly language for extended quantum circuits

Repository: https://github.com/openqasm/openqasm
Canonical: https://ross.abutalabs.com/products/openqasm
Homepage: https://openqasm.com
Language: Python
License: Apache-2.0
License Family: permissive
Topics: quantum-computing, quantum-information, openqasm
Last push: 2026-08-17T12:14:51+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 3470, "days_push": 16, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1503, forks 358 (observed 2026-08-28T04:04:54.599717+00:00)

## What it is
OpenQASM is an imperative intermediate representation and assembly language for describing quantum circuits, supporting universal quantum computing, measurement-based models, and near-term experiments. This repository hosts the language specification (currently version 3.1), examples, a reference grammar, and tooling for the OpenQASM IR.

## Use cases
- write quantum circuits in a standard assembly language
- parse OpenQASM 3 programs with a reference grammar
- define an intermediate representation for quantum compilers
- learn the OpenQASM 3.1 language specification
- share quantum circuits between quantum SDKs and hardware vendors
- describe pulse-level calibrations and timing for quantum hardware

## When to choose
- you need a vendor-neutral format to exchange quantum circuits between tools
- you are building a quantum compiler, simulator, or hardware backend that consumes circuit descriptions
- you want the authoritative spec, grammar, and examples for OpenQASM 3

## When to avoid
- you need a high-level quantum SDK with simulators and transpilers rather than a language spec (use Qiskit, Cirq, or PennyLane)
- you want a runnable quantum simulator out of the box
- you target only OpenQASM 2.0 workflows without needing version 3 features

## Facets
- artifact type: learning-resource
- maturity: active
- function: programming-language, parser, interpreter, compiler, sdk
- domain: quantum-computing, programming-languages, simulation
- platform: cross-platform, python
- tags: openqasm, quantum-circuits, quantum-assembly, language-specification, reference-grammar, qiskit, algorithms

## Member repositories
- openqasm/openqasm (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:54.599717+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:49.916758+00:00, confidence not recorded.
  - readme: https://github.com/openqasm/openqasm (fetched 2026-08-28T04:04:54.599717+00:00, sha 7f362b24e0fb)
  - homepage: https://openqasm.com (fetched 2026-08-29T11:37:38.556964+00:00, sha e91c33388cfb)
  - site_page: https://openqasm.com/language/standard_library.html (fetched 2026-08-29T11:37:38.566149+00:00, sha 7cba0ef8ec35)
  - site_page: https://openqasm.com/release_notes.html (fetched 2026-08-29T11:37:38.568453+00:00, sha 7adde80b3a61)
- Data as of 2026-08-30T08:39:29.467469+00:00.
