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

Export morphisms to JSON #8

Merged
merged 10 commits into from
Sep 28, 2023
Merged

Export morphisms to JSON #8

merged 10 commits into from
Sep 28, 2023

Commits on Sep 28, 2023

  1. Add a morphism with two edges to test

    Tom Kuhmichel authored and zickgraf committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    11cd1a9 View commit details
    Browse the repository at this point in the history
  2. Export morphisms for pyzx

    Tom Kuhmichel authored and zickgraf committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    5b230da View commit details
    Browse the repository at this point in the history
  3. Revert "Add a morphism with two edges to test"

    This reverts commit 11cd1a9.
    
    The constructed morphism does not define a ZX diagram.
    IsWellDefinedForMorphisms has to be reworked.
    zickgraf committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    45a5374 View commit details
    Browse the repository at this point in the history
  4. Fix indentation

    zickgraf committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    0ad11b5 View commit details
    Browse the repository at this point in the history
  5. Simplify loop

    zickgraf committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    b876787 View commit details
    Browse the repository at this point in the history
  6. Label edges starting from 0

    just like PyZX does
    zickgraf committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    c83621f View commit details
    Browse the repository at this point in the history
  7. Swap X and Z case

    In the ZX calculus, Z always comes first.
    zickgraf committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    abe8385 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5a17294 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8d80936 View commit details
    Browse the repository at this point in the history
  10. Test ExportAsQGraph

    including an example with parallel edges
    zickgraf committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    ace37a3 View commit details
    Browse the repository at this point in the history