Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

- #12, #13: Remove incorrect parsing of `crz` gates (@clebrin)

- #3, #16: Support for measurements

## [0.1.1] - 2026-02-05

- #7: Parsing of `CZ` gate

- #8, #9: Compatibility with the new angle convention in Graphix (https://github.com/TeamGraphix/graphix/pull/399)


## [0.1.0] - 2025-11-24
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ circuit = parser.parse_file("my_circuit.qasm")

- Qubit register arrays: `qubit[n] q`, or the old syntax `qreg q[n]`.

### [Classical bits](https://openqasm.com/language/types.html#classical-bits-and-registers)

- Single-bit registers: `bit b`, or the old syntax `creg b`.

- Bit register arrays: `bit[n] b`, or the old syntax `creg q[n]`.

### Supported Gates

| OpenQASM gate | Graphix instruction |
Expand All @@ -73,4 +79,9 @@ The constant `pi` (or `π`) is defined.
[Compile-time constants](https://openqasm.com/language/types.html#compile-time-constants)
can be defined and used in expressions.

### [Measurements](https://openqasm.com/language/insts.html#measurement)

Measurements of the form `bit = measure qubit;`, or the old syntax
`measure qubit -> bit`, are supported.

Both arguments must be registers of the same size, or both must be bit/qubit types.
Loading
Loading