Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
ea51ded
Add flow verification utils
matulni Nov 25, 2025
a7bfaf1
Up flow exceptions
matulni Nov 25, 2025
44c46f0
Refactor flow exceptions
matulni Nov 27, 2025
fff002d
Merge branch 'master' into rf_flow_iswellformed
matulni Nov 27, 2025
1a0746c
Add get measurement label method and check on planes in causal flow
matulni Nov 27, 2025
df39a01
Fix typing
matulni Nov 27, 2025
86148ab
wip
matulni Nov 28, 2025
75ec180
Add check partial order no duplicates
matulni Nov 28, 2025
f5368f1
Merge branch 'rf_flow_iswellformed' into rf_xz_iswellformed
matulni Nov 28, 2025
dea16c2
wip
matulni Nov 28, 2025
58af8bd
XZCorrections.check_well_formed passing tests
matulni Nov 28, 2025
3464b6e
XZCorrections.check_well_formed passing tests
matulni Nov 28, 2025
202b1f5
Merge branch 'master' into rf_flow_iswellformed
matulni Nov 28, 2025
86dfc91
Merge branch 'master' into rf_xz_iswellformed
matulni Nov 28, 2025
6faa3f0
XZCorrections.check_well_formed passing all tests
matulni Dec 1, 2025
488ff0d
Add partial_order module
matulni Dec 1, 2025
84a1837
Add partial order from pattern
matulni Dec 1, 2025
89189cd
wip
matulni Dec 2, 2025
d14175c
Merge branch 'master' into rf_flow_iswellformed
matulni Dec 2, 2025
8236dcb
Merge branch 'master' into rf_flow_from_p
matulni Dec 2, 2025
0bd03fb
Tests passing
matulni Dec 2, 2025
0dc5653
Merge branch 'master' into rf_flow_iswellformed
matulni Dec 2, 2025
57eee75
Merge branch 'master' into rf_xz_iswellformed
matulni Dec 2, 2025
ef33e5e
Merge branch 'master' into rf_flow_from_p
matulni Dec 2, 2025
966a272
Move flow extraction to standardized pattern
matulni Dec 3, 2025
6e53b7e
Adapt visualization to new API
matulni Dec 3, 2025
5165226
Remove dependence on graphix.gflow from graphix.pattern
matulni Dec 3, 2025
1cbdc95
Add feddback meeting
matulni Dec 4, 2025
95d2427
Add mods meeting
matulni Dec 4, 2025
3c821d9
Combine correction function errors and generic flow errors into a sin…
matulni Dec 4, 2025
50b901d
Merge branch 'rf_flow_iswellformed' into rf_xz_iswellformed
matulni Dec 4, 2025
c13057d
Remove MERGE_MSG
matulni Dec 8, 2025
095a2de
Add comment
matulni Dec 8, 2025
c46c944
Merge branch 'master' into rf_xz_iswellformed
matulni Dec 8, 2025
91860fa
Up CHANGELOG
matulni Dec 8, 2025
e5c004e
Merge branch 'rf_xz_iswellformed' into rf_flow_from_p
matulni Dec 9, 2025
f0c8a3c
wip
matulni Dec 9, 2025
9450293
Add FlowError exceptions in flow from pattern methods
matulni Dec 9, 2025
2a8e4d9
Remove dep on Pattern.get_layers
matulni Dec 9, 2025
d3eaee8
Add comments
matulni Dec 9, 2025
6c332e9
Merge branch 'master' into rf_flow_from_p
matulni Dec 9, 2025
4487c94
Add check on N commands when extracting open graph to form flow
matulni Dec 9, 2025
fcc279b
Merge branch 'master' into rf_flow_from_p
matulni Dec 9, 2025
4a3e79c
Fix pyright
matulni Dec 9, 2025
0b11c0c
Cast defaultdict into dict
matulni Dec 10, 2025
d6f12e7
Merge branch 'master' into rf_xz_from_p
matulni Dec 10, 2025
3b2bc9b
wip
matulni Dec 10, 2025
d840db7
wip
matulni Dec 10, 2025
af617b6
Add new function to compute partial order layers from corrections
matulni Dec 10, 2025
e5256bf
Wip
matulni Dec 10, 2025
225e417
Up docs
matulni Dec 10, 2025
922a96a
Merge branch 'rf_flow_from_p' into rf_xz_from_p
matulni Dec 11, 2025
2f44562
wip
matulni Dec 11, 2025
26a4cf9
Refactor flow extraction from standard pattern
matulni Dec 11, 2025
551f299
Merge branch 'rf_flow_from_p' into rf_xz_from_p
matulni Dec 11, 2025
7f30380
wip
matulni Dec 11, 2025
0ece2f2
Up docs
matulni Dec 11, 2025
a31fb70
Up docs
matulni Dec 11, 2025
1b37588
Merge branch 'rf_flow_from_p' into rf_xz_from_p
matulni Dec 11, 2025
77e0719
Add docs and tests
matulni Dec 11, 2025
8ebde0d
Remove gflow file
matulni Dec 11, 2025
bef1507
Remove get_layers from pattern.py
matulni Dec 11, 2025
5ccff13
Add test and fix bug in OpenGraph.isclose
matulni Dec 11, 2025
5a2048d
Up docs and examples
matulni Dec 11, 2025
b4df5ba
Merge branch 'master' into rf_flow_from_p
matulni Dec 12, 2025
dd608fa
Merge branch 'master' into rf_xz_from_p
matulni Dec 12, 2025
af20a82
Merge branch 'master' into rf_flow_from_p
matulni Dec 15, 2025
ff8e6f0
Standardize pattern before extracting partial order layers
matulni Dec 15, 2025
596ec4b
Apply suggestions from Thierry's code review
matulni Jan 5, 2026
975f7aa
Make optimizations._update_corrections return None
matulni Jan 5, 2026
f5eca86
Merge branch 'master' into rf_flow_from_p
matulni Jan 5, 2026
f640645
Up CHANGELOG and fix ruff
matulni Jan 5, 2026
2bacebb
Merge branch 'rf_flow_from_p' into rf_xz_from_p
matulni Jan 5, 2026
136721f
Up docstrings
matulni Jan 5, 2026
a9a9377
Update test visualization baseline
thierry-martinez Jan 6, 2026
d547ead
Merge branch 'rf_flow_from_p' into rf_xz_from_p
matulni Jan 6, 2026
eca3036
Undo tuple-casting in opengraph comparison
matulni Jan 6, 2026
f664c29
Merge branch 'master' into rf_flow_from_p
matulni Jan 6, 2026
b177d34
Shorten docstring
matulni Jan 6, 2026
c311f82
Merge branch 'rf_flow_from_p' into rf_xz_from_p
matulni Jan 6, 2026
5e3c317
Merge branch 'master' into rf_xz_from_p
matulni Jan 6, 2026
85b9877
Fix errors in docs
matulni Jan 6, 2026
cc550c3
Merge branch 'master' into rf_xz_from_p
matulni Jan 6, 2026
570aa7a
Up baseline images
matulni Jan 6, 2026
1a79002
Merge branch 'master' into rf_xz_from_p
matulni Jan 8, 2026
86d0cf9
Remove inputs before Pauli presim in tests
matulni Jan 8, 2026
e6ce171
Merge branch 'master' into rf_xz_from_p
matulni Jan 8, 2026
06dad95
Add thierry's suggestions
matulni Jan 8, 2026
c216182
Up CHANGELOG
matulni Jan 8, 2026
a34eeb4
Merge branch 'master' into rf_xz_from_p
matulni Jan 12, 2026
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
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- #402: Support for Python 3.14.

