tqec.compile.specs.SpecRule

class SpecRule(*args, **kwargs)[source]

Protocol for returning a CompiledBlock based on a CubeSpec.

Users can define their own rules for generating CompiledBlock`s based on the `CubeSpec provided and register them during compilation.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)