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