Pete Shadbolt
04f8ef0f6e
Python3
5年前
Pete Shadbolt
8b87991ea5
Ported to Python3 on a goddam phone
6年前
Pete Shadbolt
c9121351c6
Blindly ran 2to3 against all python files.
7年前
Pete Shadbolt
b2917465fe
Remove legacy HTML/JS, deterministic server
7年前
Pete Shadbolt
6221fcc55c
More PEP8
7年前
Pete Shadbolt
b066129c42
Nicer pretty-printing
8年前
Pete Shadbolt
c793418517
Simplify measurement table
Dunno why it was ever `complex`
8年前
Pete Shadbolt
26569dfc32
Working on measure_x
Added some more terms to clifford.by_name to ease lookup of complex
conjugates
Added GraphState.toggle_edges(), used by GraphState.measure_x
Nearly finished GraphState.measure_x
8年前
Pete Shadbolt
45bcdf1cca
Move lookup tables into a generated module
8年前
Pete Shadbolt
b4872397e9
Progress towards working measurement
8年前
Pete Shadbolt
2b9c7a7c83
For sam
8年前
Pete Shadbolt
beea2e4ddc
Test passing w/ clean GraphState :water_buffalo:
Got rid of all the debug harness and refactored graphstate.py
8年前
Pete Shadbolt
b67db178b2
Well this is bull shit
8年前
Pete Shadbolt
54bc27c327
Tidy
8年前
Pete Shadbolt
0ec10d155c
Meaningful conjugation code
8年前
Pete Shadbolt
092afb82f6
Improve clifford.py, add measurement lookup table
8年前
Pete Shadbolt
a50ebdd71b
Implement conjugation
8年前
Pete Shadbolt
7024c849d0
JS tests, remove visible graph state
8年前
Pete Shadbolt
f30fbd6e2b
Some small tests
8年前
Pete Shadbolt
0c54c159ef
Small changes to editor
8年前
Pete Shadbolt
40c2b3caa9
Tidy up
8年前
Pete Shadbolt
b063d1ff1f
Remove act_local_rotation_by_name (simplifies API)
8年前
Pete Shadbolt
2a6abed48c
Try again with websockets
8年前
Pete Shadbolt
58ced9272d
Add from_json, a buncha server/client stuff
8年前
Pete Shadbolt
bfdc66494d
Switch off some tests if not using legacy table
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
9854bad286
Seems to be okay against anders & briegel
8年前
Pete Shadbolt
7b4e4b42b5
Found something
8年前
Pete Shadbolt
bbc89eb4de
Modify test
8年前
Pete Shadbolt
d372ec8531
Add state equality checking, global phase fixing.
8年前
Pete Shadbolt
16d572aed4
Now thinking about GHZs.
Think CircuitModel.act_cz is wrong
8年前
Pete Shadbolt
8199bba2b4
Tidy up, test passing except direct C++ comparison
8年前
Pete Shadbolt
ec403d4c30
Loadsa stuff. CZ table bodging
8年前
Pete Shadbolt
4ad35423fc
Start to add measurements
8年前
Pete Shadbolt
bcd38f11d8
Now we are isomorphic to Anders & Briegel :)
The mistake was in the set of gates which commute with CZ
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
a1eabb33ea
First attempt at fixing naming scheme
8年前
Pete Shadbolt
9e92c633f8
Fixing naming of local cliffords
8年前
Pete Shadbolt
e89a0a1ab1
Starting to test against Anders and Briegel
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
fbed23eaea
Add clifford tests back in. We are test passing baby
8年前
Pete Shadbolt
42d209b27e
Re-organize
8年前
Pete Shadbolt
5ef0c90e4c
Better loading, heading towards test passing
8年前