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

update docs for 1.36 release #1703

Closed
wants to merge 54 commits into from
Closed

update docs for 1.36 release #1703

wants to merge 54 commits into from

Conversation

CalMacCQ
Copy link
Contributor

Description

Please summarise the changes.

Related issues

Please mention any github issues addressed by this PR.

Checklist

  • I have performed a self-review of my code.
  • I have commented hard-to-understand parts of my code.
  • I have made corresponding changes to the public API documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have updated the changelog with any user-facing changes.

dependabot bot and others added 30 commits October 7, 2024 09:31
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 29 to 30.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](cachix/install-nix-action@v29...v30)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* remove quantinuum-sphinx

* add pytket-docs-theming submodule

* delete _static and conf.py

* ignore jupyter cache

* use myst-nb for code cells

* use latest theming commit

* ignore any generated .ipynb files

* add myst_nb dependency

* remove jupyter sphinx and autodoc annotations dependencies

* add build docs script

* fix formatting of display.md

* update docs build in build and test workflow

* remove pypi pytket installation

* Hardcode pytket version in flake.nix, as there is no longer a place in the source code that it's written down.

* ignore jupyter execute

* use latest pytket-docs-theming submodule

* update extensions links

* update sidebar heading for extensions

* update pypi page links

* update README links

* replace remaining docs links

* use latest theming commit

* use package-mode=false for poetry

* install a develop wheel of pytket

* try to fix poetry issue

* use poetry without .venv in C.I.

* run docs build from correct directory

* use latest docs theming update

* fix up some extensions links

* fix some broken links found by checker

* link to H-Series docs

* fix two more links

* fix typo

* latest theming (again)

* fix artifact path

* use extensions.html

* use original README link

* remove backends sentance

* use >= for poetry

---------

Co-authored-by: Jake Arkinstall <[email protected]>
* add default min width/height to circuit renderer config

* update docs

