Pete Shadbolt
2698308d49
Test passing
pirms 7 gadiem
Pete Shadbolt
86b471e72a
Test passing
pirms 7 gadiem
Pete Shadbolt
8b87991ea5
Ported to Python3 on a goddam phone
pirms 7 gadiem
Pete Shadbolt
c9121351c6
Blindly ran 2to3 against all python files.
pirms 7 gadiem
Pete Shadbolt
56e65b6c7f
Reverse order of tuples in GraphState.act_circuit
Seems vaguely sensible. Haven't tested because I'm on a plane.
pirms 8 gadiem
Pete Shadbolt
fc92ce3747
Add shorthand function to run multiple CZs.
pirms 8 gadiem
Pete Shadbolt
37dd9265ce
Can now sketchily delete nodes. Needs work.
pirms 8 gadiem
Pete Shadbolt
f4631c552f
Fix #7 -- alias literal clifford.by_names
pirms 8 gadiem
Pete Shadbolt
05b12a7bf1
Removed `fancy.GraphState.from_nx` -- "just works"
Moved that functionality into `abp.GraphState`, so that you can
just run `state = abp.GraphState(nx.Graph(((0,1),)))`, `state =
abp.fancy.GraphState(nx.Graph(((0,1),))` or whatever.
pirms 8 gadiem
Pete Shadbolt
4b443d7d01
Purge `add_node`, add `add_qubit`
Trying to get more sensible defaults for people who like to think about
graphstates rather than circuits.
Repsponse to issue #4 : [Link](https://github.com/peteshadbolt/abp/issues/4 )
pirms 8 gadiem
Pete Shadbolt
3dbd70e046
Add and test `GraphState.to_stabilizer()` :rage4:
pirms 8 gadiem
Pete Shadbolt
88b99cc22a
Test passing, still need to do the nightmare
pirms 8 gadiem
Pete Shadbolt
55704d44a6
Better integration of `mock`
pirms 8 gadiem
Pete Shadbolt
d5e7e5d9b3
Better integration of ``mock``
pirms 8 gadiem
Pete Shadbolt
f6f6ccd08d
Still crunching thru tests
pirms 8 gadiem
Pete Shadbolt
3b6963c95e
Tidying tests
pirms 8 gadiem
Pete Shadbolt
c7ae201fb2
Cleaning up tests -- not finished
pirms 8 gadiem
Pete Shadbolt
23fec82583
Preparing to implement measurement
pirms 8 gadiem
Pete Shadbolt
34fdffea9d
Woah - major refactoring! Bad bway!!! :gun: :gun:
pirms 8 gadiem
Pete Shadbolt
7d90052833
Aliasing imports
pirms 8 gadiem
Pete Shadbolt
9854bad286
Seems to be okay against anders & briegel
pirms 8 gadiem
Pete Shadbolt
ec403d4c30
Loadsa stuff. CZ table bodging
pirms 8 gadiem
Pete Shadbolt
4ad35423fc
Start to add measurements
pirms 8 gadiem
Pete Shadbolt
3049183dc8
Add first test against AB, test passing!
pirms 8 gadiem
Pete Shadbolt
e89a0a1ab1
Starting to test against Anders and Briegel
pirms 8 gadiem
Pete Shadbolt
da76974c5a
Add basic stabilizer generation.
Probably time to run some tests against anders and Briegel
pirms 8 gadiem
Pete Shadbolt
b49eab1e6e
Add layout
pirms 8 gadiem
Pete Shadbolt
682e630353
Oh my god sys.path[0] is so good
pirms 8 gadiem
Pete Shadbolt
87c4c4f0a8
Working on JSON
pirms 8 gadiem
Pete Shadbolt
5192665f38
Improving GraphState, enabling diffs
pirms 8 gadiem
Pete Shadbolt
84e88ec23f
Added missing ingredients of graph.py
pirms 8 gadiem
Pete Shadbolt
062eb828d5
Make it possible to add vertices without adding edges
pirms 8 gadiem
Pete Shadbolt
da7ec98e8d
Start prototype server
pirms 8 gadiem
Pete Shadbolt
bfddcc993b
Test passing ... need more tests tho!
pirms 8 gadiem
Pete Shadbolt
5ef0c90e4c
Better loading, heading towards test passing
pirms 8 gadiem
Pete Shadbolt
51bdb17d31
Comments
pirms 8 gadiem
Pete Shadbolt
b7380f802b
Better
pirms 8 gadiem
Pete Shadbolt
c2fd7382b8
Kinda tidy at least
pirms 8 gadiem
Pete Shadbolt
96fd7e2a0c
Fix edgelist generation with infinite graphs
pirms 8 gadiem
Pete Shadbolt
32b417cb66
Returned to a shitty OO representation
At least we have infinite-size graphs now
pirms 8 gadiem
Pete Shadbolt
375b1d73bc
Test graph
pirms 8 gadiem
Pete Shadbolt
d0535b59f7
Infinite size graphs
pirms 8 gadiem
Pete Shadbolt
c3402c6661
Test passing
pirms 8 gadiem
Pete Shadbolt
ec55bd450d
Local complementation
pirms 8 gadiem
Pete Shadbolt
d6537cc5d7
Nicer graph model, VOPs
pirms 8 gadiem
Pete Shadbolt
92cda9c3c6
Add branch
pirms 8 gadiem
Pete Shadbolt
13b15c5e3f
Test passing
pirms 8 gadiem
Pete Shadbolt
31a4f52b2d
Just learnt something about stabilizers ...
pirms 8 gadiem
Pete Shadbolt
14ad9d0f97
Clifford ops now included
pirms 8 gadiem
Pete Shadbolt
a98519b08e
Add edgelist method
pirms 8 gadiem