Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.2.0 #431

Merged
merged 986 commits into from
Jan 21, 2025
Merged

Release 0.2.0 #431

merged 986 commits into from
Jan 21, 2025

Conversation

elenbaasc
Copy link
Collaborator

No description provided.

elenbaasc and others added 30 commits October 18, 2024 11:06
…measurement-at-bit-variable-index-but-does-not-overwrite

Fix bug list insert does not overwrite
…d-only-contain-supported-gates

Remove unsupported gates from default gate set.
…dded-to-simplest-circuit

CQT-141-Qubit-declaration-added-to-simplest-circuit
Gate modifiers:
- Take a Callable that returns a BlochSphereRotation.
- Invoke the Callable, together with a list of arguments, to obtain a BlochSphereRotation.
- Then return either a new BlochSphereRotation with a new angle (inv and pow), or a ControlledGate.
- Notice the list of arguments *args received by __call__ contains both the qubit operands and an optional parameter.

Fix tests to use the correct syntax for parametrized gates.

default_gate_modifiers.py:
- Implement inv, pow, and ctrl gate modifiers.

ir.py:
- Allow Float instances to be constructed from another Float. The same for Int.
- Fix comment typos.
- Make Float and Int classes look alike.
- Add IR.add_statement.

instruction_library.py:
- Fix error message.

parser.py:
- Update to parse the new AST: GateInstruction's, NonGateInstruction's, gate modifiers, and parametrized gates.

test_libqasm.py:
- Add test_gate_modifiers.
poetry run pytest . -vv
poetry run ruff check --fix
poetry run pytest . -vv
poetry run ruff format
Change PowerGateModifier exponent type to SupportsFloat.
elenbaasc and others added 18 commits January 8, 2025 10:08
…r-bug-with-decomposing-Cycling-Cliffords

[CQT-294] Fix mc kay decomposer bug with decomposing cycling cliffords
* Bump ruff from 0.5.7 to 0.6.8

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.7 to 0.6.8.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.5.7...0.6.8)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix ruff

* Fix formatting error.

* Fix mypy issues.
Update poetry lock file.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Juan Boschero <juan.boschero@tno.nl>
Co-authored-by: Chris Elenbaas <chris.elenbaas@tno.nl>
Bumps [ipython](https://github.com/ipython/ipython) from 7.34.0 to 8.18.1.
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](ipython/ipython@7.34.0...8.18.1)

---
updated-dependencies:
- dependency-name: ipython
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris Elenbaas <chris.elenbaas@tno.nl>
Bumps [abatilo/actions-poetry](https://github.com/abatilo/actions-poetry) from 3 to 4.
- [Release notes](https://github.com/abatilo/actions-poetry/releases)
- [Changelog](https://github.com/abatilo/actions-poetry/blob/master/.releaserc)
- [Commits](abatilo/actions-poetry@v3...v4)

---
updated-dependencies:
- dependency-name: abatilo/actions-poetry
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Added a Routing Checker pass

* Delete openosq12 directory (virtualenv)

* Added Routing Checker pass

* Fixed errors

* Fixed errors

* Fixed errors

* Fixed errors

* Implemented feedback

---------

Co-authored-by: Oancea <rares.oancea@tno.nl>
Co-authored-by: Chris Elenbaas <chris.elenbaas@tno.nl>
…xis-0-0-0

[CQT-289] Avoid creating an Axis (0, 0, 0)
…407)

* Restore SGMQ notation for barrier links.
Add tests for barrier links.

---------

Co-authored-by: Roberto Turrado Camblor <rturrado@gmail.com>
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.49 to 9.5.50.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](squidfunk/mkdocs-material@9.5.49...9.5.50)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@elenbaasc elenbaasc closed this Jan 21, 2025
@elenbaasc elenbaasc deleted the release-0.2.0 branch January 21, 2025 13:57
@elenbaasc elenbaasc restored the release-0.2.0 branch January 21, 2025 13:58
@elenbaasc elenbaasc deleted the release-0.2.0 branch January 21, 2025 13:59
@elenbaasc elenbaasc restored the release-0.2.0 branch January 21, 2025 14:03
@elenbaasc elenbaasc deleted the release-0.2.0 branch January 21, 2025 14:03
@elenbaasc elenbaasc restored the release-0.2.0 branch January 21, 2025 14:06
@elenbaasc elenbaasc reopened this Jan 21, 2025
@elenbaasc elenbaasc merged commit 0d321ff into main Jan 21, 2025
16 checks passed
@elenbaasc elenbaasc deleted the release-0.2.0 branch January 21, 2025 14:18
@elenbaasc elenbaasc restored the release-0.2.0 branch January 21, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants