Pete Shadbolt
8b87991ea5
Ported to Python3 on a goddam phone
преди 7 години
Pete Shadbolt
329cbe70e3
PEP8
преди 8 години
Pete Shadbolt
9bfe0459bd
Add a test for measure_sequence, closes #13
преди 8 години
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 години
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 години
Pete Shadbolt
277f6a2d4f
PEP8
преди 8 години
Pete Shadbolt
775eea02bb
Add a couple more tests
преди 8 години
Pete Shadbolt
7016e75be6
Cleaner measurement testing
преди 8 години
Pete Shadbolt
c7ae201fb2
Cleaning up tests -- not finished
преди 8 години
Pete Shadbolt
b3ac940a17
Better naming
преди 8 години
Pete Shadbolt
2d18fd2f91
Small fix
преди 8 години
Pete Shadbolt
784f9d27dc
Add simple tests
преди 8 години
Pete Shadbolt
0229de062b
Very test passing
преди 8 години
Pete Shadbolt
9623abfa10
Think I just did something right
преди 8 години
Pete Shadbolt
b31fb544bf
Found a nasty bug
преди 8 години
Pete Shadbolt
1cb6a3b3c9
All single-qubit tests are now passing :rage3:
преди 8 години
Pete Shadbolt
04afcae7da
Test passing, but
Some tests are disabled and forcing outcomes does not work
преди 8 години
Pete Shadbolt
27df07bd52
Not there yet
преди 8 години
Pete Shadbolt
924e240285
Add a probabilistic test
преди 8 години
Pete Shadbolt
19972159e5
Needed to actually `return`
преди 8 години
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
преди 8 години
Pete Shadbolt
0d9c202a50
Need to clone measure_x and measure_y
преди 8 години
Pete Shadbolt
b4872397e9
Progress towards working measurement
преди 8 години
Pete Shadbolt
e398d39aae
Remove adj_list()
преди 8 години
Pete Shadbolt
318ab65cf2
Small JS improvement
преди 8 години
Pete Shadbolt
092afb82f6
Improve clifford.py, add measurement lookup table
преди 8 години
Pete Shadbolt
23fec82583
Preparing to implement measurement
преди 8 години
Pete Shadbolt
7d90052833
Aliasing imports
преди 8 години
Pete Shadbolt
db6f3dcc8b
Adding a circuit model simulator for testing
преди 8 години