DanglingT#

qualtran.DanglingT

The type of the singleton objects LeftDangle and RightDangle.

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

View source

DanglingT.bloq_is(…) is always False.

This is to support convenient isinstance checking on binst.bloq where binst may be a DanglingT.