Pete Shadbolt
6ed977ae2b
Remove CHP for now -- it was only used for testing
pirms 8 gadiem
Pete Shadbolt
1f7fea7399
Add demo GIF
pirms 8 gadiem
Pete Shadbolt
85d6c262d9
PIP seems to be kinda working now
pirms 8 gadiem
Pete Shadbolt
3e2823d7b5
Remove old debug code
pirms 8 gadiem
Pete Shadbolt
98e8241d29
Update to v0.3, prepare for pip
pirms 8 gadiem
Pete Shadbolt
c9d7fe8d18
Everything works but it is a bit awkward
pirms 8 gadiem
Pete Shadbolt
6763052d4f
Trying to get `abserver` to install automatically
pirms 8 gadiem
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.
pirms 8 gadiem
Pete Shadbolt
c6384448e3
Fixed `GraphState.measure_y`
Had a dumb translation error
pirms 8 gadiem
Pete Shadbolt
784f9d27dc
Add simple tests
pirms 8 gadiem
Pete Shadbolt
b066129c42
Nicer pretty-printing
pirms 8 gadiem
Pete Shadbolt
83a6fd0ee8
Add dependencies to `setup.py`
pirms 8 gadiem
Pete Shadbolt
bc731bd027
.gitignore
pirms 8 gadiem
Pete Shadbolt
0229de062b
Very test passing
pirms 8 gadiem
Pete Shadbolt
9623abfa10
Think I just did something right
pirms 8 gadiem
Pete Shadbolt
0d2346ae9c
Not much
pirms 8 gadiem
Pete Shadbolt
49708d426a
Recover code with debug
pirms 8 gadiem
Pete Shadbolt
b31fb544bf
Found a nasty bug
pirms 8 gadiem
Pete Shadbolt
1cb6a3b3c9
All single-qubit tests are now passing :rage3:
pirms 8 gadiem
Pete Shadbolt
04afcae7da
Test passing, but
Some tests are disabled and forcing outcomes does not work
pirms 8 gadiem
Pete Shadbolt
c793418517
Simplify measurement table
Dunno why it was ever `complex`
pirms 8 gadiem
Pete Shadbolt
27df07bd52
Not there yet
pirms 8 gadiem
Pete Shadbolt
924e240285
Add a probabilistic test
pirms 8 gadiem
Pete Shadbolt
e33919b634
PEP8, remove cruft
pirms 8 gadiem
Pete Shadbolt
19972159e5
Needed to actually `return`
pirms 8 gadiem
Pete Shadbolt
5bcf7fba92
Reduce node size
Actually happened in previous commit, can't be bothered to amend
pirms 8 gadiem
Pete Shadbolt
452430627a
Threaded HTTP server -> no laggy refresh
pirms 8 gadiem
Pete Shadbolt
f09d1ae3f1
Finished translating measure_x. Now to write tests
It's kinda ghastly at the moment. But lots of obvious improvements.
pirms 8 gadiem
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
pirms 8 gadiem
Pete Shadbolt
4db6cff2c0
Implement GraphState.measure_y() - not tested
pirms 8 gadiem
Pete Shadbolt
4646554779
Fix GraphState.to_json() for tuple-like nodes
pirms 8 gadiem
Pete Shadbolt
0d9c202a50
Need to clone measure_x and measure_y
pirms 8 gadiem
Pete Shadbolt
45bcdf1cca
Move lookup tables into a generated module
pirms 8 gadiem
Pete Shadbolt
4e1fd1061b
Tidy up, delete redundant examples
pirms 8 gadiem
Pete Shadbolt
049d36c3d9
Invert `-v` flag, a few small tweaks
pirms 8 gadiem
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).
pirms 8 gadiem
Pete Shadbolt
342934df42
Add stress test
pirms 8 gadiem
Pete Shadbolt
9ceb2e8b0a
Automatically center on new graphs
pirms 8 gadiem
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.
pirms 8 gadiem
Pete Shadbolt
b4872397e9
Progress towards working measurement
pirms 8 gadiem
Pete Shadbolt
e398d39aae
Remove adj_list()
pirms 8 gadiem
Pete Shadbolt
318ab65cf2
Small JS improvement
pirms 8 gadiem
Pete Shadbolt
2b9c7a7c83
For sam
pirms 8 gadiem
Pete Shadbolt
0d78f792c2
Prepare for JS tests
pirms 8 gadiem
Pete Shadbolt
8393390801
Add graphsim.GraphRegister.to_json() for tests
pirms 8 gadiem
Pete Shadbolt
a19b25b8bd
This time really remove .agignore
pirms 8 gadiem
Pete Shadbolt
beea2e4ddc
Test passing w/ clean GraphState :water_buffalo:
Got rid of all the debug harness and refactored graphstate.py
pirms 8 gadiem
Pete Shadbolt
b7cda793ed
Remove all debug statements
pirms 8 gadiem
Pete Shadbolt
24a00be14f
Full, heavy testing
pirms 8 gadiem
Pete Shadbolt
c2b942dada
Solved a dumb little problem. TODO: refactor :gun:
pirms 8 gadiem