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