Pete Shadbolt
26569dfc32
Working on measure_x
Added some more terms to clifford.by_name to ease lookup of complex
conjugates
Added GraphState.toggle_edges(), used by GraphState.measure_x
Nearly finished GraphState.measure_x
před 9 roky
Pete Shadbolt
4646554779
Fix GraphState.to_json() for tuple-like nodes
před 9 roky
Pete Shadbolt
0d9c202a50
Need to clone measure_x and measure_y
před 9 roky
Pete Shadbolt
45bcdf1cca
Move lookup tables into a generated module
před 9 roky
Pete Shadbolt
b4872397e9
Progress towards working measurement
před 9 roky
Pete Shadbolt
e398d39aae
Remove adj_list()
před 9 roky
Pete Shadbolt
318ab65cf2
Small JS improvement
před 9 roky
Pete Shadbolt
8393390801
Add graphsim.GraphRegister.to_json() for tests
před 9 roky
Pete Shadbolt
24a00be14f
Full, heavy testing
před 9 roky
Pete Shadbolt
c2b942dada
Solved a dumb little problem. TODO: refactor :gun:
před 9 roky
Pete Shadbolt
faa8d05c3d
Fixing fixing fixing
před 9 roky
Pete Shadbolt
f42c83a03d
Working random test against CHP
před 9 roky
Pete Shadbolt
40fb9d4dfa
Testing against CHP
před 9 roky
Pete Shadbolt
4296e9d224
CHP
před 9 roky
Pete Shadbolt
b67db178b2
Well this is bull shit
před 9 roky
Pete Shadbolt
4438ca80c3
Not much
před 9 roky
Pete Shadbolt
0ec10d155c
Meaningful conjugation code
před 9 roky
Pete Shadbolt
092afb82f6
Improve clifford.py, add measurement lookup table
před 10 roky
Pete Shadbolt
a50ebdd71b
Implement conjugation
před 10 roky
Pete Shadbolt
0bbec5ce97
Remove scipy dependency, add requirements.txt
před 10 roky
Pete Shadbolt
68e7de7088
We need to emulate LocCliffOp.conjugate() -- WIP
před 10 roky
Pete Shadbolt
23fec82583
Preparing to implement measurement
před 10 roky
Pete Shadbolt
96e6678393
Auto layout
před 10 roky
Pete Shadbolt
7024c849d0
JS tests, remove visible graph state
před 10 roky
Pete Shadbolt
b3c9dce45b
Rudimentary editing is, CZs etc now work.
Next up: measurement
Also added a test on local complementation
před 10 roky
Pete Shadbolt
d3e93ca550
Fix small things
před 10 roky
Pete Shadbolt
513e09b681
Magical networkx integration :sparkling_heart:
před 10 roky
Pete Shadbolt
34fdffea9d
Woah - major refactoring! Bad bway!!! :gun: :gun:
před 10 roky
Pete Shadbolt
7bbaa85001
Improvements in speed, interface
před 10 roky
Pete Shadbolt
3a39a49ef0
Looks a little more promising
před 10 roky
Pete Shadbolt
b063d1ff1f
Remove act_local_rotation_by_name (simplifies API)
před 10 roky
Pete Shadbolt
b24debbd14
Improve server
před 10 roky
Pete Shadbolt
58ced9272d
Add from_json, a buncha server/client stuff
před 10 roky
Pete Shadbolt
7d90052833
Aliasing imports
před 10 roky
Pete Shadbolt
37404bc535
Remove QTIP dependency. Not needed
před 10 roky
Pete Shadbolt
b0fca20333
Tidy up
před 10 roky
Pete Shadbolt
bfdc66494d
Switch off some tests if not using legacy table
před 10 roky
Pete Shadbolt
7bc9895af6
Test passing against the circuit model
We fail when running against Anders and Briegel simply because we use a
different CZ table
před 10 roky
Pete Shadbolt
8c450b9bd8
FUCK YEAH
před 10 roky
Pete Shadbolt
9854bad286
Seems to be okay against anders & briegel
před 10 roky
Pete Shadbolt
7b4e4b42b5
Found something
před 10 roky
Pete Shadbolt
ea0033379c
QTIP, not much
před 10 roky
Pete Shadbolt
06bf1f4665
More tests
před 10 roky
Pete Shadbolt
bbc89eb4de
Modify test
před 10 roky
Pete Shadbolt
d372ec8531
Add state equality checking, global phase fixing.
před 10 roky
Pete Shadbolt
b43a7499d7
Split tests
před 10 roky
Pete Shadbolt
9d859145d8
Aha... found a mistake. Wonder if that's it....
před 10 roky
Pete Shadbolt
16d572aed4
Now thinking about GHZs.
Think CircuitModel.act_cz is wrong
před 10 roky
Pete Shadbolt
ec403d4c30
Loadsa stuff. CZ table bodging
před 10 roky
Pete Shadbolt
11368ba880
Fix qi simulator again, test passing
před 10 roky