Dave Bacon
Dave Bacon
Programs and jobs in Engine have labels which you should be able to set with less restrictions (also they are string string maps) Because the sampler interface is rigid, we...
[TYPE_CHECKING] Use cirq.* instead of cirq submodules for imports that are only for type-annotations
When a dependency only exists for type annotations, you can use ``` if TYPE_CHECKING: from cirq import ops ``` and then you can use the type as an annotation as...
[TYPE_CHECKING] Use cirq.* instead of cirq submodules for imports that are only for type-annotations
Oh that is probably better yes.
[TYPE_CHECKING] Use cirq.* instead of cirq submodules for imports that are only for type-annotations
The main goal would be to reduce our internal module dependencies. The drawback of the string is likely that it makes using and IDE to navigate a bit harder. For...
There can never be too many implementations of state tomography :) But yes we should unify these standard method of state tomography (there are many others).
A couple of comments: 1) There are many different representations that one could consider even beyond what is described, including the process matrix representation and the pauli transfer representation (https://arxiv.org/pdf/1509.02921.pdf...
> @dabacon, isn't it true that an n-qubit measurement is equivalent to n 1-qubit measurements? In that case instead of 2^n channel elements of size 2^n x 2^n we can...
Like should be a protocol, especially because it also applies pure states.
From a comment in that PR: >Making it just Hermitian make sense when thinking of this as "expectation value of an observable in quantum theory". For non-Hermitian operators, sometimes you...
See #5220 for how we should format external links