Skip to content

Commit

Permalink
Remove use of .device in cirq-google. (quantumlib#4820)
Browse files Browse the repository at this point in the history
Next step in quantumlib#4744 .  Removes use of device attachment ability in cirq-google. This is a breaking change in the sense that some methods become "more forgiving" which I've highlighted below. Happy to add the tag if people think it's appropriate to label it.
  • Loading branch information
MichaelBroughton authored Jan 11, 2022
1 parent 3de569a commit 47098a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cirq/circuits/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
CIRCUIT_TYPE = TypeVar('CIRCUIT_TYPE', bound='AbstractCircuit')
INT_TYPE = Union[int, np.integer]

_DEVICE_DEP_MESSAGE = 'Attaching devices to circuits will no longer be supported.'


class Alignment(enum.Enum):
# Stop when left ends are lined up.
Expand Down

0 comments on commit 47098a2

Please sign in to comment.