Pete Shadbolt
b163e8582b
Don't give up on network timeout
7 years ago
Pete Shadbolt
15848d34bd
Remove redundant debug option
`prefix` was used for testing against original implementation
7 years ago
Pete Shadbolt
110312a897
Suggested fix to `friend` issue
7 years ago
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 years ago
Pete Shadbolt
1673cf1bda
Remove lattices.py
7 years ago
Pete Shadbolt
a1f4a3b7c3
Remove lattices.py on master -- not finished
7 years ago
Pete Shadbolt
f4631c552f
Fix #7 -- alias literal clifford.by_names
7 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.
7 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`
7 years ago
Pete Shadbolt
15f3e54821
Still sketching
7 years ago
Pete Shadbolt
80f065c3b8
Actually make a simple unit cell
7 years ago
Pete Shadbolt
30bb8ceb8c
Don't print
7 years ago
Pete Shadbolt
5b007f9475
Add a sketch of lattice generation - half way
Very functional, very explicit node names - working so far
7 years ago
Pete Shadbolt
dfa0e0c6b8
Add fancy.GraphState.from_nx, which is a hack
To play around with lattices
7 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 )
7 years ago
Pete Shadbolt
bcda8688c8
Add lattices.py
Empty for new
7 years ago
Pete Shadbolt
8337af0c7e
Even nicer stabilizer tables
7 years ago
Pete Shadbolt
a9e17c5fef
Nicer stabilizer tables
7 years ago
Pete Shadbolt
c4c33f0466
Improving docs
7 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.
7 years ago
Pete Shadbolt
75730f954b
Add examples/visualization/auto_layout.py
7 years ago
Pete Shadbolt
c8992ce42d
Update documentation :book:
7 years ago
Pete Shadbolt
835c0679bd
Document GraphState
7 years ago
Pete Shadbolt
3dbd70e046
Add and test `GraphState.to_stabilizer()` :rage4:
7 years ago
Pete Shadbolt
b41cc7945d
Add better notation
7 years ago
Pete Shadbolt
552d8576ed
Adding stabilizers
7 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`
7 years ago
Pete Shadbolt
ccabb2b7b5
Running Mercedes' example
7 years ago
Pete Shadbolt
b88341a91b
Makefiles
7 years ago
Pete Shadbolt
9f715aa713
Update server, some small docs
7 years ago
Pete Shadbolt
d5e7e5d9b3
Better integration of ``mock``
7 years ago
Pete Shadbolt
eb65808525
Update README and docs
7 years ago
Pete Shadbolt
3f653e20d2
Better docs
7 years ago
Pete Shadbolt
2126ae219f
Better docs
7 years ago
Pete Shadbolt
9776d3e10a
Better mocking - not finished
7 years ago
Pete Shadbolt
102c456c53
PEP8
7 years ago
Pete Shadbolt
c7ae201fb2
Cleaning up tests -- not finished
7 years ago
Pete Shadbolt
0b6e1783c0
Better documentation
7 years ago
Pete Shadbolt
b3ac940a17
Better naming
7 years ago
Pete Shadbolt
9bd4914cd2
Test passing
7 years ago
Pete Shadbolt
cd8bc01907
Test passing
7 years ago
Pete Shadbolt
2d18fd2f91
Small fix
7 years ago
Pete Shadbolt
6f7bcb05be
Add more tests
7 years ago
Pete Shadbolt
126c819d2c
Add pics
7 years ago
Pete Shadbolt
85d6c262d9
PIP seems to be kinda working now
7 years ago
Pete Shadbolt
3e2823d7b5
Remove old debug code
7 years ago
Pete Shadbolt
6763052d4f
Trying to get `abserver` to install automatically
7 years ago
Pete Shadbolt
a5789f6152
Fix nondeterministic error in measure_x
Looks like nondeterminism in `next(d.iterkeys())` was breaking
consistency with A&B. Next up: switching determinism on or off.
7 years ago
Pete Shadbolt
c6384448e3
Fixed `GraphState.measure_y`
Had a dumb translation error
7 years ago
Pete Shadbolt
784f9d27dc
Add simple tests
7 years ago