![]() |
InternalTag is a placeholder tag for internal tags that are not specified publicly.
cirq_google.ops.InternalTag(
name: str, package: str, **kwargs
)
These tags can hold the information needed to instantiate a tag specified in an internal library.
Arguments | |
---|---|
name
|
Tag class name. |
package
|
The python module of the tag. |
**kwargs
|
Arbitrary keyword parameters that should be passed to the tag. |
Methods
from_proto
@staticmethod
from_proto( msg: program_pb2.Tag ) -> InternalTag
to_proto
to_proto(
msg: (program_pb2.Tag | None) = None
) -> program_pb2.Tag
__eq__
__eq__(
other: _SupportsValueEquality
) -> bool
__ne__
__ne__(
other: _SupportsValueEquality
) -> bool