Pete Shadbolt
329cbe70e3
PEP8
преди 8 години
Pete Shadbolt
9bfe0459bd
Add a test for measure_sequence, closes #13
преди 8 години
Pete Shadbolt
040d90889c
Merge branch 'master' of github.com:peteshadbolt/abp
преди 8 години
Pete Shadbolt
e7da39ff3f
Bump version: 0.6.0 → 0.6.1
преди 8 години
Pete Shadbolt
51e128b870
Bump version: 0.5.0 → 0.6.0
преди 8 години
Pete Shadbolt
76e9ddd285
Bump version: 0.4.16 → 0.5.0
преди 8 години
Pete Shadbolt
9b6b0a83d6
Merge branch 'pete'
This merge updates abpserver to support a full set of operations
including creation / deletion, gates, local complementation, and
measurements through the web interface. So now you can click on qubits
and measure them in X or whatever.
I've tested it but I bet there are bugs -- please raise an issue if you
find one.
Conflicts:
examples/visualization/grid_2d.py
преди 8 години
Pete Shadbolt
6a8b1a9ceb
Fix examples, improve robustness.
преди 8 години
Pete Shadbolt
6b3cb8bc37
Re-enable curved lines.
преди 8 години
Pete Shadbolt
f94d3eabd3
Multiple clients viewing / editing same state.
преди 8 години
Pete Shadbolt
fed7813eb3
We did need one of those functions.
преди 8 години
Pete Shadbolt
6c42ca2b3c
Remove useless functions from anders_briegel.js
преди 8 години
Pete Shadbolt
3edf1643e4
Remove tests.js
преди 8 години
Pete Shadbolt
f1a7498f9c
Test in JS for nodes which already exists.
преди 8 години
Pete Shadbolt
e5ad12cdb1
Reduced node-already-exists to a warning
преди 8 години
Pete Shadbolt
d6aefcdee8
More robust reconnect on server restart.
преди 8 години
Pete Shadbolt
bdf7e45606
Now we can do the complete set of operations.
преди 8 години
Pete Shadbolt
209209c71d
Increased robustness. Some DRY crimes.
преди 8 години
Pete Shadbolt
37dd9265ce
Can now sketchily delete nodes. Needs work.
преди 8 години
Pete Shadbolt
1c80b1f394
Selection now works - pretty hacky though.
преди 8 години
Pete Shadbolt
5567258c53
Now I can do CZ gates. Focus sucks though.
преди 8 години
Pete Shadbolt
899b202810
Closed the loop - JS -> Python -> JS
преди 8 години
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?
преди 8 години
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!
преди 8 години
Pete Shadbolt
e273b3107f
Can message abpserver from JavaScript
преди 8 години
Pete Shadbolt
826a8b26d3
Starting to work on stripping out abp.js
преди 8 години
Sam Morley-Short
10860e2066
measure_sequence now working, was not in develop mode :baby:
преди 8 години
Sam Morley-Short
9377249675
measure_sequences added, not yet working
преди 8 години
Sam Morley-Short
f10d8694bc
Merge branch 'master' of https://github.com/peteshadbolt/abp
преди 8 години
Pete Shadbolt
bd55821c11
Add an example of 2D grid generation ( #12 )
преди 8 години
Pete Shadbolt
b163e8582b
Don't give up on network timeout
преди 8 години
Pete Shadbolt
15848d34bd
Remove redundant debug option
`prefix` was used for testing against original implementation
преди 8 години
Pete Shadbolt
f0b4da3183
Bump version: 0.4.15 → 0.4.16
преди 8 години
Pete Shadbolt
e650eae068
Merge branch 'pete'
преди 8 години
Pete Shadbolt
110312a897
Suggested fix to `friend` issue
преди 8 години
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.
преди 8 години
Pete Shadbolt
1673cf1bda
Remove lattices.py
преди 8 години
Pete Shadbolt
a1f4a3b7c3
Remove lattices.py on master -- not finished
преди 8 години
Pete Shadbolt
f4bf42136d
Cleaner docs: index.rst
преди 8 години
Pete Shadbolt
c1d9f1d53e
Merge branch 'pete'
преди 8 години
Pete Shadbolt
f4631c552f
Fix #7 -- alias literal clifford.by_names
преди 8 години
Pete Shadbolt
186bed42b7
Bump version: 0.4.14 → 0.4.15
преди 8 години
Pete Shadbolt
5ef9f18d38
Merge branch 'pete'
преди 8 години
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.
преди 8 години
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`
преди 8 години
Pete Shadbolt
15f3e54821
Still sketching
преди 8 години
Pete Shadbolt
80f065c3b8
Actually make a simple unit cell
преди 8 години
Pete Shadbolt
30bb8ceb8c
Don't print
преди 8 години
Pete Shadbolt
5b007f9475
Add a sketch of lattice generation - half way
Very functional, very explicit node names - working so far
преди 8 години
Pete Shadbolt
dfa0e0c6b8
Add fancy.GraphState.from_nx, which is a hack
To play around with lattices
преди 8 години