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