cirq_google.ops.PhysicalZTag
Class to add as a tag onto an Operation to denote a Physical Z operation.
By default, all Z rotations on Google devices are considered to be virtual.
When performing the Z operation, the device will update its internal phase
tracking mechanisms, essentially commuting it forwards through the circuit
until it hits a non-commuting operation (Such as a sqrt(iSwap)).
When applied to a Z rotation operation, this tag indicates to the hardware
that an actual physical operation should be done instead. This class can
only be applied to instances of cirq.ZPowGate
. If applied to other gates
(such as PhasedXZGate), this class will have no effect.
Methods
__eq__
View source
__eq__(
other
) -> bool
Return self==value.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-27 UTC."],[],[]]