TwoDimensionalYokedSurfaceCode Class
This class models the Yoked surface code to provide a generic memory instruction based on lattice surgery instructions from a surface code like error correction code.
Hyper parameters: shape_heuristic: ShapeHeuristic The heuristic to determine the shape of the surface code patch for a given number of logical qubits. (Default is ShapeHeuristic.MIN_AREA)
References:
- Craig Gidney, Michael Newman, Peter Brooks, Cody Jones: Yoked surface codes, arXiv:2312.04522
Constructor
TwoDimensionalYokedSurfaceCode(crossing_prefactor: float = 0.008333333333333333, error_correction_threshold: float = 250.0)
Parameters
| Name | Description |
|---|---|
|
crossing_prefactor
|
Default value: 0.008333333333333333
|
|
error_correction_threshold
|
Default value: 250.0
|
Methods
| provided_isa | |
| required_isa |
provided_isa
provided_isa(impl_isa: ISA, ctx: ISAContext) -> Generator[ISA, None, None]
Parameters
| Name | Description |
|---|---|
|
impl_isa
Required
|
|
|
ctx
Required
|
|
required_isa
static required_isa() -> ISARequirements
Attributes
crossing_prefactor
float The prefactor for logical error rate (Default is 0.016)
crossing_prefactor: float = 0.008333333333333333
error_correction_threshold
float The error correction threshold for the surface code (Default is 0.064)
error_correction_threshold: float = 250.0