Module: data_block#
Classes#
class DataBlock: Methods for modeling the costs of the data block of a surface code compilation.
class SimpleDataBlock: A simple data block that uses a fixed code distance and routing overhead.
class CompactDataBlock: The compact data block uses a fixed code distance and one, long access hallway.
class IntermediateDataBlock: The intermediate data block uses a fixed code distance and routing overhead.
class FastDataBlock: The fast data block uses a fixed code distance and a square layout.
Functions#
frozen(...): partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.