Pete Shadbolt
3dbd70e046
Add and test `GraphState.to_stabilizer()` :rage4:
8 years ago
Pete Shadbolt
b41cc7945d
Add better notation
8 years ago
Pete Shadbolt
277f6a2d4f
PEP8
8 years ago
Pete Shadbolt
775eea02bb
Add a couple more tests
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
ccabb2b7b5
Running Mercedes' example
8 years ago
Pete Shadbolt
6107946244
Pratting with MANIFEST
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
Pete Shadbolt
55704d44a6
Better integration of `mock`
8 years ago
Pete Shadbolt
d5e7e5d9b3
Better integration of ``mock``
8 years ago
Pete Shadbolt
f6f6ccd08d
Still crunching thru tests
8 years ago
Pete Shadbolt
3b6963c95e
Tidying tests
8 years ago
Pete Shadbolt
9776d3e10a
Better mocking - not finished
8 years ago
Pete Shadbolt
c7ae201fb2
Cleaning up tests -- not finished
8 years ago
Pete Shadbolt
e9c75d01a9
Consolidate test settings
8 years ago
Pete Shadbolt
b3ac940a17
Better naming
8 years ago
Pete Shadbolt
140a9cd7ba
Very good! Tests pass :rage4: :gun:
Next up is just to clean those tests and replace the stupid
act_local_rotation2 with something legible.
8 years ago
Pete Shadbolt
9bd4914cd2
Test passing
8 years ago
Pete Shadbolt
2d18fd2f91
Small fix
8 years ago
Pete Shadbolt
b1c4617398
Add test graphs
8 years ago
Pete Shadbolt
6dfd43955b
Still not quite there
8 years ago
Pete Shadbolt
6f7bcb05be
Add more tests
8 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.
8 years ago
Pete Shadbolt
c6384448e3
Fixed `GraphState.measure_y`
Had a dumb translation error
8 years ago
Pete Shadbolt
784f9d27dc
Add simple tests
8 years ago
Pete Shadbolt
0229de062b
Very test passing
8 years ago
Pete Shadbolt
9623abfa10
Think I just did something right
8 years ago
Pete Shadbolt
0d2346ae9c
Not much
8 years ago
Pete Shadbolt
b31fb544bf
Found a nasty bug
8 years ago
Pete Shadbolt
1cb6a3b3c9
All single-qubit tests are now passing :rage3:
8 years ago
Pete Shadbolt
04afcae7da
Test passing, but
Some tests are disabled and forcing outcomes does not work
8 years ago
Pete Shadbolt
c793418517
Simplify measurement table
Dunno why it was ever `complex`
8 years ago
Pete Shadbolt
27df07bd52
Not there yet
8 years ago
Pete Shadbolt
924e240285
Add a probabilistic test
8 years ago
Pete Shadbolt
19972159e5
Needed to actually `return`
8 years ago
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 years ago
Pete Shadbolt
4646554779
Fix GraphState.to_json() for tuple-like nodes
8 years ago
Pete Shadbolt
0d9c202a50
Need to clone measure_x and measure_y
8 years ago
Pete Shadbolt
45bcdf1cca
Move lookup tables into a generated module
8 years ago
Pete Shadbolt
b4872397e9
Progress towards working measurement
8 years ago
Pete Shadbolt
e398d39aae
Remove adj_list()
8 years ago
Pete Shadbolt
318ab65cf2
Small JS improvement
8 years ago
Pete Shadbolt
8393390801
Add graphsim.GraphRegister.to_json() for tests
8 years ago
Pete Shadbolt
24a00be14f
Full, heavy testing
8 years ago
Pete Shadbolt
c2b942dada
Solved a dumb little problem. TODO: refactor :gun:
8 years ago
Pete Shadbolt
faa8d05c3d
Fixing fixing fixing
8 years ago