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

Optimal circuit path #413

Merged
merged 228 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
228 commits
Select commit Hold shift + click to select a range
f070b27
first commit (not working)
ziofil Jan 23, 2024
2f1d64c
docker
ziofil Jan 23, 2024
de3aca0
optimal contraction prototype
ziofil Apr 3, 2024
2a57ef8
save
ziofil Apr 4, 2024
6d3ffa6
merged develop into opt_contraction
ziofil May 9, 2024
3405bf5
deleted file
ziofil May 11, 2024
d58e0e7
reverted changes in dockerfile
ziofil May 11, 2024
36fd3e2
Merge branch 'develop' into opt_contraction
ziofil May 15, 2024
a06a1c2
progress
ziofil May 15, 2024
808eff0
merged
ziofil May 15, 2024
73e3f0e
added _fock_shape attribute
ziofil May 21, 2024
9648ed0
progress
ziofil May 22, 2024
8266a82
working
ziofil May 22, 2024
f2e4d40
working
ziofil May 22, 2024
508d7ae
fixed bug
ziofil May 23, 2024
a37cae6
progress
ziofil May 27, 2024
38cce12
save
ziofil May 29, 2024
b4f5c40
moved name at the end and added Operator and Map
ziofil May 29, 2024
acfa874
black
ziofil May 29, 2024
20f958e
save
ziofil May 30, 2024
5e64842
save
ziofil May 31, 2024
8e41ab9
it works
ziofil Jun 1, 2024
dbed227
it still works
ziofil Jun 1, 2024
a38a2c8
codefactor
ziofil Jun 1, 2024
a843a63
black
ziofil Jun 1, 2024
7d67a9b
codefactor
ziofil Jun 1, 2024
c98298d
modified .pylintrc
ziofil Jun 1, 2024
f077c94
merged Operation
ziofil Jun 1, 2024
a7cc101
black
ziofil Jun 1, 2024
4ec4ed6
tests pass
ziofil Jun 3, 2024
423b415
codefactor
ziofil Jun 3, 2024
6e61eda
black
ziofil Jun 3, 2024
83a6bed
fixed doctest
ziofil Jun 3, 2024
3fbcc35
black
ziofil Jun 3, 2024
0cd87db
black
ziofil Jun 3, 2024
834e06a
Merge branch 'develop' into QtoB
ziofil Jun 3, 2024
008ecc6
worked on tests
ziofil Jun 6, 2024
7db66c2
Merge branch 'QtoB' of https://github.com/XanaduAI/MrMustard into QtoB
ziofil Jun 6, 2024
4c0d4ae
Merge branch 'develop' into QtoB
ziofil Jun 6, 2024
e532e02
added test for CircuitComponent
ziofil Jun 6, 2024
448f56d
Merge branch 'QtoB' of https://github.com/XanaduAI/MrMustard into QtoB
ziofil Jun 6, 2024
e88fa85
added docstrings
ziofil Jun 6, 2024
c12c013
fixed
ziofil Jun 7, 2024
bbdba67
Merge branch 'develop' into QtoB
ziofil Jun 7, 2024
86065db
fixed name
ziofil Jun 7, 2024
64659c7
Merge branch 'develop' into opt_contraction
ziofil Jun 7, 2024
5a68479
save
ziofil Jun 7, 2024
389a557
tests pass
ziofil Jun 8, 2024
16b0d63
fixed prints
ziofil Jun 8, 2024
809f177
Merge branch 'QtoB' into opt_contraction
ziofil Jun 8, 2024
30cf53a
fixed all but one test
ziofil Jun 8, 2024
dd6419f
all tests pass
ziofil Jun 9, 2024
51ebaa3
more tests pass
ziofil Jun 9, 2024
f5d51d5
better
ziofil Jun 9, 2024
cab8dc7
removed unused setting
ziofil Jun 9, 2024
e386e24
removed test
ziofil Jun 9, 2024
ee30af7
removed file
ziofil Jun 9, 2024
2c25ddc
removed test file
ziofil Jun 9, 2024
6c8c954
simplified
ziofil Jun 9, 2024
e4baa0d
removed converter
ziofil Jun 9, 2024
bf4de1c
removed converter from doctests
ziofil Jun 9, 2024
7465436
docstrings
ziofil Jun 10, 2024
e246a3a
docstrings circuitcomponents
ziofil Jun 11, 2024
1ddd71a
docstrings states
ziofil Jun 12, 2024
d7d62f5
docstrings transformations
ziofil Jun 12, 2024
2178ebe
added changes
ziofil Jun 12, 2024
1a217e5
Apply suggestions from code review
ziofil Jun 12, 2024
2e30061
Update mrmustard/lab_dev/circuit_components.py
ziofil Jun 12, 2024
2410e71
Update mrmustard/lab_dev/circuit_components.py
ziofil Jun 12, 2024
757a96e
Update mrmustard/lab_dev/circuit_components.py
ziofil Jun 12, 2024
bb78457
fixed method call
ziofil Jun 12, 2024
75fc6c1
fixed doctest
ziofil Jun 12, 2024
2cef8be
Update mrmustard/lab_dev/circuit_components.py
ziofil Jun 12, 2024
513b4a7
docs
ziofil Jun 12, 2024
6d573b8
Merge branch 'QtoB' of https://github.com/XanaduAI/MrMustard into QtoB
ziofil Jun 12, 2024
204dd2b
fixed doctest
ziofil Jun 12, 2024
5d68112
fixed things
ziofil Jun 12, 2024
51bf3e4
fixed doctest
ziofil Jun 12, 2024
d5d9ccd
fixed doctest
ziofil Jun 12, 2024
2d971db
fixed doctest
ziofil Jun 12, 2024
6c28217
fixed test
ziofil Jun 12, 2024
96e4011
fixed test
ziofil Jun 12, 2024
108e9e2
fixed test
ziofil Jun 12, 2024
11e9a95
removed hash from wires
ziofil Jun 12, 2024
d85b632
added test
ziofil Jun 12, 2024
7627b58
added test
ziofil Jun 13, 2024
9d5d15b
added test
ziofil Jun 13, 2024
391b4cf
refactored names
ziofil Jun 13, 2024
ff8091c
added docstring
ziofil Jun 13, 2024
e780caf
merged QtoB
ziofil Jun 13, 2024
b6f9270
removed opt path file
ziofil Jun 13, 2024
79608fc
removed path methods from circuit
ziofil Jun 13, 2024
723c96a
Merge branch 'develop' into opt_contraction
ziofil Jun 13, 2024
b234bf5
safe
ziofil Jun 13, 2024
2dd2b92
better names
ziofil Jun 14, 2024
3e72719
Merge branch 'develop' into opt_contraction
ziofil Jun 14, 2024
4a787e7
Update mrmustard/lab_dev/circuit_components.py
ziofil Jun 14, 2024
1b8eafa
Update mrmustard/lab_dev/circuit_components.py
ziofil Jun 14, 2024
5c20e84
Update mrmustard/lab_dev/circuit_components.py
ziofil Jun 14, 2024
c9be34d
Update mrmustard/lab_dev/circuit_components.py
ziofil Jun 14, 2024
331d718
Update mrmustard/lab_dev/circuit_components.py
ziofil Jun 14, 2024
341ee5b
better doctest and fixed bug
ziofil Jun 14, 2024
c43f5ef
fixed doctest
ziofil Jun 14, 2024
29abd05
fixed doctest
ziofil Jun 14, 2024
febb2f3
fixed doctest
ziofil Jun 14, 2024
72e9a12
lab_dev tests pas
ziofil Jun 14, 2024
51cfd2a
fixed
ziofil Jun 14, 2024
ebdefaa
fixed doctests
ziofil Jun 14, 2024
587b1da
save
ziofil Jun 14, 2024
fe060cc
added test and improved Number init
ziofil Jun 14, 2024
48cf02d
fixed doctest
ziofil Jun 14, 2024
8e7675b
fixed import
ziofil Jun 14, 2024
3f26973
added test and removed unused code
ziofil Jun 17, 2024
7707b54
Merge branch 'develop' into opt_contraction
ziofil Jun 18, 2024
8e046f1
save
ziofil Jun 18, 2024
710ba63
save
ziofil Jun 19, 2024
0a1e1ab
save
ziofil Jun 21, 2024
42da520
save
ziofil Jun 21, 2024
0dbb926
tests pass
ziofil Jun 24, 2024
e7f57db
Merge branch 'develop' into opt_contraction
ziofil Jun 24, 2024
86e2710
fixed doctest
ziofil Jun 24, 2024
c9a8f7b
Update mrmustard/physics/ansatze.py
ziofil Jun 24, 2024
56596da
Update mrmustard/lab_dev/states/states.py
ziofil Jun 24, 2024
33e19f0
Update mrmustard/math/lattice/strategies/vanilla.py
ziofil Jun 24, 2024
6c78e02
Update mrmustard/math/lattice/strategies/vanilla.py
ziofil Jun 24, 2024
1ff09ef
njit
ziofil Jun 24, 2024
d1daa65
Merge branch 'develop' into opt_path
ziofil Jun 24, 2024
0a29cba
fixed TF shenanigans
ziofil Jun 24, 2024
465f032
added nocover on numba function
ziofil Jun 25, 2024
6f4343e
save
ziofil Jun 25, 2024
ab510aa
save
ziofil Jun 27, 2024
2a446ab
save
ziofil Jul 10, 2024
52420db
sagve
ziofil Jul 11, 2024
0bbd27f
merging develop 1
ziofil Jul 23, 2024
cfed188
Merge branch 'develop' into opt_path
ziofil Jul 24, 2024
da4bb9f
progress
ziofil Jul 25, 2024
4fb5019
progress
ziofil Jul 25, 2024
841ed39
progress
ziofil Jul 26, 2024
d916ff3
works! :)
ziofil Jul 26, 2024
6835bce
progress
ziofil Jul 29, 2024
dfb5df5
merged develop
ziofil Jul 29, 2024
3462e8f
removed simulator
ziofil Jul 29, 2024
63838ce
done?
ziofil Jul 30, 2024
e7a4daf
fixed doctest
ziofil Jul 30, 2024
5b36d85
merged develop
ziofil Jul 30, 2024
6ef6ab6
progress
ziofil Jul 30, 2024
ce67ee9
Merge branch 'develop' into opt_path
ziofil Jul 31, 2024
bf6f5de
Merge branch 'develop' into opt_path
ziofil Aug 1, 2024
024caf2
Merge branch 'opt_path' of https://github.com/XanaduAI/MrMustard into…
ziofil Aug 2, 2024
796efff
validate path
ziofil Aug 4, 2024
0d751f3
adds tests
ziofil Aug 4, 2024
76b634d
adds tests
ziofil Aug 5, 2024
ec177bc
added verbose option
ziofil Aug 5, 2024
f922f58
added verbose option
ziofil Aug 5, 2024
78a2f5b
added single component cost
ziofil Aug 5, 2024
db7b9ba
Merge branch 'develop' into opt_path
ziofil Aug 6, 2024
3c8c273
Merge branch 'develop' into opt_path
ziofil Aug 7, 2024
a87d309
Merge branch 'opt_path' of https://github.com/XanaduAI/MrMustard into…
ziofil Aug 7, 2024
0c7f895
removed double line
ziofil Aug 7, 2024
a4d0d33
Merge branch 'develop' into opt_path
ziofil Aug 8, 2024
604ce81
Merge branch 'develop' into opt_path
ziofil Aug 8, 2024
373a173
Merge branch 'develop' into opt_path
ziofil Aug 9, 2024
9ac1b3b
Merge branch 'opt_path' of https://github.com/XanaduAI/MrMustard into…
ziofil Aug 9, 2024
feab3c6
Merge branch 'develop' into opt_path
ziofil Aug 13, 2024
5390ead
Merge branch 'develop' into opt_path
ziofil Aug 13, 2024
c348eb1
Merge branch 'develop' into opt_path
ziofil Aug 14, 2024
b3fec87
Merge branch 'develop' into opt_path
ziofil Aug 16, 2024
ab6546f
Merge branch 'develop' into opt_path
ziofil Aug 19, 2024
451cb01
Update mrmustard/lab_dev/bb.py
ziofil Aug 19, 2024
b1cf816
Update mrmustard/lab_dev/bb.py
ziofil Aug 19, 2024
a5e41cf
Update mrmustard/lab_dev/circuits.py
ziofil Aug 19, 2024
49ff930
applied a batch of matt's suggestions
ziofil Aug 19, 2024
1da1dd9
Merge branch 'opt_path' of https://github.com/XanaduAI/MrMustard into…
ziofil Aug 19, 2024
d9d23ed
improved names
ziofil Aug 19, 2024
e049b1b
using new overlap method
ziofil Aug 19, 2024
1c68be6
improved docstring
ziofil Aug 19, 2024
897165c
changed import order
ziofil Aug 19, 2024
5f28564
chasing after codefactor suggestions
ziofil Aug 19, 2024
99904c1
Merge branch 'develop' into opt_path
ziofil Aug 20, 2024
0d3bd48
updated test
ziofil Aug 20, 2024
2e53d08
Merge branch 'opt_path' of https://github.com/XanaduAI/MrMustard into…
ziofil Aug 20, 2024
60be584
simplified code
ziofil Aug 20, 2024
cb7495e
fixed test
ziofil Aug 20, 2024
748d42b
fixed test
ziofil Aug 20, 2024
2bee14b
fixed test
ziofil Aug 20, 2024
7d51d89
Merge branch 'develop' into opt_path
ziofil Aug 20, 2024
1040fa2
always update path
ziofil Aug 21, 2024
b1596b9
removed typo
ziofil Aug 21, 2024
9a76f2e
added test
ziofil Aug 21, 2024
7e664d0
Update mrmustard/lab_dev/circuits.py
ziofil Aug 21, 2024
d570cfd
Update mrmustard/lab_dev/circuits.py
ziofil Aug 21, 2024
20f324b
Update mrmustard/lab_dev/bb.py
ziofil Aug 21, 2024
13e9860
Update mrmustard/lab_dev/bb.py
ziofil Aug 21, 2024
ecc557a
changed file name
ziofil Aug 21, 2024
773ed8c
changed file name
ziofil Aug 21, 2024
46f9019
Merge branch 'develop' into opt_path
ziofil Aug 21, 2024
92a88e5
fixed import
ziofil Aug 21, 2024
f25af36
fixed import
ziofil Aug 21, 2024
71c407e
try again
ziofil Aug 21, 2024
8ba38c0
Merge branch 'develop' of https://github.com/XanaduAI/MrMustard into …
apchytr Aug 22, 2024
cdf9a8e
rename
apchytr Aug 22, 2024
117a9aa
move to cc_utils
apchytr Aug 22, 2024
5c86457
bb doc
apchytr Aug 22, 2024
1fc242b
wires reorder
apchytr Aug 22, 2024
cf53235
use deepcopy
ziofil Aug 22, 2024
2df9790
removed old code
ziofil Aug 22, 2024
dd73e94
hopefully removed extra spaces in wires.py
ziofil Aug 22, 2024
e9ec998
hopefully removed extra spaces in wires.py
ziofil Aug 22, 2024
0f8d89a
hopefully removed extra spaces in wires.py
ziofil Aug 22, 2024
ec77c85
hopefully removed extra spaces in wires.py
ziofil Aug 22, 2024
fbd11c0
Merge branch 'develop' into opt_path
ziofil Aug 22, 2024
d7b2424
improved docstrings, typehints and method ordering
ziofil Aug 22, 2024
f2721d8
added comment blocks for clarity
ziofil Aug 22, 2024
d98dc80
removed file
ziofil Aug 22, 2024
b6a6401
added comment blocks for clarity
ziofil Aug 22, 2024
533952f
removed unnecessary exception
ziofil Aug 22, 2024
dfd8988
Merge branch 'develop' into opt_path
ziofil Aug 23, 2024
82aaa55
fixed test that was changing the autoshape prob and not changing it back
ziofil Aug 23, 2024
e416154
Apply suggestions from code review
ziofil Aug 23, 2024
94acf4e
Merge branch 'develop' into opt_path
ziofil Aug 23, 2024
f4772d2
Merge branch 'develop' into opt_path
ziofil Aug 23, 2024
83e3832
fixed docstrig
ziofil Aug 24, 2024
ab4fd18
fixed some bugs
ziofil Aug 26, 2024
16ccedb
fixed some bugs
ziofil Aug 26, 2024
92fd825
Merge branch 'develop' into opt_path
ziofil Aug 27, 2024
a7b7b01
random contraction now works
ziofil Aug 27, 2024
71f3d99
improved test, added not impl erros
ziofil Aug 27, 2024
ee4a55d
improved test, added not impl erros
ziofil Aug 27, 2024
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
1 change: 0 additions & 1 deletion doc/code/lab_dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ mrmustard.lab_dev
lab_dev/states
lab_dev/transformations
lab_dev/circuits
lab_dev/simulator

.. currentmodule:: mrmustard.lab_dev
8 changes: 0 additions & 8 deletions doc/code/lab_dev/simulator.rst

This file was deleted.

1 change: 0 additions & 1 deletion mrmustard/lab_dev/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@
from .circuit_components_utils import *
from .circuits import *
from .states import *
from .simulator import *
from .transformations import *
from .wires import Wires
Loading
Loading