bloq_example#

Decorator to turn a function into a BloqExample.

This will set name to the name of the function and bloq_cls according to the return-type annotation. You can also call the decorator with keyword arguments, which will be passed through to the BloqExample constructor.