BloqCheckException#

qualtran.testing.BloqCheckException

An exception raised by the assert_bloq_example_xxx functions in this module.

These exceptions correspond to known failures due to assertion errors, non-applicable checks, or unverified protocols.

Consider using the factory class methods BloqCheckException.{fail, missing, na, unverified} for convenience.

check_result

The BloqCheckResult.

msg

A message providing details for the exception.

check_result

The BloqCheckResult.

msg

A message providing details for the exception.

Methods#

fail

View source

Create an exception with a FAIL check result.

missing

View source

Create an exception with a MISSING check result.

na

View source

Create an exception with a NA check result.

unverified

View source

Create an exception with an UNVERIFIED check result.