Craig Gidney

Results 103 comments of Craig Gidney

@kevinsung Is the code *supposed* to be doing this post-selection stuff? It seems very unnatural w.r.t. the actual computation model.

Is the goal of the code to do a phase estimation of applying some operation to a state? It seems like having access to the wavefunction would make that a...

A simple way to do this is with post-selection gates. Might interact poorly with devices, which obviously will reject these operations.

It's now possible to specify these gates using the `_act_on_` protocol.

This is quite a funny suggestion to me, because the amplitude display *is* an "immediate overview of the state". It sounds more like you want a very detailed dive into...

> Our users will have to get used to the dropdown behavior. It seems like a contradiction in terms for users to have to "get used to" the behavior of...

How do I do a noisy simulation? How do I run on real hardware? How do I control a gate?

I think we should focus more on "get to the single-qubit and two-qubit gates". Behind the scenes we can terminate on powers of X,Y,Z,CZ but the only thing we should...

In other words, decompose is very much a fallback strategy for simplifying gates into a form that can hopefully be understood. We don't guarantee that this strategy is efficient or...

We could add the concept of `_decompose_with_gate_set_`, which would fall back to `_decompose_` if not specified. Then `cirq.decompose` could take an optional gate set argument and use that when deciding...