Pete Shadbolt
c793418517
Simplify measurement table
Dunno why it was ever `complex`
9 vuotta sitten
Pete Shadbolt
5bcf7fba92
Reduce node size
Actually happened in previous commit, can't be bothered to amend
9 vuotta sitten
Pete Shadbolt
452430627a
Threaded HTTP server -> no laggy refresh
9 vuotta sitten
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 vuotta sitten
Pete Shadbolt
45bcdf1cca
Move lookup tables into a generated module
9 vuotta sitten
Pete Shadbolt
049d36c3d9
Invert `-v` flag, a few small tweaks
9 vuotta sitten
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).
9 vuotta sitten
Pete Shadbolt
9ceb2e8b0a
Automatically center on new graphs
9 vuotta sitten
Pete Shadbolt
318ab65cf2
Small JS improvement
9 vuotta sitten
Pete Shadbolt
2b9c7a7c83
For sam
9 vuotta sitten
Pete Shadbolt
0d78f792c2
Prepare for JS tests
9 vuotta sitten
Pete Shadbolt
beea2e4ddc
Test passing w/ clean GraphState :water_buffalo:
Got rid of all the debug harness and refactored graphstate.py
9 vuotta sitten
Pete Shadbolt
4c20d4965c
:recycle:
9 vuotta sitten
Pete Shadbolt
23fec82583
Preparing to implement measurement
9 vuotta sitten
Pete Shadbolt
96e6678393
Auto layout
9 vuotta sitten
Pete Shadbolt
7024c849d0
JS tests, remove visible graph state
9 vuotta sitten
Pete Shadbolt
f30fbd6e2b
Some small tests
9 vuotta sitten
Pete Shadbolt
b3c9dce45b
Rudimentary editing is, CZs etc now work.
Next up: measurement
Also added a test on local complementation
9 vuotta sitten
Pete Shadbolt
ebe01c94ab
Editor is now working
9 vuotta sitten
Pete Shadbolt
691fdff2a2
Grid motion is good now
9 vuotta sitten
Pete Shadbolt
b8dec55fab
Better selection
9 vuotta sitten
Pete Shadbolt
b92c79eff6
Nicer editor.js :full_moon_with_face::
9 vuotta sitten
Pete Shadbolt
eec6be924a
Matrices are working noew
9 vuotta sitten
Pete Shadbolt
0c54c159ef
Small changes to editor
9 vuotta sitten
Pete Shadbolt
c2f5ebba1b
Proof of principle
9 vuotta sitten
Pete Shadbolt
41a83246f2
Not much
9 vuotta sitten
Pete Shadbolt
477f62d377
Small optimizations
9 vuotta sitten
Pete Shadbolt
b3499143e2
Small optimizations
9 vuotta sitten
Pete Shadbolt
9625e01394
Momentum
9 vuotta sitten
Pete Shadbolt
6254467bce
Added gimbal
9 vuotta sitten
Pete Shadbolt
f48e620c1a
Popups
9 vuotta sitten
Pete Shadbolt
46df289aed
Better mouse handling
9 vuotta sitten
Pete Shadbolt
37913a4b2c
Lattice example
9 vuotta sitten
Pete Shadbolt
f533e70034
Remove requirejs
9 vuotta sitten
Pete Shadbolt
548806927b
Better
9 vuotta sitten
Pete Shadbolt
82fd2d911f
Getting somewhere with requirejs
9 vuotta sitten
Pete Shadbolt
44d3513b7f
Fucking javascript bastard :gun:
9 vuotta sitten
Pete Shadbolt
abf5fa8a31
RequireJS
9 vuotta sitten
Pete Shadbolt
9bab678943
Somehow lost the websocket interface
9 vuotta sitten
Pete Shadbolt
83575e3bc9
More tidying
9 vuotta sitten
Pete Shadbolt
8c2218e48d
Just tidying up
9 vuotta sitten
Pete Shadbolt
bd1861ce8a
Tidy javascript
9 vuotta sitten
Pete Shadbolt
60a5a22c06
Server now serves HTML to localhost:5001 :gun:
And we automatically pop a browser window when the server boots. Nice
9 vuotta sitten
Pete Shadbolt
7d90052833
Aliasing imports
9 vuotta sitten
Pete Shadbolt
183e501060
Anders & Briegel's CZ table passes my tests
But it is not symmetric. I wonder why. Can run with either for now.
9 vuotta sitten
Pete Shadbolt
63c6de30ae
Now we can render to the browser
10 vuotta sitten
Pete Shadbolt
9a794c9618
Get data into browser
10 vuotta sitten
Pete Shadbolt
87c4c4f0a8
Working on JSON
10 vuotta sitten
Pete Shadbolt
857427b47c
Beautify
10 vuotta sitten
Pete Shadbolt
df978f2f9e
Better labelling
10 vuotta sitten