assert_registers_match_dangling#
View source on GitHub
|
Check that connections to LeftDangle and RightDangle match the declared registers.
qualtran.testing.assert_registers_match_dangling(
cbloq: qualtran.CompositeBloq
)
All Soquets must be consumed exactly once by a subsequent subbloq or connected explicitly
to either LeftDangle or RightDangle to indicate the soquet’s status as an input
or output, respectively.
View source on GitHub