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
45bcdf1cca
Move lookup tables into a generated module
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
9ceb2e8b0a
Automatically center on new graphs
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
beea2e4ddc
Test passing w/ clean GraphState :water_buffalo:
Got rid of all the debug harness and refactored graphstate.py
pirms 8 gadiem
Pete Shadbolt
4c20d4965c
:recycle:
pirms 8 gadiem
Pete Shadbolt
23fec82583
Preparing to implement measurement
pirms 8 gadiem
Pete Shadbolt
96e6678393
Auto layout
pirms 8 gadiem
Pete Shadbolt
7024c849d0
JS tests, remove visible graph state
pirms 8 gadiem
Pete Shadbolt
f30fbd6e2b
Some small tests
pirms 8 gadiem
Pete Shadbolt
b3c9dce45b
Rudimentary editing is, CZs etc now work.
Next up: measurement
Also added a test on local complementation
pirms 8 gadiem
Pete Shadbolt
ebe01c94ab
Editor is now working
pirms 8 gadiem
Pete Shadbolt
691fdff2a2
Grid motion is good now
pirms 8 gadiem
Pete Shadbolt
b8dec55fab
Better selection
pirms 8 gadiem
Pete Shadbolt
b92c79eff6
Nicer editor.js :full_moon_with_face::
pirms 8 gadiem
Pete Shadbolt
eec6be924a
Matrices are working noew
pirms 8 gadiem
Pete Shadbolt
0c54c159ef
Small changes to editor
pirms 8 gadiem
Pete Shadbolt
c2f5ebba1b
Proof of principle
pirms 8 gadiem
Pete Shadbolt
41a83246f2
Not much
pirms 8 gadiem
Pete Shadbolt
477f62d377
Small optimizations
pirms 8 gadiem
Pete Shadbolt
b3499143e2
Small optimizations
pirms 8 gadiem
Pete Shadbolt
9625e01394
Momentum
pirms 8 gadiem
Pete Shadbolt
6254467bce
Added gimbal
pirms 8 gadiem
Pete Shadbolt
f48e620c1a
Popups
pirms 8 gadiem
Pete Shadbolt
46df289aed
Better mouse handling
pirms 8 gadiem
Pete Shadbolt
37913a4b2c
Lattice example
pirms 8 gadiem
Pete Shadbolt
f533e70034
Remove requirejs
pirms 8 gadiem
Pete Shadbolt
548806927b
Better
pirms 8 gadiem
Pete Shadbolt
82fd2d911f
Getting somewhere with requirejs
pirms 8 gadiem
Pete Shadbolt
44d3513b7f
Fucking javascript bastard :gun:
pirms 8 gadiem
Pete Shadbolt
abf5fa8a31
RequireJS
pirms 8 gadiem
Pete Shadbolt
9bab678943
Somehow lost the websocket interface
pirms 8 gadiem
Pete Shadbolt
83575e3bc9
More tidying
pirms 8 gadiem
Pete Shadbolt
8c2218e48d
Just tidying up
pirms 8 gadiem
Pete Shadbolt
bd1861ce8a
Tidy javascript
pirms 8 gadiem
Pete Shadbolt
60a5a22c06
Server now serves HTML to localhost:5001 :gun:
And we automatically pop a browser window when the server boots. Nice
pirms 8 gadiem
Pete Shadbolt
7d90052833
Aliasing imports
pirms 8 gadiem
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.
pirms 8 gadiem
Pete Shadbolt
63c6de30ae
Now we can render to the browser
pirms 8 gadiem
Pete Shadbolt
9a794c9618
Get data into browser
pirms 8 gadiem
Pete Shadbolt
87c4c4f0a8
Working on JSON
pirms 8 gadiem
Pete Shadbolt
857427b47c
Beautify
pirms 8 gadiem
Pete Shadbolt
df978f2f9e
Better labelling
pirms 8 gadiem
Pete Shadbolt
5d45eb8292
Add prototype renderer
pirms 8 gadiem
Pete Shadbolt
062eb828d5
Make it possible to add vertices without adding edges
pirms 8 gadiem