samplomatic.Tag
class samplomatic.Tag(ref: str = '')
Annotation to tag and instruction with a string reference.
When present on a box instruction, the barriers emitted during build() include the ref of this annotation as part of their label information. In this way, when combined with the build function, a tag annotation can be used as a tracing mechanism to tie a “barrier sandwich” in a template circuit back to the box it came from in the original circuit.
Parameters
ref – A reference string.
__init__
__init__(ref: str = '')
Methods
コラム「 1 」 | コラム「 2 」 |
|---|---|
__init__([ref]) |
Attributes
コラム「 1 」 | コラム「 2 」 |
|---|---|
namespace | |
ref | The reference string of this tag. |
このページは役に立ちましたか?
バグや誤字の報告、またはコンテンツの要求はGitHubで行ってください。