check_bloq_example_qtyping#

Check that the bloq example has valid quantum data types throughout its decomposition.

If the bloq has no decomposition, this check is not applicable. Otherwise: we check the connections in the decomposed bloq with increasing levels of type checking severity. First, we check loose type checking (allowing conversions between numeric types). A failure here is returned as a FAIL.

Then QDTypeCheckingSeverity.ANY checking (allowing just conversions to and from QAny) and finally strict checking are performed. Currently, these are coded as an UNVERIFIED bloq check result.

result

The BloqCheckResult.

msg

A message providing details from the check.