Pete Shadbolt
4db6cff2c0
Implement GraphState.measure_y() - not tested
il y a 8 ans
Pete Shadbolt
4646554779
Fix GraphState.to_json() for tuple-like nodes
il y a 8 ans
Pete Shadbolt
0d9c202a50
Need to clone measure_x and measure_y
il y a 8 ans
Pete Shadbolt
45bcdf1cca
Move lookup tables into a generated module
il y a 8 ans
Pete Shadbolt
4e1fd1061b
Tidy up, delete redundant examples
il y a 8 ans
Pete Shadbolt
049d36c3d9
Invert `-v` flag, a few small tweaks
il y a 8 ans
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).
il y a 8 ans
Pete Shadbolt
342934df42
Add stress test
il y a 8 ans
Pete Shadbolt
9ceb2e8b0a
Automatically center on new graphs
il y a 8 ans
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.
il y a 8 ans
Pete Shadbolt
b4872397e9
Progress towards working measurement
il y a 8 ans
Pete Shadbolt
e398d39aae
Remove adj_list()
il y a 8 ans
Pete Shadbolt
318ab65cf2
Small JS improvement
il y a 8 ans
Pete Shadbolt
2b9c7a7c83
For sam
il y a 8 ans
Pete Shadbolt
0d78f792c2
Prepare for JS tests
il y a 8 ans
Pete Shadbolt
8393390801
Add graphsim.GraphRegister.to_json() for tests
il y a 8 ans
Pete Shadbolt
a19b25b8bd
This time really remove .agignore
il y a 8 ans
Pete Shadbolt
beea2e4ddc
Test passing w/ clean GraphState :water_buffalo:
Got rid of all the debug harness and refactored graphstate.py
il y a 8 ans
Pete Shadbolt
b7cda793ed
Remove all debug statements
il y a 8 ans
Pete Shadbolt
24a00be14f
Full, heavy testing
il y a 8 ans
Pete Shadbolt
c2b942dada
Solved a dumb little problem. TODO: refactor :gun:
il y a 8 ans
Pete Shadbolt
1b787c4737
Think I got it
il y a 8 ans
Pete Shadbolt
b06c1c38d8
Think I found it
il y a 8 ans
Pete Shadbolt
faa8d05c3d
Fixing fixing fixing
il y a 8 ans
Pete Shadbolt
f42c83a03d
Working random test against CHP
il y a 8 ans
Pete Shadbolt
40fb9d4dfa
Testing against CHP
il y a 8 ans
Pete Shadbolt
978b197d3d
Testing against CHP
il y a 8 ans
Pete Shadbolt
4296e9d224
CHP
il y a 8 ans
Pete Shadbolt
b67db178b2
Well this is bull shit
il y a 8 ans
Pete Shadbolt
4438ca80c3
Not much
il y a 8 ans
Pete Shadbolt
54bc27c327
Tidy
il y a 8 ans
Pete Shadbolt
0ec10d155c
Meaningful conjugation code
il y a 8 ans
Pete Shadbolt
4c20d4965c
:recycle:
il y a 8 ans
Pete Shadbolt
96b772befe
Remove .agignore
il y a 8 ans
Pete Shadbolt
95c23a0beb
Remove rubbish
il y a 8 ans
Pete Shadbolt
092afb82f6
Improve clifford.py, add measurement lookup table
il y a 8 ans
Pete Shadbolt
a50ebdd71b
Implement conjugation
il y a 8 ans
Pete Shadbolt
0bbec5ce97
Remove scipy dependency, add requirements.txt
il y a 8 ans
Pete Shadbolt
68e7de7088
We need to emulate LocCliffOp.conjugate() -- WIP
il y a 8 ans
Pete Shadbolt
23fec82583
Preparing to implement measurement
il y a 8 ans
Pete Shadbolt
35ddc3397a
Repair missing VOPs
il y a 8 ans
Pete Shadbolt
96e6678393
Auto layout
il y a 8 ans
Pete Shadbolt
7024c849d0
JS tests, remove visible graph state
il y a 8 ans
Pete Shadbolt
f30fbd6e2b
Some small tests
il y a 8 ans
Pete Shadbolt
b3c9dce45b
Rudimentary editing is, CZs etc now work.
Next up: measurement
Also added a test on local complementation
il y a 8 ans
Pete Shadbolt
ebe01c94ab
Editor is now working
il y a 8 ans
Pete Shadbolt
691fdff2a2
Grid motion is good now
il y a 8 ans
Pete Shadbolt
b8dec55fab
Better selection
il y a 8 ans
Pete Shadbolt
b92c79eff6
Nicer editor.js :full_moon_with_face::
il y a 8 ans
Pete Shadbolt
d3e93ca550
Fix small things
il y a 8 ans