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

tket2-hseries: add extension op for get_current_shot #767

Closed
ss2165 opened this issue Feb 6, 2025 · 0 comments · Fixed by #772, #727 or #776
Closed

tket2-hseries: add extension op for get_current_shot #767

ss2165 opened this issue Feb 6, 2025 · 0 comments · Fixed by #772, #727 or #776
Assignees

Comments

@ss2165
Copy link
Member

ss2165 commented Feb 6, 2025

Could be added to qsystem for simplicity but may be more future proof to add to a new utils extension (that may grow).

type:

fn get_current_shot() -> usize;
@ss2165 ss2165 changed the title tket2-hseries: add extension op for `get_current_shot tket2-hseries: add extension op for get_current_shot Feb 6, 2025
@qartik qartik self-assigned this Feb 6, 2025
@qartik qartik linked a pull request Feb 12, 2025 that will close this issue
github-merge-queue bot pushed a commit that referenced this issue Feb 21, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.4.0](tket2-exts-v0.3.0...tket2-exts-v0.4.0)
(2025-02-20)


### ⚠ BREAKING CHANGES

* **tket2-hseries:** The signature of `QSystemOp::LazyMeasure` is
changed to consume its qubit.
* Updated `hugr` rust dependency to `0.14.0` Extension are now defined
in `hugr 0.14` style. Replaced the `ROTATION_TYPE` with a method call,
and dropped the per-extension registry definitions.
* all references to "hseries" including extension, modules and structs
renamed to "qsystem"
* hseries qalloc op replaced with fallible TryQalloc

### Features

* add "tket2.qsystem.random" extension
([#779](#779))
([f4901ee](f4901ee))
* add a `tket2.qsystem.utils` extension with `GetCurrentShot`
([#772](#772))
([175a02d](175a02d)),
closes [#767](#767)
* move extensions to auxillary package
([#682](#682))
([dd78f9a](dd78f9a))
* **tket2-hseries:** Add `tket2.wasm` extension
([#737](#737))
([34bdc21](34bdc21))
* **tket2-hseries:** Redefine `QSystemOp::LazyMeasure` and introduce
`QSystemOp::LazyMeasureReset`
([#741](#741))
([1f126c0](1f126c0))
* update measurement and alloc operations
([#702](#702))
([a7a0201](a7a0201))


### Bug Fixes

* remove unicode pi symbols in rotation extension
([#743](#743))
([b3ed351](b3ed351))


### Documentation

* docstring capitalisation
([#686](#686))
([e18f921](e18f921))


### Miscellaneous Chores

* Update to next version of hugr
([#720](#720))
([4a3a5a5](4a3a5a5))


### Code Refactoring

* rename hseries to qsystem
([#703](#703))
([1e90173](1e90173))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Seyon Sivarajah <[email protected]>
github-merge-queue bot pushed a commit that referenced this issue Feb 21, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.6.1](tket2-py-v0.6.0...tket2-py-v0.6.1)
(2025-02-21)


### Features

* add a `tket2.qsystem.utils` extension with `GetCurrentShot`
([#772](#772))
([175a02d](175a02d)),
closes [#767](#767)


### Bug Fixes

* include RNG extension in tket2-py, bump tket2-exts constraint
([#781](#781))
([9eb8897](9eb8897))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants