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

bugfix gflow visualization #107

Merged
merged 10 commits into from
Dec 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update readme
  • Loading branch information
shinich1 committed Dec 16, 2023
commit f6702ebb04198f4bf30facdc05bf136fb85927af
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ pattern.draw_graph()
```
<img src="https://github.com/TeamGraphix/graphix/assets/33350509/de17c663-f607-44e2-945b-835f4082a940" alt="logo" width="750">

(QAOA circuit, see [this example](examples/qaoa.py). Arrows indicate the [information flow](https://journals.aps.org/pra/abstract/10.1103/PhysRevA.74.052310) of MBQC and dashed lines are other edges of the graph.)
(QAOA circuit, see [this example](examples/qaoa.py). Arrows indicate the [*information flow*](https://journals.aps.org/pra/abstract/10.1103/PhysRevA.74.052310) of MBQC and dashed lines are other edges of the graph.)

### preprocessing Pauli measurements
```python
pattern.perform_pauli_measurements(leave_input=False)
pattern.draw_graph(show_loop=False)
pattern.perform_pauli_measurements()
pattern.draw_graph()
```
<img src="https://github.com/TeamGraphix/graphix/assets/33350509/3c30a4c9-f912-4a36-925f-2ff446a07c68" alt="logo" width="140">

Expand Down