Pete Shadbolt
8b87991ea5
Ported to Python3 on a goddam phone
il y a 7 ans
Pete Shadbolt
c9121351c6
Blindly ran 2to3 against all python files.
il y a 7 ans
Pete Shadbolt
f4631c552f
Fix #7 -- alias literal clifford.by_names
il y a 8 ans
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
4124405697
Starting to refactor tests against A&B
il y a 8 ans
Pete Shadbolt
3b6963c95e
Tidying tests
il y a 8 ans
Pete Shadbolt
c7ae201fb2
Cleaning up tests -- not finished
il y a 8 ans
Pete Shadbolt
2d18fd2f91
Small fix
il y a 8 ans
Pete Shadbolt
45bcdf1cca
Move lookup tables into a generated module
il y a 8 ans
Pete Shadbolt
0bbec5ce97
Remove scipy dependency, add requirements.txt
il y a 8 ans
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
il y a 8 ans
Pete Shadbolt
4ad35423fc
Start to add measurements
il y a 8 ans
Pete Shadbolt
17f24fba09
It's in the set of commuters I think
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
da7ec98e8d
Start prototype server
il y a 8 ans
Pete Shadbolt
27c79d4e20
Add some more sane tests
il y a 8 ans
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.
il y a 8 ans
Pete Shadbolt
0afb4ee578
Add a bunch more tests
il y a 8 ans
Pete Shadbolt
fbed23eaea
Add clifford tests back in. We are test passing baby
il y a 8 ans
Pete Shadbolt
5ef0c90e4c
Better loading, heading towards test passing
il y a 8 ans
Pete Shadbolt
d8d0aa108a
Now calculates a CZ table ... is it correct??!?
il y a 8 ans
Pete Shadbolt
32b417cb66
Returned to a shitty OO representation
At least we have infinite-size graphs now
il y a 8 ans
Pete Shadbolt
bfaba87f9c
Temporarily dump test_clifford.test_group
il y a 8 ans
Pete Shadbolt
f10b5dfc5a
Lotsa stuff
il y a 8 ans
Pete Shadbolt
d0535b59f7
Infinite size graphs
il y a 8 ans
Pete Shadbolt
33e8ec60b5
Hell yeah baby
il y a 8 ans
Pete Shadbolt
60f1b0cb85
Gonna go to new clifford definitions
il y a 8 ans
Pete Shadbolt
c1d81125f8
Reading CPHASE pseudocode
il y a 8 ans
Pete Shadbolt
0b26721118
Move operators to qi.py
il y a 8 ans
Pete Shadbolt
62633d40ff
Building and storing tables
il y a 8 ans
Pete Shadbolt
4a8c143993
Conjugation table seems to be running
il y a 8 ans
Pete Shadbolt
82ede1f24b
Testing that we really are in a group
il y a 8 ans
Pete Shadbolt
c5b47969ec
Printing out interesting matrices
il y a 8 ans
Pete Shadbolt
6a4354aab8
Test passing
il y a 8 ans
Pete Shadbolt
0c0962a73f
Fuck
il y a 8 ans
Pete Shadbolt
340fb097db
Seem to have found a problem in Anders' thesis
il y a 8 ans
Pete Shadbolt
54c37f171e
Tidy
il y a 8 ans
Pete Shadbolt
09402eac18
Test passing
il y a 8 ans
Pete Shadbolt
6b980377cc
Hella tidy
il y a 8 ans
Pete Shadbolt
19c91f3989
Nearly there ...
il y a 8 ans