Pete Shadbolt
8b87991ea5
Ported to Python3 on a goddam phone
7 years ago
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 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
c7ae201fb2
Cleaning up tests -- not finished
8 years ago
Pete Shadbolt
b3ac940a17
Better naming
8 years ago
Pete Shadbolt
2d18fd2f91
Small fix
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
b31fb544bf
Found a nasty bug
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
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
Pete Shadbolt
4296e9d224
CHP
8 years ago
Pete Shadbolt
b67db178b2
Well this is bull shit
8 years ago
Pete Shadbolt
4438ca80c3
Not much
8 years ago
Pete Shadbolt
092afb82f6
Improve clifford.py, add measurement lookup table
8 years ago
Pete Shadbolt
7d90052833
Aliasing imports
8 years ago
Pete Shadbolt
bfdc66494d
Switch off some tests if not using legacy table
8 years ago
Pete Shadbolt
9854bad286
Seems to be okay against anders & briegel
8 years ago
Pete Shadbolt
7b4e4b42b5
Found something
8 years ago
Pete Shadbolt
16d572aed4
Now thinking about GHZs.
Think CircuitModel.act_cz is wrong
8 years ago
Pete Shadbolt
ec403d4c30
Loadsa stuff. CZ table bodging
8 years ago
Pete Shadbolt
4ad35423fc
Start to add measurements
8 years ago
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.
8 years ago
Pete Shadbolt
c1fe5f8b79
Found a problem in the CZ table
8 years ago
Pete Shadbolt
784024f43c
Times table is okay
8 years ago
Pete Shadbolt
b280709ee8
Test failing :(
8 years ago
Pete Shadbolt
a1eabb33ea
First attempt at fixing naming scheme
8 years ago