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

PyZX as a pattern optimization backend? #66

Closed
shinich1 opened this issue Jun 26, 2023 · 1 comment
Closed

PyZX as a pattern optimization backend? #66

shinich1 opened this issue Jun 26, 2023 · 1 comment
Labels
new feature New feature or request

Comments

@shinich1
Copy link
Contributor

Is your feature request related to a problem? Please describe.
na

Describe the feature you'd like
Implement pyzx interface to use ZX-calculus as a pattern optimization backend. This means we will need to construct graph-like diagram, optimize with pyZX, and then get pattern out of it to be simulated or executed on device.

Additional context
https://quantum-journal.org/papers/q-2021-03-25-421/
https://arxiv.org/pdf/2304.08166.pdf
etc

@shinich1 shinich1 added the new feature New feature or request label Jun 26, 2023
@king-p3nguin
Copy link
Contributor

king-p3nguin commented Dec 10, 2023

Note that PyZX is now updating the function to_graph_like. The current version's to_graph_like function does not work, so we may need to wait for the next release (or implement it ourselves).
zxcalc/pyzx#189

Getting a pattern out of the PyZX diagram can be done by graphix.generator.generate_from_graph().

@masa10-f masa10-f mentioned this issue Jan 19, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants