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年前
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年前
Pete Shadbolt
8337af0c7e
Even nicer stabilizer tables
7年前
Pete Shadbolt
a9e17c5fef
Nicer stabilizer tables
7年前
Pete Shadbolt
c4c33f0466
Improving docs
7年前
Pete Shadbolt
75730f954b
Add examples/visualization/auto_layout.py
7年前
Pete Shadbolt
c8992ce42d
Update documentation :book:
7年前
Pete Shadbolt
835c0679bd
Document GraphState
7年前
Pete Shadbolt
3dbd70e046
Add and test `GraphState.to_stabilizer()` :rage4:
7年前
Pete Shadbolt
552d8576ed
Adding stabilizers
7年前
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年前
Pete Shadbolt
ccabb2b7b5
Running Mercedes' example
7年前
Pete Shadbolt
b88341a91b
Makefiles
7年前
Pete Shadbolt
2126ae219f
Better docs
7年前
Pete Shadbolt
9776d3e10a
Better mocking - not finished
7年前
Pete Shadbolt
102c456c53
PEP8
7年前
Pete Shadbolt
c7ae201fb2
Cleaning up tests -- not finished
7年前
Pete Shadbolt
0b6e1783c0
Better documentation
7年前
Pete Shadbolt
b3ac940a17
Better naming
7年前
Pete Shadbolt
9bd4914cd2
Test passing
7年前
Pete Shadbolt
cd8bc01907
Test passing
7年前
Pete Shadbolt
2d18fd2f91
Small fix
7年前
Pete Shadbolt
6f7bcb05be
Add more tests
7年前
Pete Shadbolt
126c819d2c
Add pics
7年前
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年前
Pete Shadbolt
c6384448e3
Fixed `GraphState.measure_y`
Had a dumb translation error
7年前
Pete Shadbolt
784f9d27dc
Add simple tests
7年前
Pete Shadbolt
b066129c42
Nicer pretty-printing
7年前
Pete Shadbolt
0229de062b
Very test passing
7年前
Pete Shadbolt
9623abfa10
Think I just did something right
7年前
Pete Shadbolt
1cb6a3b3c9
All single-qubit tests are now passing :rage3:
7年前
Pete Shadbolt
04afcae7da
Test passing, but
Some tests are disabled and forcing outcomes does not work
7年前
Pete Shadbolt
27df07bd52
Not there yet
7年前
Pete Shadbolt
e33919b634
PEP8, remove cruft
7年前
Pete Shadbolt
19972159e5
Needed to actually `return`
7年前
Pete Shadbolt
f09d1ae3f1
Finished translating measure_x. Now to write tests
It's kinda ghastly at the moment. But lots of obvious improvements.
7年前
Pete Shadbolt
26569dfc32
Working on measure_x
Added some more terms to clifford.by_name to ease lookup of complex
conjugates
Added GraphState.toggle_edges(), used by GraphState.measure_x
Nearly finished GraphState.measure_x
7年前
Pete Shadbolt
4db6cff2c0
Implement GraphState.measure_y() - not tested
7年前
Pete Shadbolt
4646554779
Fix GraphState.to_json() for tuple-like nodes
7年前
Pete Shadbolt
0d9c202a50
Need to clone measure_x and measure_y
7年前
Pete Shadbolt
b4872397e9
Progress towards working measurement
7年前
Pete Shadbolt
e398d39aae
Remove adj_list()
7年前
Pete Shadbolt
beea2e4ddc
Test passing w/ clean GraphState :water_buffalo:
Got rid of all the debug harness and refactored graphstate.py
8年前
Pete Shadbolt
b7cda793ed
Remove all debug statements
8年前
Pete Shadbolt
1b787c4737
Think I got it
8年前
Pete Shadbolt
b06c1c38d8
Think I found it
8年前
Pete Shadbolt
faa8d05c3d
Fixing fixing fixing
8年前
Pete Shadbolt
978b197d3d
Testing against CHP
8年前
Pete Shadbolt
b67db178b2
Well this is bull shit
8年前
Pete Shadbolt
4438ca80c3
Not much
8年前