check_bloq_example_decompose#
View source on GitHub
|
Check that the BloqExample has a valid decomposition.
qualtran.testing.check_bloq_example_decompose(
bloq_ex: qualtran.BloqExample
) -> Tuple[qualtran.testing.BloqCheckResult, str]
This will use assert_valid_decomposition which has a variety of sub-checks. A failure
in any of those checks will result in FAIL. DecomposeTypeError results in a
not-applicable NA status. DecomposeNotImplementedError results in a MISSING status.
View source on GitHub