Pete Shadbolt
1673cf1bda
Remove lattices.py
8 years ago
Pete Shadbolt
f4631c552f
Fix #7 -- alias literal clifford.by_names
8 years ago
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 years ago
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 years ago
Pete Shadbolt
15f3e54821
Still sketching
8 years ago
Pete Shadbolt
80f065c3b8
Actually make a simple unit cell
8 years ago
Pete Shadbolt
30bb8ceb8c
Don't print
8 years ago
Pete Shadbolt
5b007f9475
Add a sketch of lattice generation - half way
Very functional, very explicit node names - working so far
8 years ago
Pete Shadbolt
dfa0e0c6b8
Add fancy.GraphState.from_nx, which is a hack
To play around with lattices
8 years ago
Pete Shadbolt
6a3ff946b6
Bump version: 0.4.13 → 0.4.14
8 years ago
Pete Shadbolt
37412a5958
Bump version: 0.4.12 → 0.4.13
8 years ago
Pete Shadbolt
67693f32e5
Update docs
8 years ago
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 years ago
Pete Shadbolt
bcda8688c8
Add lattices.py
Empty for new
8 years ago
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 years ago
Pete Shadbolt
43a686c1c1
Bump version: 0.4.11 → 0.4.12
8 years ago
Pete Shadbolt
8337af0c7e
Even nicer stabilizer tables
8 years ago
Pete Shadbolt
a9e17c5fef
Nicer stabilizer tables
8 years ago
Pete Shadbolt
c4c33f0466
Improving docs
8 years ago
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 years ago
Pete Shadbolt
75730f954b
Add examples/visualization/auto_layout.py
8 years ago
Pete Shadbolt
c8992ce42d
Update documentation :book:
8 years ago
Pete Shadbolt
835c0679bd
Document GraphState
8 years ago
Pete Shadbolt
f5e7727d12
Bump version: 0.4.10 → 0.4.11
8 years ago
Pete Shadbolt
3dbd70e046
Add and test `GraphState.to_stabilizer()` :rage4:
8 years ago
Pete Shadbolt
1a9be70fb7
Bump version: 0.4.9 → 0.4.10
8 years ago
Pete Shadbolt
aadcd065af
Added bumpversion
8 years ago
Pete Shadbolt
afa23441f5
Bump version: 0.5.0 → 0.6.0
8 years ago
Pete Shadbolt
0cc01952e4
Bump version: 0.4.8 → 0.5.0
8 years ago
Pete Shadbolt
b41cc7945d
Add better notation
8 years ago
Pete Shadbolt
552d8576ed
Adding stabilizers
8 years ago
Pete Shadbolt
277f6a2d4f
PEP8
8 years ago
Pete Shadbolt
775eea02bb
Add a couple more tests
8 years ago
Pete Shadbolt
d3cbd7a1d3
Merge branch 'master' of github.com:peteshadbolt/abp
8 years ago
Pete Shadbolt
02b2f1f3c3
Various small requests from Mercedes
- `GraphState.copy()`
- `measure_x` etc.
- `measure(detail=True)`
- Better documentation on `remove_vop` and `act_local_rotation`
8 years ago
Pete Shadbolt
4fc08e8eed
Update README.md
8 years ago
Pete Shadbolt
201baff862
Update again
8 years ago
Pete Shadbolt
86bc79156a
Update example
8 years ago
Pete Shadbolt
ccabb2b7b5
Running Mercedes' example
8 years ago
Pete Shadbolt
2f91dcd6c3
Update gif
8 years ago
Pete Shadbolt
b88341a91b
Makefiles
8 years ago
Pete Shadbolt
fe532d14f7
Well that wasn't any fun
8 years ago
Pete Shadbolt
6107946244
Pratting with MANIFEST
8 years ago
Pete Shadbolt
cf473af577
Update version to 0.4.3
8 years ago
Pete Shadbolt
9f715aa713
Update server, some small docs
8 years ago
Pete Shadbolt
49478d4017
100% test passing :feelsgood:
Still need to "test the tests", but it's looking good.
8 years ago
Pete Shadbolt
7016e75be6
Cleaner measurement testing
8 years ago
Pete Shadbolt
b878528cce
Another one down
8 years ago
Pete Shadbolt
4124405697
Starting to refactor tests against A&B
8 years ago
Pete Shadbolt
88b99cc22a
Test passing, still need to do the nightmare
8 years ago