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

Decodoku #288

Merged
merged 12 commits into from
Feb 21, 2023
Merged

Decodoku #288

merged 12 commits into from
Feb 21, 2023

Conversation

quantumjim
Copy link
Member

Summary

The Decodoku class has been moved from an external repo to qiskit_qec.codes. This implements abstract versions of qubit and qutrit codes and can present them interactively using Jupyter notebooks. The required tools using Jupyter widgets have been moved to qiskit_qec.utils.visualizations.

Details and comments

ipython and ipywidgets have been added to the requirements.

@quantumjim quantumjim requested a review from a user November 22, 2022 15:43
@quantumjim
Copy link
Member Author

I moved everything to utils. This is the version I'll use for the live stream on Monday (whether it eventually gets merged or not).

@dsvandet dsvandet requested review from dsvandet and removed request for a user February 21, 2023 18:05
@dsvandet dsvandet merged commit 256d01e into main Feb 21, 2023
dsvandet added a commit that referenced this pull request Feb 21, 2023
* improve process_string for 202s

* overhaul process_string

* add tests for single error 202s

* deprecate option not to have resets

* update doc string

* re-enable resets=False option, but only when 202s are not used

* improve tests

* Combine ARC 306 and 295 (#315)

* fix issue with buffer

* fix another buffer bug

* fix metabuffer bug

* linting

* classic Python, confusing 0 and False

* add option for conditional resets

* tests for conditional resets

* fix issue with set reordering

* slight offset to round buffer

* typo in doc string

* use correct T in test

* correct string processing for rounds_per_link>5"

* refine skip backs for just_finished

* link and black

* correct node flagged as conjugate

* add extra method for probability analysis

* remove glitchy behaviour for isotropic ARCs

* allow logical 1 states

* allow number of rounds per 202 to be varied

* handle kwargs for string2nodes

* added whitespace to induce new tests

* base case for rep code

* test T=3

* improve weight calculation

* define undefined variable

* more tests for logical 1

* more tests for logical 1

* move get_error_coords to code

* test get_error_coords for ARCs

* make error coords not fail for 202s

* improve weight update

* improve coord calculations

* Decodoku (#288)

* add decodoku

* lint, black and extra files

* improve variable names

* fix variable name issues"
"

* change import path

* add visualization test

* fix assertations

* add test for decodoku

* move to utils

* black

---------

Co-authored-by: Drew Vandeth <dsvandet@us.ibm.com>

---------

Co-authored-by: decodoku <jwo@zurich.ibm.com>
Co-authored-by: James Wootton <decodoku@gmail.com>
grace-harper pushed a commit that referenced this pull request Oct 2, 2023
* add decodoku

* lint, black and extra files

* improve variable names

* fix variable name issues"
"

* change import path

* add visualization test

* fix assertations

* add test for decodoku

* move to utils

* black

---------

Co-authored-by: Drew Vandeth <dsvandet@us.ibm.com>
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.

2 participants