Tag¶
- class samplomatic.Tag(ref: str = '')[source]¶
Bases:
AnnotationAnnotation to tag and instruction with a string reference.
When present on a
boxinstruction, the barriers emitted duringbuild()include therefof 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.
Attributes Summary
Attributes Documentation
- namespace = 'samplomatic.tag'¶
- ref¶
The reference string of this tag.