Official 3.1.0 release of the OpenQASM specification. Including support for the switch-case statement.
Live version (and tagged release versions) visible here: https://openqasm.com/
See release notes for details.
What's Changed
- Add support for ANTLR 4.12 in
openqasm3
package by @jakelishman in #453 - Add round-trip test for annotation parse/print by @PhilReinhold in #470
- Proposed appointment of Erik Davis to the TSC. by @blakejohnson in #475
- Release v0.5.0 by @braised-babbage in #476
- feat(comments): clarify include path syntax by @sno2 in #435
- Clarify Issue #472 - Physical Qubits cannot be Aliased by @jwoehr in #473
- Added syntax derived from Stefan Teleman's #446 by @jwoehr in #450
- Add anonymous scope blocks by @braised-babbage in #487
- Add call for nominations for TSC election 2024 to landing page by @jlapeyre in #488
- Move 'Looping and branching' up one heading level by @hodgestar in #495
- Update links and references in the contributing guidelines and license. by @hodgestar in #491
- Add visitor for
CompoundStatement
and unify visitation ofStatement
lists by @Swordcat in #497 - Switch statement by @steleman in #463
- docs: typo in annotation node docstring by @ajberdy in #500
- Update Python versions and dependencies in AST GitHub Actions by @jakelishman in #503
- Fail workflow on documentation build failures by @jakelishman in #502
- Add latest information on the TSC election of December 2023 by @jlapeyre in #501
- Update README.md by @eltociear in #504
- Add implementation of
switch
to ANTLR and reference AST by @jakelishman in #492 - Change characterization of duration from positive real to real number by @jlapeyre in #485
- Physical qubits rebased by @laurencap in #505
- Fix formatting in switch section, add extra example by @braised-babbage in #499
- Consistent whitespace before duration units and imaginary literal. by @hodgestar in #496
- Add reno ci by @taalexander in #506
- Reno: only require release notes in changes to
source
directory by @braised-babbage in #511 - Update markdown documents to reflect results of TSC election of December 2023 by @jlapeyre in #509
- Remove reserved keywords by @braised-babbage in #512
- Add supported_versions to openqasm3.spec. by @hodgestar in #513
- Release process updates by @mbhealy in #514
- Keep GitHub Actions up to date with GitHub's Dependabot by @cclauss in #510
- Bump the github_actions group with 6 updates by @dependabot in #515
- Add release note for switch statement support. by @blakejohnson in #522
- Update python package README.md: name of parser extra by @garrison in #525
- Add missing type annotation to loop variable in for loop examples by @jlapeyre in #521
- Replace an occurrence of stdgates.qasm with stdgates.inc by @jlapeyre in #523
- Document content of the standard library by @jakelishman in #517
- Bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.6.0 in the github_actions group by @dependabot in #531
- Correct integer division in
pow
modifiers by @jakelishman in #529 - Add associativity to operator-precedence table by @jakelishman in #533
- Fix incorrect syntax in broadcasting example. by @dlyongemallo in #536
- Move ast and specification release notes into separate directories by @mbhealy in #519
- Add GitHub link to the live doc by @RasmitDevkota in #520
New Contributors
- @PhilReinhold made their first contribution in #470
- @hodgestar made their first contribution in #495
- @Swordcat made their first contribution in #497
- @steleman made their first contribution in #463
- @laurencap made their first contribution in #505
- @cclauss made their first contribution in #510
- @dependabot made their first contribution in #515
- @garrison made their first contribution in #525
- @dlyongemallo made their first contribution in #536
- @RasmitDevkota made their first contribution in #520
Full Changelog: 3.0.0...spec/v3.1.0