Craig Gidney
Craig Gidney
I don't have any hard concrete specifications, which is part of why I labelled this a "project". Part of it is to decide on a good tradeoff between what is...
I think this would be reasonable. Slightly clunky for gates that have three eigenvalues, but I don't see how to avoid that.
This doesn't occur on my machine. What operating system and browser are you using? Also, since this may involve some kind of boundary size calculation, could you include a screenshot...
Yeah, ControlledGate is not particularly "smart". It can make a matrix for you, and that's about it.
Also they can be simulated twice as fast, since you only need to affect half of the state vector, though this probably works best for qubits that represent areas of...
@idk3 You can implement a PointOptimizer that clears single-qubit operations and returns a controlled operation instead (or replaces CZ with a CCZ breakdown into smaller operations). The surrounding code will...
Currently we don't support feedback because we don't know how the hardware will go about exposing feedback.
ofc is fine. oc also fine. Pick it and stick with it.
I recommend sorting the terms in `__str__` before you output them. That's what I always do (e.g. see `XmonSimulateTrialResult` in cirq). It makes the method actually testable.
Do you have a construction that works for numbers that aren't a power of 2? In the classical FFT world, generalizing to values that aren't a power of 2 involves...