Pete Shadbolt
1c80b1f394
Selection now works - pretty hacky though.
8 anos atrás
Pete Shadbolt
5567258c53
Now I can do CZ gates. Focus sucks though.
8 anos atrás
Pete Shadbolt
899b202810
Closed the loop - JS -> Python -> JS
8 anos atrás
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 anos atrás
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 anos atrás
Pete Shadbolt
e273b3107f
Can message abpserver from JavaScript
8 anos atrás
Pete Shadbolt
826a8b26d3
Starting to work on stripping out abp.js
8 anos atrás
Pete Shadbolt
b163e8582b
Don't give up on network timeout
8 anos atrás
Pete Shadbolt
15848d34bd
Remove redundant debug option
`prefix` was used for testing against original implementation
8 anos atrás
Pete Shadbolt
f0b4da3183
Bump version: 0.4.15 → 0.4.16
8 anos atrás
Pete Shadbolt
e650eae068
Merge branch 'pete'
8 anos atrás
Pete Shadbolt
110312a897
Suggested fix to `friend` issue
8 anos atrás
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 anos atrás
Pete Shadbolt
1673cf1bda
Remove lattices.py
8 anos atrás
Pete Shadbolt
a1f4a3b7c3
Remove lattices.py on master -- not finished
8 anos atrás
Pete Shadbolt
f4bf42136d
Cleaner docs: index.rst
8 anos atrás
Pete Shadbolt
c1d9f1d53e
Merge branch 'pete'
8 anos atrás
Pete Shadbolt
f4631c552f
Fix #7 -- alias literal clifford.by_names
8 anos atrás
Pete Shadbolt
186bed42b7
Bump version: 0.4.14 → 0.4.15
8 anos atrás
Pete Shadbolt
5ef9f18d38
Merge branch 'pete'
8 anos atrás
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 anos atrás
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 anos atrás
Pete Shadbolt
15f3e54821
Still sketching
8 anos atrás
Pete Shadbolt
80f065c3b8
Actually make a simple unit cell
8 anos atrás
Pete Shadbolt
30bb8ceb8c
Don't print
8 anos atrás
Pete Shadbolt
5b007f9475
Add a sketch of lattice generation - half way
Very functional, very explicit node names - working so far
8 anos atrás
Pete Shadbolt
dfa0e0c6b8
Add fancy.GraphState.from_nx, which is a hack
To play around with lattices
8 anos atrás
Pete Shadbolt
75227a354e
Merge branch 'pete'
Conflicts:
.bumpversion.cfg
setup.py
8 anos atrás
Pete Shadbolt
6a3ff946b6
Bump version: 0.4.13 → 0.4.14
8 anos atrás
Pete Shadbolt
37412a5958
Bump version: 0.4.12 → 0.4.13
8 anos atrás
Pete Shadbolt
67693f32e5
Update docs
8 anos atrás
Pete Shadbolt
4b443d7d01
Purge `add_node`, add `add_qubit`
Trying to get more sensible defaults for people who like to think about
graphstates rather than circuits.
Repsponse to issue #4 : [Link](https://github.com/peteshadbolt/abp/issues/4 )
8 anos atrás
Pete Shadbolt
2d6de7f99e
Merge branch 'master' of github.com:peteshadbolt/abp
8 anos atrás
Pete Shadbolt
7e46412a38
Bump version: 0.4.12 → 0.4.13
8 anos atrás
Pete Shadbolt
f84d5e8809
Update README.md
8 anos atrás
Pete Shadbolt
5d4791427d
Update README.md
8 anos atrás
Pete Shadbolt
9e18b46f3c
Update README.md
8 anos atrás
Pete Shadbolt
bcda8688c8
Add lattices.py
Empty for new
8 anos atrás
Pete Shadbolt
bf22c0f5e7
Skip tests that depend on the original C++
I have written a tonne of tests that compare against A&B's original C++.
Until I can distribute the `anders_briegel` package which implements
that original code, we now skip those tests if we see an ImportError.
TODO: seems a little over-zealous right now ...
8 anos atrás
Pete Shadbolt
43a686c1c1
Bump version: 0.4.11 → 0.4.12
8 anos atrás
Pete Shadbolt
8337af0c7e
Even nicer stabilizer tables
8 anos atrás
Pete Shadbolt
a9e17c5fef
Nicer stabilizer tables
8 anos atrás
Pete Shadbolt
c4c33f0466
Improving docs
8 anos atrás
Pete Shadbolt
ae65d09e7f
Give dimension as keyword arg
Is this going to fix errors with different versions of networkx? I don't
know -- I'm on a plane mate.
8 anos atrás
Pete Shadbolt
75730f954b
Add examples/visualization/auto_layout.py
8 anos atrás
Pete Shadbolt
c8992ce42d
Update documentation :book:
8 anos atrás
Pete Shadbolt
835c0679bd
Document GraphState
8 anos atrás
Pete Shadbolt
f5e7727d12
Bump version: 0.4.10 → 0.4.11
8 anos atrás
Pete Shadbolt
3dbd70e046
Add and test `GraphState.to_stabilizer()` :rage4:
8 anos atrás
Pete Shadbolt
1a9be70fb7
Bump version: 0.4.9 → 0.4.10
8 anos atrás