DanglingT#
qualtran.DanglingT
View source on GitHub
|
The type of the singleton objects LeftDangle and RightDangle.
qualtran.DanglingT(
x
)
These objects are placeholders for the binst field of a Soquet that represents
an “external wire”. We can consider Soquets of this type to represent input or
output data of a CompositeBloq.
Methods#
bloq_is
bloq_is(
t
) -> bool
DanglingT.bloq_is(…) is always False.
This is to support convenient isinstance checking on binst.bloq where
binst may be a DanglingT.
View source on GitHub