assert_soquets_belong_to_registers#
View source on GitHub
|
Check that all soquet’s registers make sense.
qualtran.testing.assert_soquets_belong_to_registers(
cbloq: qualtran.CompositeBloq
)
We check that any indexed soquets fit within the bounds of the register and that the register actually exists on the bloq.
View source on GitHub