TaggedOperation(sub_operation: cirq.Operation, *tags: collections.abc.Hashable)¶
- A specific operation instance that has been identified with a setof Tags for special processing. This can be initialized withUsing Operation.with_tags(tag) or by TaggedOperation(op, tag).Tags added can be of any type, but they should be Hashable in orderto allow equality checking. If you wish to serialize operations intoJSON, you should restrict yourself to only use objects that have a JSONserialization.
See Operation.with_tags() for more information on intended usage.