Pete Shadbolt
fe34f07db3
Bump version: 0.4.21 → 0.4.22
7 роки тому
Pete Shadbolt
b2917465fe
Remove legacy HTML/JS, deterministic server
7 роки тому
Pete Shadbolt
6221fcc55c
More PEP8
7 роки тому
Pete Shadbolt
6250fbc0d0
PEP compliance
7 роки тому
Pete Shadbolt
cd589612b2
Move DETERMINISTIC to a library setting
7 роки тому
Pete Shadbolt
0c7d9c0435
Small docstring update
7 роки тому
Pete Shadbolt
9ab83c46ac
Fix up some docstrings
7 роки тому
Pete Shadbolt
dd12245100
Bump version: 0.4.20 → 0.4.21
7 роки тому
Pete Shadbolt
ec23365183
Finish updating docs, add Stabilizer.__getitem__
7 роки тому
Pete Shadbolt
b58079172d
Working on syntactic sugar and docs simultaneously
7 роки тому
Pete Shadbolt
876c1ac2ad
Update README, docs
7 роки тому
Pete Shadbolt
b15e6283da
Bump version: 0.4.19 → 0.4.20
7 роки тому
Pete Shadbolt
9939ec6f13
Pretty
7 роки тому
Pete Shadbolt
8bb6f81473
Bump version: 0.4.18 → 0.4.19
7 роки тому
Pete Shadbolt
da9cec2764
Use default monospace font
7 роки тому
Pete Shadbolt
848196045e
Bump version: 0.4.18 → 0.4.19
7 роки тому
Pete Shadbolt
d91ea156dc
Show version number in browser
7 роки тому
Pete Shadbolt
b919a333e9
More leniency when differentiating click/drag
7 роки тому
Pete Shadbolt
329cbe70e3
PEP8
7 роки тому
Pete Shadbolt
6a8b1a9ceb
Fix examples, improve robustness.
7 роки тому
Pete Shadbolt
6b3cb8bc37
Re-enable curved lines.
7 роки тому
Pete Shadbolt
fed7813eb3
We did need one of those functions.
7 роки тому
Pete Shadbolt
6c42ca2b3c
Remove useless functions from anders_briegel.js
7 роки тому
Pete Shadbolt
3edf1643e4
Remove tests.js
7 роки тому
Pete Shadbolt
f1a7498f9c
Test in JS for nodes which already exists.
7 роки тому
Pete Shadbolt
e5ad12cdb1
Reduced node-already-exists to a warning
7 роки тому
Pete Shadbolt
d6aefcdee8
More robust reconnect on server restart.
7 роки тому
Pete Shadbolt
bdf7e45606
Now we can do the complete set of operations.
7 роки тому
Pete Shadbolt
209209c71d
Increased robustness. Some DRY crimes.
7 роки тому
Pete Shadbolt
37dd9265ce
Can now sketchily delete nodes. Needs work.
7 роки тому
Pete Shadbolt
1c80b1f394
Selection now works - pretty hacky though.
7 роки тому
Pete Shadbolt
5567258c53
Now I can do CZ gates. Focus sucks though.
7 роки тому
Pete Shadbolt
899b202810
Closed the loop - JS -> Python -> JS
7 роки тому
Pete Shadbolt
352a1d4325
`add_node` is a constant annoyance :rage4:
NetworkX provides `add_node`, we don't, leads to missing
`graph.node["vop"]`. Does this fix it?
7 роки тому
Pete Shadbolt
d6b5f540df
Add & test GraphState.from_json
We needed to implement `GraphState.from_json` so that the server can
track a copy of the client's state. That's a useful byproduct of this
work!
7 роки тому
Pete Shadbolt
e273b3107f
Can message abpserver from JavaScript
7 роки тому
Pete Shadbolt
826a8b26d3
Starting to work on stripping out abp.js
7 роки тому
Sam Morley-Short
10860e2066
measure_sequence now working, was not in develop mode :baby:
7 роки тому
Sam Morley-Short
9377249675
measure_sequences added, not yet working
7 роки тому
Pete Shadbolt
b163e8582b
Don't give up on network timeout
7 роки тому
Pete Shadbolt
15848d34bd
Remove redundant debug option
`prefix` was used for testing against original implementation
7 роки тому
Pete Shadbolt
110312a897
Suggested fix to `friend` issue
7 роки тому
Pete Shadbolt
8b69ef786e
Don't update fancy.GraphState on close.
Fixes #8, "Allow control over which `GraphState` operations are depicted by server". Enables use of multiple visualized GraphStates in the same program. Downside -- you have to call `update()` at the end of your program.
7 роки тому
Pete Shadbolt
1673cf1bda
Remove lattices.py
7 роки тому
Pete Shadbolt
a1f4a3b7c3
Remove lattices.py on master -- not finished
7 роки тому
Pete Shadbolt
f4631c552f
Fix #7 -- alias literal clifford.by_names
7 роки тому
Pete Shadbolt
05b12a7bf1
Removed `fancy.GraphState.from_nx` -- "just works"
Moved that functionality into `abp.GraphState`, so that you can
just run `state = abp.GraphState(nx.Graph(((0,1),)))`, `state =
abp.fancy.GraphState(nx.Graph(((0,1),))` or whatever.
7 роки тому
Pete Shadbolt
577e917732
More convenient networkx -> abp conversion
Now you can write `abp.fancy.GraphState(nx.Graph())`.
TODO: make this work for a non-fancy `GraphState`
7 роки тому
Pete Shadbolt
15f3e54821
Still sketching
7 роки тому
Pete Shadbolt
80f065c3b8
Actually make a simple unit cell
7 роки тому