Pete Shadbolt
d5e7e5d9b3
Better integration of ``mock``
il y a 8 ans
Pete Shadbolt
f6f6ccd08d
Still crunching thru tests
il y a 8 ans
Pete Shadbolt
3b6963c95e
Tidying tests
il y a 8 ans
Pete Shadbolt
9776d3e10a
Better mocking - not finished
il y a 8 ans
Pete Shadbolt
c7ae201fb2
Cleaning up tests -- not finished
il y a 8 ans
Pete Shadbolt
e9c75d01a9
Consolidate test settings
il y a 8 ans
Pete Shadbolt
b3ac940a17
Better naming
il y a 8 ans
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.
il y a 8 ans
Pete Shadbolt
9bd4914cd2
Test passing
il y a 8 ans
Pete Shadbolt
2d18fd2f91
Small fix
il y a 8 ans
Pete Shadbolt
b1c4617398
Add test graphs
il y a 8 ans
Pete Shadbolt
6dfd43955b
Still not quite there
il y a 8 ans
Pete Shadbolt
6f7bcb05be
Add more tests
il y a 8 ans
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.
il y a 8 ans
Pete Shadbolt
c6384448e3
Fixed `GraphState.measure_y`
Had a dumb translation error
il y a 8 ans
Pete Shadbolt
784f9d27dc
Add simple tests
il y a 8 ans
Pete Shadbolt
0229de062b
Very test passing
il y a 8 ans
Pete Shadbolt
9623abfa10
Think I just did something right
il y a 8 ans
Pete Shadbolt
0d2346ae9c
Not much
il y a 8 ans
Pete Shadbolt
b31fb544bf
Found a nasty bug
il y a 8 ans
Pete Shadbolt
1cb6a3b3c9
All single-qubit tests are now passing :rage3:
il y a 8 ans
Pete Shadbolt
04afcae7da
Test passing, but
Some tests are disabled and forcing outcomes does not work
il y a 8 ans
Pete Shadbolt
c793418517
Simplify measurement table
Dunno why it was ever `complex`
il y a 8 ans
Pete Shadbolt
27df07bd52
Not there yet
il y a 8 ans
Pete Shadbolt
924e240285
Add a probabilistic test
il y a 8 ans
Pete Shadbolt
19972159e5
Needed to actually `return`
il y a 8 ans
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
il y a 8 ans
Pete Shadbolt
4646554779
Fix GraphState.to_json() for tuple-like nodes
il y a 8 ans
Pete Shadbolt
0d9c202a50
Need to clone measure_x and measure_y
il y a 8 ans
Pete Shadbolt
45bcdf1cca
Move lookup tables into a generated module
il y a 8 ans
Pete Shadbolt
b4872397e9
Progress towards working measurement
il y a 8 ans
Pete Shadbolt
e398d39aae
Remove adj_list()
il y a 8 ans
Pete Shadbolt
318ab65cf2
Small JS improvement
il y a 8 ans
Pete Shadbolt
8393390801
Add graphsim.GraphRegister.to_json() for tests
il y a 8 ans
Pete Shadbolt
24a00be14f
Full, heavy testing
il y a 8 ans
Pete Shadbolt
c2b942dada
Solved a dumb little problem. TODO: refactor :gun:
il y a 8 ans
Pete Shadbolt
faa8d05c3d
Fixing fixing fixing
il y a 8 ans
Pete Shadbolt
f42c83a03d
Working random test against CHP
il y a 8 ans
Pete Shadbolt
40fb9d4dfa
Testing against CHP
il y a 8 ans
Pete Shadbolt
4296e9d224
CHP
il y a 8 ans
Pete Shadbolt
b67db178b2
Well this is bull shit
il y a 8 ans
Pete Shadbolt
4438ca80c3
Not much
il y a 8 ans
Pete Shadbolt
0ec10d155c
Meaningful conjugation code
il y a 8 ans
Pete Shadbolt
092afb82f6
Improve clifford.py, add measurement lookup table
il y a 8 ans
Pete Shadbolt
a50ebdd71b
Implement conjugation
il y a 8 ans
Pete Shadbolt
0bbec5ce97
Remove scipy dependency, add requirements.txt
il y a 8 ans
Pete Shadbolt
68e7de7088
We need to emulate LocCliffOp.conjugate() -- WIP
il y a 8 ans
Pete Shadbolt
23fec82583
Preparing to implement measurement
il y a 8 ans
Pete Shadbolt
96e6678393
Auto layout
il y a 8 ans
Pete Shadbolt
7024c849d0
JS tests, remove visible graph state
il y a 8 ans