Pete Shadbolt
6763052d4f
Trying to get `abserver` to install automatically
7 yıl önce
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 yıl önce
Pete Shadbolt
c6384448e3
Fixed `GraphState.measure_y`
Had a dumb translation error
7 yıl önce
Pete Shadbolt
784f9d27dc
Add simple tests
7 yıl önce
Pete Shadbolt
b066129c42
Nicer pretty-printing
7 yıl önce
Pete Shadbolt
0229de062b
Very test passing
7 yıl önce
Pete Shadbolt
9623abfa10
Think I just did something right
7 yıl önce
Pete Shadbolt
49708d426a
Recover code with debug
7 yıl önce
Pete Shadbolt
1cb6a3b3c9
All single-qubit tests are now passing :rage3:
7 yıl önce
Pete Shadbolt
04afcae7da
Test passing, but
Some tests are disabled and forcing outcomes does not work
7 yıl önce
Pete Shadbolt
c793418517
Simplify measurement table
Dunno why it was ever `complex`
7 yıl önce
Pete Shadbolt
27df07bd52
Not there yet
7 yıl önce
Pete Shadbolt
e33919b634
PEP8, remove cruft
7 yıl önce
Pete Shadbolt
19972159e5
Needed to actually `return`
7 yıl önce
Pete Shadbolt
452430627a
Threaded HTTP server -> no laggy refresh
7 yıl önce
Pete Shadbolt
f09d1ae3f1
Finished translating measure_x. Now to write tests
It's kinda ghastly at the moment. But lots of obvious improvements.
7 yıl önce
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 yıl önce
Pete Shadbolt
4db6cff2c0
Implement GraphState.measure_y() - not tested
7 yıl önce
Pete Shadbolt
4646554779
Fix GraphState.to_json() for tuple-like nodes
7 yıl önce
Pete Shadbolt
0d9c202a50
Need to clone measure_x and measure_y
8 yıl önce
Pete Shadbolt
45bcdf1cca
Move lookup tables into a generated module
8 yıl önce
Pete Shadbolt
049d36c3d9
Invert `-v` flag, a few small tweaks
8 yıl önce
Pete Shadbolt
95dc82cb19
Buttery smooth :cow: :bread:
Made sure that `graph.js` dumps old graphs after use, and ensured that
`examples/stress_test` shuts down the connection after use (don't create millions
of clients).
8 yıl önce
Pete Shadbolt
548f7f59e0
Stopped WebSocket client from hanging :gun:
By default the server echoes messages to all clients.
The fancy.GraphState client was never calling ws.recv()
And hence a buffer was filling up somewhere
And we were hanging.
Adding a ws.recv() fixed the problem.
8 yıl önce
Pete Shadbolt
b4872397e9
Progress towards working measurement
8 yıl önce
Pete Shadbolt
e398d39aae
Remove adj_list()
8 yıl önce
Pete Shadbolt
2b9c7a7c83
For sam
8 yıl önce
Pete Shadbolt
0d78f792c2
Prepare for JS tests
8 yıl önce
Pete Shadbolt
beea2e4ddc
Test passing w/ clean GraphState :water_buffalo:
Got rid of all the debug harness and refactored graphstate.py
8 yıl önce
Pete Shadbolt
b7cda793ed
Remove all debug statements
8 yıl önce
Pete Shadbolt
1b787c4737
Think I got it
8 yıl önce
Pete Shadbolt
b06c1c38d8
Think I found it
8 yıl önce
Pete Shadbolt
faa8d05c3d
Fixing fixing fixing
8 yıl önce
Pete Shadbolt
f42c83a03d
Working random test against CHP
8 yıl önce
Pete Shadbolt
978b197d3d
Testing against CHP
8 yıl önce
Pete Shadbolt
b67db178b2
Well this is bull shit
8 yıl önce
Pete Shadbolt
4438ca80c3
Not much
8 yıl önce
Pete Shadbolt
54bc27c327
Tidy
8 yıl önce
Pete Shadbolt
0ec10d155c
Meaningful conjugation code
8 yıl önce
Pete Shadbolt
092afb82f6
Improve clifford.py, add measurement lookup table
8 yıl önce
Pete Shadbolt
a50ebdd71b
Implement conjugation
8 yıl önce
Pete Shadbolt
0bbec5ce97
Remove scipy dependency, add requirements.txt
8 yıl önce
Pete Shadbolt
23fec82583
Preparing to implement measurement
8 yıl önce
Pete Shadbolt
35ddc3397a
Repair missing VOPs
8 yıl önce
Pete Shadbolt
96e6678393
Auto layout
8 yıl önce
Pete Shadbolt
7024c849d0
JS tests, remove visible graph state
8 yıl önce
Pete Shadbolt
f30fbd6e2b
Some small tests
8 yıl önce
Pete Shadbolt
b3c9dce45b
Rudimentary editing is, CZs etc now work.
Next up: measurement
Also added a test on local complementation
8 yıl önce
Pete Shadbolt
d3e93ca550
Fix small things
8 yıl önce
Pete Shadbolt
513e09b681
Magical networkx integration :sparkling_heart:
8 yıl önce