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.
пре 9 година
Pete Shadbolt
c6384448e3
Fixed `GraphState.measure_y`
Had a dumb translation error
пре 9 година
Pete Shadbolt
784f9d27dc
Add simple tests
пре 9 година
Pete Shadbolt
0229de062b
Very test passing
пре 9 година
Pete Shadbolt
9623abfa10
Think I just did something right
пре 9 година
Pete Shadbolt
0d2346ae9c
Not much
пре 9 година
Pete Shadbolt
b31fb544bf
Found a nasty bug
пре 9 година
Pete Shadbolt
1cb6a3b3c9
All single-qubit tests are now passing :rage3:
пре 9 година
Pete Shadbolt
04afcae7da
Test passing, but
Some tests are disabled and forcing outcomes does not work
пре 9 година
Pete Shadbolt
c793418517
Simplify measurement table
Dunno why it was ever `complex`
пре 9 година
Pete Shadbolt
27df07bd52
Not there yet
пре 9 година
Pete Shadbolt
924e240285
Add a probabilistic test
пре 9 година
Pete Shadbolt
19972159e5
Needed to actually `return`
пре 9 година
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
пре 9 година
Pete Shadbolt
4646554779
Fix GraphState.to_json() for tuple-like nodes
пре 9 година
Pete Shadbolt
0d9c202a50
Need to clone measure_x and measure_y
пре 9 година
Pete Shadbolt
45bcdf1cca
Move lookup tables into a generated module
пре 9 година
Pete Shadbolt
b4872397e9
Progress towards working measurement
пре 9 година
Pete Shadbolt
e398d39aae
Remove adj_list()
пре 9 година
Pete Shadbolt
318ab65cf2
Small JS improvement
пре 9 година
Pete Shadbolt
8393390801
Add graphsim.GraphRegister.to_json() for tests
пре 9 година
Pete Shadbolt
24a00be14f
Full, heavy testing
пре 9 година
Pete Shadbolt
c2b942dada
Solved a dumb little problem. TODO: refactor :gun:
пре 9 година
Pete Shadbolt
faa8d05c3d
Fixing fixing fixing
пре 9 година
Pete Shadbolt
f42c83a03d
Working random test against CHP
пре 9 година
Pete Shadbolt
40fb9d4dfa
Testing against CHP
пре 9 година
Pete Shadbolt
4296e9d224
CHP
пре 9 година
Pete Shadbolt
b67db178b2
Well this is bull shit
пре 9 година
Pete Shadbolt
4438ca80c3
Not much
пре 9 година
Pete Shadbolt
0ec10d155c
Meaningful conjugation code
пре 9 година
Pete Shadbolt
092afb82f6
Improve clifford.py, add measurement lookup table
пре 9 година
Pete Shadbolt
a50ebdd71b
Implement conjugation
пре 9 година
Pete Shadbolt
0bbec5ce97
Remove scipy dependency, add requirements.txt
пре 9 година
Pete Shadbolt
68e7de7088
We need to emulate LocCliffOp.conjugate() -- WIP
пре 9 година
Pete Shadbolt
23fec82583
Preparing to implement measurement
пре 9 година
Pete Shadbolt
96e6678393
Auto layout
пре 9 година
Pete Shadbolt
7024c849d0
JS tests, remove visible graph state
пре 9 година
Pete Shadbolt
b3c9dce45b
Rudimentary editing is, CZs etc now work.
Next up: measurement
Also added a test on local complementation
пре 9 година
Pete Shadbolt
d3e93ca550
Fix small things
пре 9 година
Pete Shadbolt
513e09b681
Magical networkx integration :sparkling_heart:
пре 9 година
Pete Shadbolt
34fdffea9d
Woah - major refactoring! Bad bway!!! :gun: :gun:
пре 9 година
Pete Shadbolt
7bbaa85001
Improvements in speed, interface
пре 9 година
Pete Shadbolt
3a39a49ef0
Looks a little more promising
пре 9 година
Pete Shadbolt
b063d1ff1f
Remove act_local_rotation_by_name (simplifies API)
пре 9 година
Pete Shadbolt
b24debbd14
Improve server
пре 9 година
Pete Shadbolt
58ced9272d
Add from_json, a buncha server/client stuff
пре 10 година
Pete Shadbolt
7d90052833
Aliasing imports
пре 10 година
Pete Shadbolt
37404bc535
Remove QTIP dependency. Not needed
пре 10 година
Pete Shadbolt
b0fca20333
Tidy up
пре 10 година
Pete Shadbolt
bfdc66494d
Switch off some tests if not using legacy table
пре 10 година