Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
7560209
implement graphstate developed in mf branch
masa10-f Apr 7, 2025
b7641a3
minimize API in BaseGraphState
masa10-f Apr 8, 2025
1581cf7
add backticks for intersphinx
masa10-f Apr 8, 2025
d9efcd4
configure docs for graphstate
masa10-f Apr 8, 2025
841dd35
refactor q_index attribute
masa10-f Apr 8, 2025
f2a9a93
fix test of graphstate
masa10-f Apr 8, 2025
907ed1c
specify error type
masa10-f Apr 8, 2025
ad42976
modify interface of add_physical_node
masa10-f Apr 13, 2025
4ba895c
update parse_input_local_cliffords
masa10-f Apr 13, 2025
1f17cf5
remove append method
masa10-f Apr 13, 2025
ad5bd4e
add random flow graph generator
masa10-f Apr 14, 2025
ebe0c1e
fix node removal
masa10-f Apr 14, 2025
4a653a3
update test for graphstate
masa10-f Apr 14, 2025
000180b
fix mypy error in numpy.number
masa10-f Apr 14, 2025
ab97a76
implement sequential composition
masa10-f Apr 14, 2025
b29682f
update docstring
masa10-f Apr 14, 2025
9c0106d
change the interface of q_index in input and output nodes
masa10-f Apr 14, 2025
46b8748
update random object generator
masa10-f Apr 14, 2025
9216b15
update graphstate test
masa10-f Apr 14, 2025
af77484
resolve TODO with sorted iterator
masa10-f Apr 14, 2025
426bfa0
implement parallel composition
masa10-f Apr 14, 2025
cd2ec92
update doc
masa10-f Apr 14, 2025
d4dc700
fix docstring
masa10-f Apr 14, 2025
9f80ded
update docs of graphstate
masa10-f Apr 14, 2025
c228ff9
fix bipartite_edges
masa10-f Apr 14, 2025
6b3b735
:recycle: Iterate container directly
EarlMilktea Apr 15, 2025
acc536e
:recycle: Remove unnecessary TypeVar
EarlMilktea Apr 15, 2025
2c34853
:recycle: Remove unnecessary raise
EarlMilktea Apr 15, 2025
044324b
:recycle: Use unpack
EarlMilktea Apr 15, 2025
5c5e9ec
:recycle: Use override deco
EarlMilktea Apr 15, 2025
c104961
:zap: Use isdisjoint method
EarlMilktea Apr 15, 2025
44935be
:recycle: Use ABC for input types
EarlMilktea Apr 15, 2025
da952ae
remove get_
masa10-f Apr 18, 2025
9948484
update test of graphstate
masa10-f Apr 20, 2025
b20d291
use mark_in/output instead of set_
masa10-f Apr 20, 2025
5e53e5d
ignore SLF001 in tests for verifing some private methods
masa10-f Apr 20, 2025
d01c062
make auxiliary methods into private
masa10-f Apr 20, 2025
30e3ff1
add additional error case in mark_output
masa10-f Apr 20, 2025
79d3dfe
update random graph generator
masa10-f Apr 20, 2025
4797380
use MappingProxyType and frozenset
masa10-f Apr 20, 2025
9f1e971
rename set_meas_basis -> assign_meas_basis
masa10-f Apr 20, 2025
34eded2
rename funcs
masa10-f Apr 20, 2025
475448b
update test and docs
masa10-f Apr 20, 2025
b784929
prohibit self-loop
masa10-f Apr 20, 2025
7089a02
check meas basis is properly set
masa10-f Apr 20, 2025
52af48c
remove lc from composition
masa10-f Apr 20, 2025
58338d2
revert to use TypeVar
masa10-f Apr 20, 2025
23cb79b
add comment
masa10-f Apr 20, 2025
55ae692
add canonical form checker
masa10-f Apr 20, 2025
b91c023
canonical form check before composition
masa10-f Apr 20, 2025
703867f
delete unnecessary branch
masa10-f Apr 20, 2025
d387750
fix docstring
masa10-f Apr 20, 2025
41399af
make pop_local_clifford private
masa10-f Apr 20, 2025
31e3832
add output lc expansion method
masa10-f Apr 20, 2025
c2e967e
update docstring
masa10-f Apr 20, 2025
afad91f
add lc parser for composition
masa10-f Apr 20, 2025
ec0bbff
remove local clifford api from base class
masa10-f Apr 21, 2025
4406a71
use update_lc_lc in apply_local_clifford
masa10-f Apr 21, 2025
fc544f0
implement canonical form checker
masa10-f Apr 21, 2025
256b1df
check canonical form before composition
masa10-f Apr 21, 2025
8a982e1
fix docstring
masa10-f Apr 21, 2025
ed24a66
remove redundunt properties
masa10-f Apr 21, 2025
8527b43
fix docstring
masa10-f Apr 21, 2025
7af1856
add error cases in register input/output
masa10-f Apr 21, 2025
b14f70b
update remove_output_node
masa10-f Apr 22, 2025
4e6d54d
WIP: refactor meas_bases
masa10-f Apr 22, 2025
65662f5
update test
masa10-f Apr 22, 2025
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
26 changes: 26 additions & 0 deletions docs/source/graphstate.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
GraphState
==========

:mod:`graphix_zx.graphstate` module
+++++++++++++++++++++++++++++++++++

.. automodule:: graphix_zx.graphstate

Graph State Classes
-------------------

.. autoclass:: graphix_zx.graphstate.BaseGraphState
:members:
:member-order: bysource

.. autoclass:: graphix_zx.graphstate.GraphState
:members:
:show-inheritance:
:member-order: bysource

Functions
---------

.. autofunction:: graphix_zx.graphstate.compose_sequentially
.. autofunction:: graphix_zx.graphstate.compose_in_parallel
.. autofunction:: graphix_zx.graphstate.bipartite_edges
1 change: 1 addition & 0 deletions docs/source/references.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Module reference
common
euler
matrix
graphstate
Loading
Loading