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 ...
il y a 8 ans
Pete Shadbolt
49478d4017
100% test passing :feelsgood:
Still need to "test the tests", but it's looking good.
il y a 8 ans
Pete Shadbolt
7016e75be6
Cleaner measurement testing
il y a 8 ans
Pete Shadbolt
b878528cce
Another one down
il y a 8 ans
Pete Shadbolt
4124405697
Starting to refactor tests against A&B
il y a 8 ans
Pete Shadbolt
c7ae201fb2
Cleaning up tests -- not finished
il y a 8 ans
Pete Shadbolt
b3ac940a17
Better naming
il y a 8 ans
Pete Shadbolt
2d18fd2f91
Small fix
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
b31fb544bf
Found a nasty bug
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
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
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
092afb82f6
Improve clifford.py, add measurement lookup table
il y a 8 ans
Pete Shadbolt
7d90052833
Aliasing imports
il y a 8 ans
Pete Shadbolt
bfdc66494d
Switch off some tests if not using legacy table
il y a 8 ans
Pete Shadbolt
9854bad286
Seems to be okay against anders & briegel
il y a 8 ans
Pete Shadbolt
7b4e4b42b5
Found something
il y a 8 ans
Pete Shadbolt
16d572aed4
Now thinking about GHZs.
Think CircuitModel.act_cz is wrong
il y a 8 ans
Pete Shadbolt
ec403d4c30
Loadsa stuff. CZ table bodging
il y a 8 ans
Pete Shadbolt
4ad35423fc
Start to add measurements
il y a 8 ans
Pete Shadbolt
183e501060
Anders & Briegel's CZ table passes my tests
But it is not symmetric. I wonder why. Can run with either for now.
il y a 8 ans
Pete Shadbolt
c1fe5f8b79
Found a problem in the CZ table
il y a 8 ans
Pete Shadbolt
784024f43c
Times table is okay
il y a 8 ans
Pete Shadbolt
b280709ee8
Test failing :(
il y a 8 ans
Pete Shadbolt
a1eabb33ea
First attempt at fixing naming scheme
il y a 8 ans