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
4124405697
Starting to refactor tests against A&B
пре 8 година
Pete Shadbolt
3b6963c95e
Tidying tests
пре 8 година
Pete Shadbolt
c7ae201fb2
Cleaning up tests -- not finished
пре 8 година
Pete Shadbolt
2d18fd2f91
Small fix
пре 8 година
Pete Shadbolt
45bcdf1cca
Move lookup tables into a generated module
пре 8 година
Pete Shadbolt
0bbec5ce97
Remove scipy dependency, add requirements.txt
пре 8 година
Pete Shadbolt
7bc9895af6
Test passing against the circuit model
We fail when running against Anders and Briegel simply because we use a
different CZ table
пре 8 година
Pete Shadbolt
4ad35423fc
Start to add measurements
пре 8 година
Pete Shadbolt
17f24fba09
It's in the set of commuters I think
пре 8 година
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 година
Pete Shadbolt
da7ec98e8d
Start prototype server
пре 8 година
Pete Shadbolt
27c79d4e20
Add some more sane tests
пре 8 година
Pete Shadbolt
5666c6ea17
Fix mistake in CZ table generation
Using `combinations` instead of `combinations_with_replacement` was
leading to entries of the form [ ... , i, i] being excluded from the CZ
table.
пре 8 година
Pete Shadbolt
0afb4ee578
Add a bunch more tests
пре 8 година
Pete Shadbolt
fbed23eaea
Add clifford tests back in. We are test passing baby
пре 8 година
Pete Shadbolt
5ef0c90e4c
Better loading, heading towards test passing
пре 8 година
Pete Shadbolt
d8d0aa108a
Now calculates a CZ table ... is it correct??!?
пре 8 година
Pete Shadbolt
32b417cb66
Returned to a shitty OO representation
At least we have infinite-size graphs now
пре 8 година
Pete Shadbolt
bfaba87f9c
Temporarily dump test_clifford.test_group
пре 8 година
Pete Shadbolt
f10b5dfc5a
Lotsa stuff
пре 8 година
Pete Shadbolt
d0535b59f7
Infinite size graphs
пре 8 година
Pete Shadbolt
33e8ec60b5
Hell yeah baby
пре 8 година
Pete Shadbolt
60f1b0cb85
Gonna go to new clifford definitions
пре 8 година
Pete Shadbolt
c1d81125f8
Reading CPHASE pseudocode
пре 8 година
Pete Shadbolt
0b26721118
Move operators to qi.py
пре 8 година
Pete Shadbolt
62633d40ff
Building and storing tables
пре 8 година
Pete Shadbolt
4a8c143993
Conjugation table seems to be running
пре 8 година
Pete Shadbolt
82ede1f24b
Testing that we really are in a group
пре 8 година
Pete Shadbolt
c5b47969ec
Printing out interesting matrices
пре 8 година
Pete Shadbolt
6a4354aab8
Test passing
пре 8 година
Pete Shadbolt
0c0962a73f
Fuck
пре 8 година
Pete Shadbolt
340fb097db
Seem to have found a problem in Anders' thesis
пре 8 година
Pete Shadbolt
54c37f171e
Tidy
пре 8 година
Pete Shadbolt
09402eac18
Test passing
пре 8 година
Pete Shadbolt
6b980377cc
Hella tidy
пре 8 година
Pete Shadbolt
19c91f3989
Nearly there ...
пре 8 година