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

Bosonic kitten code notebook tutorial #106

Merged
merged 14 commits into from
Jan 4, 2024
Merged

Conversation

liu-zixiong
Copy link
Collaborator

Happy new year's eve everyone! I have copied most of the text from the Qiskit IBM article to the notebook. Here are the changes from the article version to the notebook version:

  1. The "What is error correction" section in article is not copied to notebook.
  2. Renamed "Error correction with the binomial ‘kitten’ code” to “introduction”
  3. “Implementation of Photon number parity operator” section has a derivation for the parity circuit
  4. Added paragraph before “implementing the full error correction circuit in Bosonic Qiskit” explaining that functions like animate_wigner() do not work well with cv_gate_from_matrix() unless the custom gate is properly decomposed.
  5. "Implementing the full error correction circuit in Bosonic Qiskit" now has two subsections (simulation 1, simulation 2).
  6. Simulation 1 subsection now involves analyses for all four X and Z logical states (as opposed to the article's |1_L> only for state fidelity, and |0_L> and |1_L> only for photon probability).
  7. Simulation 2 subsection is completely new, contains analyses for effect of applying both U_even and U_odd operators. Also contains a "pauli expectation value" subsubsection.

The one weakness I see in the analyses sections is that I currently don't have a good explanation for why the Pauli Expectation Value for the uncorrected logical states don't decay in an exponential manner. I'll also need to rework the linking for attached figures once the tutorial is merged with main.

Hopefully there isn't much to change from what I've prepared in this pull request. Thank you all for your patience with this project!

@kevincsmith kevincsmith merged commit 5920390 into main Jan 4, 2024
37 of 38 checks passed
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