* changelog
* Updated nixpkgs. Added custom mypy build (required version isn't in nixpkgs)

* Used overrideAttrs on nixpkgs' mypy rather than a new derivation as per @johnchildren's suggestion
* Initial refactor

* Refactor node types

* Move nodes definition into a new file

* Refactor synthesis

* Cleanup

* More refactoring

* Refactor pauli graph converters

* Initial implementation of GPGraph

* Migrate to GPGraph

* Ignore global phase

* Add supports for conditional gates

* Add support for classical ops

* flatten_registers should only rename qubits and bits

* Replace unsigned with Bit

* Revert "Replace unsigned with Bit"

This reverts commit 9e9a2fd.

* Manually check if qubits and bits can be flattened since ``is_simple()`` doesn't work with wasm

* Consistent enum names

* Add support for mid-circuit measurement

* Rename variables

* Add support for resets

* Update docstrings

* Update pass predicate

* Add more tests

* bump tket version

* Add changelog entry

* Fix docs errors

* bump tket version

* Remove unused headers

* bump tket version in pytket

* uncomment lines

* remove consts in SQ_CLIFF_DAGGER

* Merging conditionals

* Revert "Merging conditionals"

This reverts commit f5138f1.

* Optimise conditional handling

* remove ConditionalPauliRotation

* Remove clifford reduction and pass parameters when synthesis conditionals

* Seeded tie breaking

* Add limits to the search space

* Allowing ZZPhase gates

* update binder and serialisation

* Add test for ops handling in python

* add note for AC node cost

* bump tket version

* update changelog

* fix changelog format

* add missing prams in docstrings

* cast size_t to unsigned

* remove nondeterminism from test

* Remove more nondeterminism

* regen stubs

* Add debug info

* Revert "Add debug info"

This reverts commit e5030e2.

* Replace implicit wire swaps in optimised conditional circuits

* re-organise changelog

* Bump tket version

* fix bug in sign correction

* Add more tests
* Add failing test

* Preserve opgroups when sub symbols

* bump tket version

* Add entry to changelog

* bump tket version

* Drop support for MacOS 12 (#1634)

* Updated nixpkgs. Added custom mypy build. (#1636)

* Updated nixpkgs. Added custom mypy build (required version isn't in nixpkgs)

* Used overrideAttrs on nixpkgs' mypy rather than a new derivation as per @johnchildren's suggestion

* Refactor greedy pauli simp (#1611)

* Initial refactor

* Refactor node types

* Move nodes definition into a new file

* Refactor synthesis

* Cleanup

* More refactoring

* Refactor pauli graph converters

* Initial implementation of GPGraph

* Migrate to GPGraph

* Ignore global phase

* Add supports for conditional gates

* Add support for classical ops

* flatten_registers should only rename qubits and bits

* Replace unsigned with Bit

* Revert "Replace unsigned with Bit"

This reverts commit 9e9a2fd.

* Manually check if qubits and bits can be flattened since ``is_simple()`` doesn't work with wasm

* Consistent enum names

* Add support for mid-circuit measurement

* Rename variables

* Add support for resets

* Update docstrings

* Update pass predicate

* Add more tests

* bump tket version

* Add changelog entry

* Fix docs errors

* bump tket version

* Remove unused headers

* bump tket version in pytket

* uncomment lines

* remove consts in SQ_CLIFF_DAGGER

* Merging conditionals

* Revert "Merging conditionals"

This reverts commit f5138f1.

* Optimise conditional handling

* remove ConditionalPauliRotation

* Remove clifford reduction and pass parameters when synthesis conditionals

* Seeded tie breaking

* Add limits to the search space

* Allowing ZZPhase gates

* update binder and serialisation

* Add test for ops handling in python

* add note for AC node cost

* bump tket version

* update changelog

* fix changelog format

* add missing prams in docstrings

* cast size_t to unsigned

* remove nondeterminism from test

* Remove more nondeterminism

* regen stubs

* Add debug info

* Revert "Add debug info"

This reverts commit e5030e2.

* Replace implicit wire swaps in optimised conditional circuits

* re-organise changelog

* Bump tket version

* fix bug in sign correction

* Add more tests

* Bump version and update changelog for 1.34.0 release (#1637)

* Update README.md (#1625)

* nump tket version

* update changelog

* bump tket version

* Update changelog

---------

Co-authored-by: Alec Edgington <[email protected]>
Co-authored-by: Jake Arkinstall <[email protected]>
Co-authored-by: Callum Macpherson <[email protected]>
* Update CircPool.cpp

* bump

* Update predicates_test.py

* Update changelog.rst
* Apply RangePredicate condition checks in qasm conversion to all headers. Fixes Incorrect qasm conversion of `RangePredicateOp` #1642

* Refactor RangePredicate support check

* Handle conditional RangePredicates in qasm conversion. Resolved Incorrect QASM from conditional `RangePredicate` #1508

* Update changelog

* Remove unused import

* Fix typing error
* add pytket-quest link to sidebar

* add AerDensityMatrixBackend

* add quest to list of SV simulators

* fix bad link syntax
* fix maxwidth

* reduce testcase

* clean up

* Add  to  to changelog
* reject incomplete registers in pytket to qasm conv

* fix spelling

* Update pytket/pytket/qasm/qasm.py

Co-authored-by: Alec Edgington <[email protected]>

* suggestion

---------

Co-authored-by: Alec Edgington <[email protected]>
* replace nlohmann json with custom deserialise

* bump

* add extra handling for serialisation and `SequencePass`

* add serialise/deserialise methods

* add dict argument

* Update test_json.cpp

* Update test_json.cpp

* Update passes.pyi

* add optional argument

* add test

* Update passes.cpp

* Update passes_serialisation_test.py

* fix sequence pass serialisation and stub generation

* bump

* bump

* Update tket/src/Predicates/CompilerPass.cpp

Co-authored-by: Alec Edgington <[email protected]>

* update changelog and docstring

* Update CompilerPass.cpp

* remove outdated code, update stubs

* Update PassGenerators.cpp

---------

Co-authored-by: Alec Edgington <[email protected]>
* add conditional parameter to gate counting

* regen stubs

* fix format

* requested changes

* fix docstring

* regen stubs
sjdilkes and others added 24 commits November 11, 2024 09:22
* add timeout

* add timeout to serialisation

* Update changelog.rst

* bump library

* Update transform.cpp

* Update test_GreedyPauli.cpp

* update stubs

* fix serialisation

* Update test_GreedyPauli.cpp

* optionally relabel classical expressions when renaming units

* Update predicates_test.py

* update flattenrelabelregisters

* reformat, add false to rename_units again

* bump library

* Update passes_serialisation_test.py

* bump library version

* Update test_GreedyPauli.cpp

* Update test_GreedyPauli.cpp

* Update test_GreedyPauli.cpp
* add timeout

* add timeout to serialisation

* Update changelog.rst

* bump library

* Update transform.cpp

* Update test_GreedyPauli.cpp

* update stubs

* fix serialisation

* Update test_GreedyPauli.cpp

* optionally relabel classical expressions when renaming units

* Update predicates_test.py

* update flattenrelabelregisters

* reformat, add false to rename_units again

* bump library

* Update passes_serialisation_test.py

* bump library version

* Update test_GreedyPauli.cpp

* Update test_GreedyPauli.cpp

* Update test_GreedyPauli.cpp

* add logic to allow only returning the transformed circuit if it has fewer two qubit gates

* add only_reduce argument

* bump library

* Update PassGenerators.cpp

* Update PassGenerators.cpp

* update json

* Update test_GreedyPauli.cpp

* Update test_GreedyPauli.cpp

* Update test_GreedyPauli.cpp

* Update test_GreedyPauli.cpp

* Update test_GreedyPauli.cpp

* Update test_GreedyPauli.cpp

* Update test_GreedyPauli.cpp

* Update test_GreedyPauli.cpp

* Update test_GreedyPauli.cpp

* Update PassGenerators.cpp

* condense code

* Update passes.pyi

* Update PassGenerators.cpp

* Update predicates_test.py

* Update changelog.rst
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.27.0 to 2.0.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](slackapi/slack-github-action@v1.27.0...v2.0.0)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…te` (#1685)

* Update PassGenerators.cpp

* bump

* Update changelog.rst

* remove Collapse references from docs

* Update passes.pyi
* add threads and trials to method

* push with couts to question bug

* bump  & reformat

* Update GreedyPauliOptimisation.cpp

* add stop flag

* Update GreedyPauliOptimisation.cpp

* copy circuits

* remove threads argument

* bump and regen stubs

* Update PassGenerators.hpp

* Update test_GreedyPauli.cpp

* Update test_GreedyPauli.cpp

* add test for timeout

* bump

* addres comments

* Update predicates_test.py

* fix stirng

* bump

* update stubs
* Make sure we remove all references when we remove vertices

* Bump tket version

* Remove looping tests
Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.4.1 to 6.4.2.
- [Changelog](https://github.com/tornadoweb/tornado/blob/v6.4.2/docs/releases.rst)
- [Commits](tornadoweb/tornado@v6.4.1...v6.4.2)

---
updated-dependencies:
- dependency-name: tornado
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1689)

* Add new methods for getting predicates from python passes

* bump

* Update predicates_test.py

* Update pytket/binders/passes.cpp

Co-authored-by: Alec Edgington <[email protected]>

* Update pytket/binders/passes.cpp

Co-authored-by: Alec Edgington <[email protected]>

* add get gate_set, check tests

* Update predicates_test.py

* Update predicates_test.py

* Update predicates_test.py

* bump, fix ruff issue

* regen stubs

* Update predicates_test.py

* Update predicates_test.py

* Update predicates_test.py

* addresss comments

* Update predicates_test.py

---------

Co-authored-by: Alec Edgington <[email protected]>
* fix wasm issues

* update changelog

* update tket version

* fix ci

* remove decompose_classical

* add testcase for appending two filled circuits

* add check for appending two wasm files with differen uid

* add test for different wasm uid

* add handling of circuit box

* fix ruff

* make wasm uid option in python

* make git_wasm_file_uid optional in c++

* Update tket/src/Circuit/macro_manipulation.cpp

Co-authored-by: Alec Edgington <[email protected]>

* Update pytket/binders/circuit/Circuit/main.cpp

Co-authored-by: Alec Edgington <[email protected]>

* Update pytket/binders/circuit/Circuit/main.cpp

Co-authored-by: Alec Edgington <[email protected]>

* fix changelog

* fix suggestion

* fix suggestion II

* fix suggestion III

---------

Co-authored-by: Alec Edgington <[email protected]>
…1689)

* Add new methods for getting predicates from python passes

* bump

* Update predicates_test.py

* Update pytket/binders/passes.cpp

Co-authored-by: Alec Edgington <[email protected]>

* Update pytket/binders/passes.cpp

Co-authored-by: Alec Edgington <[email protected]>

* add get gate_set, check tests

* Update predicates_test.py

* Update predicates_test.py

* Update predicates_test.py

* bump, fix ruff issue

* regen stubs

* Update predicates_test.py

* Update predicates_test.py

* Update predicates_test.py

* addresss comments

* Update predicates_test.py

---------

Co-authored-by: Alec Edgington <[email protected]>
@CalMacCQ CalMacCQ changed the base branch from main to docmain November 29, 2024 14:39
@CalMacCQ CalMacCQ closed this Nov 29, 2024
@CalMacCQ CalMacCQ deleted the cm/1.36 branch December 12, 2024 11:00
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.

10 participants