Module: rotation_cost_model#

Classes#

class RotationCostModel: Analytical estimate of the complexity of approximating a rotation given an error budget.

class RotationLogarithmicModel: A linear model in the log of the error budget with no preparation cost.

class ConstantWithOverheadRotationCost: A rotation cost of bitsize - 2 toffoli per rotation independent of the error budget.

Functions#

frozen(...): partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.

BeverlandEtAlRotationCost

Instance of qualtran.surface_code.RotationLogarithmicModel

SevenDigitsOfPrecisionConstantCost

Instance of qualtran.surface_code.ConstantWithOverheadRotationCost