- #407: Introduced new method `graphix.optimization.StandardizedPattern.extract_xzcorrections` and its wrapper `graphix.pattern.Pattern.extract_xzcorrections` which extract an `XZCorrections` instance from a pattern.


### Fixed

- #392: `Pattern.remove_input_nodes` is required before the `Pattern.perform_pauli_measurements` method to ensure input nodes are removed and fixed in the |+> state.
Expand All @@ -57,6 +60,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- #409: Axis labels are shown when visualizing a pattern. Legend is placed outside the plot so that the graph remains visible.

- #407: Fixed an unreported bug in `OpenGraph.is_equal_structurally` which failed to compare open graphs differing on the output nodes only.

### Changed

- #374: Adapted existing method `graphix.opengraph.OpenGraph.isclose` to the new API introduced in #358.
Expand All @@ -70,6 +75,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
π. In particular, angles that appear in parameters of circuit
instructions are now expressed in units of π.

- #407:
- Modified the constructor `XZCorrections.from_measured_nodes_mapping` so that it doesn't need to create an `nx.DiGraph` instance. This fixes an unreported bug in the method.
- Removed modules `graphix.gflow` and `graphix.find_pflow`.

## [0.3.3] - 2025-10-23

### Added
Expand Down
30 changes: 0 additions & 30 deletions docs/source/flow.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/source/modifier.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ Pattern Manipulation

.. automethod:: max_space

.. automethod:: get_layers

.. automethod:: to_qasm3


Expand Down
1 change: 0 additions & 1 deletion docs/source/references.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Module reference
simulator
graphsim
extraction
flow
clifford
visualization
channels
Expand Down
2 changes: 1 addition & 1 deletion examples/rotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
# Since there's no two-qubit gates applied to the two qubits in the original gate sequence,
# we see decoupled 1D graphs representing the evolution of single qubits.
# The arrows are the ``information flow <https://journals.aps.org/pra/abstract/10.1103/PhysRevA.74.052310>``
# of the MBQC pattern, obtained using the flow-finding algorithm implemented in :class:`graphix.gflow.flow`.
# of the MBQC pattern, obtained using the flow-finding algorithm implemented in :class:`graphix.flow`.
# Below we list the meaning of the node boundary and face colors.
#
# - Nodes with red boundaries are the *input nodes* where the computation starts.
Expand Down
Loading