assert_connections_compatible#
View source on GitHub
|
Check that all connections are between compatible registers.
qualtran.testing.assert_connections_compatible(
cbloq: qualtran.CompositeBloq
)
We check that register bitsize are equal and that LEFT and RIGHT registers are only used as such.
View source on GitHub