Pete Shadbolt
102c456c53
PEP8
пре 7 година
Pete Shadbolt
c7ae201fb2
Cleaning up tests -- not finished
пре 7 година
Pete Shadbolt
0b6e1783c0
Better documentation
пре 7 година
Pete Shadbolt
b3ac940a17
Better naming
пре 7 година
Pete Shadbolt
9bd4914cd2
Test passing
пре 7 година
Pete Shadbolt
cd8bc01907
Test passing
пре 7 година
Pete Shadbolt
2d18fd2f91
Small fix
пре 7 година
Pete Shadbolt
6f7bcb05be
Add more tests
пре 7 година
Pete Shadbolt
126c819d2c
Add pics
пре 7 година
Pete Shadbolt
a5789f6152
Fix nondeterministic error in measure_x
Looks like nondeterminism in `next(d.iterkeys())` was breaking
consistency with A&B. Next up: switching determinism on or off.
пре 7 година
Pete Shadbolt
c6384448e3
Fixed `GraphState.measure_y`
Had a dumb translation error
пре 7 година
Pete Shadbolt
784f9d27dc
Add simple tests
пре 7 година
Pete Shadbolt
b066129c42
Nicer pretty-printing
пре 7 година
Pete Shadbolt
0229de062b
Very test passing
пре 7 година
Pete Shadbolt
9623abfa10
Think I just did something right
пре 7 година
Pete Shadbolt
1cb6a3b3c9
All single-qubit tests are now passing :rage3:
пре 7 година
Pete Shadbolt
04afcae7da
Test passing, but
Some tests are disabled and forcing outcomes does not work
пре 7 година
Pete Shadbolt
27df07bd52
Not there yet
пре 7 година
Pete Shadbolt
e33919b634
PEP8, remove cruft
пре 7 година
Pete Shadbolt
19972159e5
Needed to actually `return`
пре 7 година
Pete Shadbolt
f09d1ae3f1
Finished translating measure_x. Now to write tests
It's kinda ghastly at the moment. But lots of obvious improvements.
пре 7 година
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
пре 7 година
Pete Shadbolt
4db6cff2c0
Implement GraphState.measure_y() - not tested
пре 7 година
Pete Shadbolt
4646554779
Fix GraphState.to_json() for tuple-like nodes
пре 7 година
Pete Shadbolt
0d9c202a50
Need to clone measure_x and measure_y
пре 7 година
Pete Shadbolt
b4872397e9
Progress towards working measurement
пре 7 година
Pete Shadbolt
e398d39aae
Remove adj_list()
пре 7 година
Pete Shadbolt
beea2e4ddc
Test passing w/ clean GraphState :water_buffalo:
Got rid of all the debug harness and refactored graphstate.py
пре 8 година
Pete Shadbolt
b7cda793ed
Remove all debug statements
пре 8 година
Pete Shadbolt
1b787c4737
Think I got it
пре 8 година
Pete Shadbolt
b06c1c38d8
Think I found it
пре 8 година
Pete Shadbolt
faa8d05c3d
Fixing fixing fixing
пре 8 година
Pete Shadbolt
978b197d3d
Testing against CHP
пре 8 година
Pete Shadbolt
b67db178b2
Well this is bull shit
пре 8 година
Pete Shadbolt
4438ca80c3
Not much
пре 8 година
Pete Shadbolt
23fec82583
Preparing to implement measurement
пре 8 година
Pete Shadbolt
96e6678393
Auto layout
пре 8 година
Pete Shadbolt
7024c849d0
JS tests, remove visible graph state
пре 8 година
Pete Shadbolt
d3e93ca550
Fix small things
пре 8 година
Pete Shadbolt
513e09b681
Magical networkx integration :sparkling_heart:
пре 8 година
Pete Shadbolt
34fdffea9d
Woah - major refactoring! Bad bway!!! :gun: :gun:
пре 8 година
Pete Shadbolt
6e500dc7b5
Fix VisibleDeprecationWarning in `graphstate.py`
пре 8 година
Pete Shadbolt
7bbaa85001
Improvements in speed, interface
пре 8 година
Pete Shadbolt
3a39a49ef0
Looks a little more promising
пре 8 година
Pete Shadbolt
a8e9a9eae4
Start diffing
пре 8 година
Pete Shadbolt
b063d1ff1f
Remove act_local_rotation_by_name (simplifies API)
пре 8 година
Pete Shadbolt
b24debbd14
Improve server
пре 8 година
Pete Shadbolt
530f914a45
Rudimentary visualization is good
пре 8 година
Pete Shadbolt
f76b0d9595
Server / client architecture is looking good!
пре 8 година
Pete Shadbolt
58ced9272d
Add from_json, a buncha server/client stuff
пре 8 година