Litinski19Factory Class
T and CCZ factories based on the paper arXiv:1905.06903.
It contains two categories of estimates. If the input T error rate is similar to the Clifford error, it produces magic state instructions based on Table 1 in the paper. If the input T error rate is at most 10 times higher than the Clifford error rate, it produces magic state instructions based on Table 2 in the paper.
It requires Clifford error rates of at most 0.1% for CNOT, H, and MEAS_Z instructions. If these instructions have different error rates, the maximum error rate is assumed.
References:
- Daniel Litinski: Magic state distillation: not as costly as you think, arXiv:1905.06903
Constructor
Litinski19Factory()
Methods
| provided_isa |
Yield ISAs with T and CCZ factory instructions. |
| required_isa |
provided_isa
Yield ISAs with T and CCZ factory instructions.
provided_isa(impl_isa: ISA, ctx: ISAContext) -> Generator[ISA, None, None]
Parameters
| Name | Description |
|---|---|
|
impl_isa
Required
|
<xref:qdk.qre.models.ISA>
The implementation ISA providing physical gates. |
|
ctx
Required
|
<xref:qdk.qre.models.ISAContext>
The enumeration context. |
required_isa
static required_isa() -> ISARequirements