LatticeSurgery Class
Lattice surgery trace transform.
Converts a trace into a form suitable for lattice-surgery-based resource estimation.
Constructor
LatticeSurgery(*, slow_down_factor: float = 1.0)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
slow_down_factor
|
Default value: 1.0
|
Methods
| transform |
Apply the lattice surgery transformation to a trace. |
transform
Attributes
slow_down_factor
Multiplicative factor applied to the trace depth. Default is 1.0.
slow_down_factor: float = 1.0