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

Measurement pattern for error-corrected MBQC #48

Closed
shinich1 opened this issue Apr 28, 2023 · 3 comments
Closed

Measurement pattern for error-corrected MBQC #48

shinich1 opened this issue Apr 28, 2023 · 3 comments
Labels
examples example code

Comments

@shinich1
Copy link
Contributor

shinich1 commented Apr 28, 2023

Implement the fault-tolerant MBQC as a function or class that generates a graphix.Pattern object. Please implement it in a new file graphix/topological.py.

  • Consider how the syndrome checks can be implemented as a linear sequence of MBQC commands and implement a generator so that users can obtain a measurement pattern by basic parameters such as code distance and the number of syndrome measurement rounds to perform.
  • Decoding and correction will perhaps need to be a separate command to be in the MBQC pattern sequence, for which you may need to modify the Pattern and Simulator classes to accommodate these new commands. Feel free to import external modules to delegate the decoding task.

Please visualize the graph state using Pattern.get_graph() and networkx and see that the graph state indeed forms the RHG lattice.

Optionally, please implement some basic logical qubit operations such as single-qubit Clifford operations.

Please see our contribution guide before starting, and do not forget to comment on this issue to show your interest. We are always happy to answer questions, so do not hesitate to ask on this page.

Thank you for your interest, and good luck!

@shinich1 shinich1 added new feature New feature or request good first issue Good for newcomers labels Apr 28, 2023
@shinich1 shinich1 changed the title Measurement pattern expression of fault-tolerant MBQC Measurement pattern of fault-tolerant MBQC Apr 28, 2023
@shinich1 shinich1 changed the title Measurement pattern of fault-tolerant MBQC Measurement pattern of error-corrected MBQC Apr 28, 2023
@shinich1 shinich1 changed the title Measurement pattern of error-corrected MBQC Measurement pattern for error-corrected MBQC Apr 29, 2023
@shinich1 shinich1 added unitaryhack issue for unitaryhack 2024 hackathon and removed unitaryhack issue for unitaryhack 2024 hackathon labels Apr 30, 2023
@shinich1 shinich1 added the unitaryhack issue for unitaryhack 2024 hackathon label May 25, 2023
@shinich1
Copy link
Contributor Author

shinich1 commented May 28, 2023

@AbdullahKazi500 as discussed on the other issue page, we need to wait until there's PR ready to merge to assign an issue - please have a go at this, we're looking forward to your PR!

@Gopal-Dahale
Copy link
Contributor

@shinich1 I am trying to understand the graphix library, especially the QAOA example. Qiskit also has a similar example. There, they use an optimizer for optimizing the parameters of the quantum circuit and then get the desired state. I am unable to understand how this works in graphix?

@shinich1
Copy link
Contributor Author

shinich1 commented Jun 5, 2023

@Gopal-Dahale the qiskit example uses scipy.optimize.minimize to do the classical part of the optimization. The same would work for Graphix - we define a function to generate a pattern from parameters and sample the result, and then put the function into minimise function. Since the shape of the circuit (pattern) is always the same in every step, #45 would help speed this process up because we would then only need to compile pattern once.

@shinich1 shinich1 removed the unitaryhack issue for unitaryhack 2024 hackathon label Apr 1, 2024
@shinich1 shinich1 added good first issue Good for newcomers examples example code unitaryhack issue for unitaryhack 2024 hackathon and removed good first issue Good for newcomers new feature New feature or request unitaryhack issue for unitaryhack 2024 hackathon labels May 5, 2024
@shinich1 shinich1 removed the good first issue Good for newcomers label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples example code
Projects
None yet
Development

No branches or pull requests

2 participants