PhysicalParameters#
qualtran.surface_code.PhysicalParameters
View source on GitHub
|
The physical properties of a quantum computer.
qualtran.surface_code.PhysicalParameters(
physical_error=attr_dict['physical_error'].default,
cycle_time_us=attr_dict['cycle_time_us'].default
)
Attributes
physical_errorThe error rate of the underlying physical qubits.
cycle_time_usThe number of microseconds it takes to do one cycle of error correction.
Methods#
make_beverland_et_al
@classmethodmake_beverland_et_al( qubit_modality: str = 'superconducting', optimistic_err_rate: bool = False )
The physical parameters considered in the Beverland et al. reference.
Args
qubit_modalityOne of “superconducting”, “ion”, or “majorana”. This sets the cycle time, with ions being considerably slower.
optimistic_err_rateIn the reference, the authors consider two error rates, which they term “realistic” and “optimistic”. Set this to
Trueto use optimistic error rates.
References
make_gidney_fowler
@classmethodmake_gidney_fowler( optimistic_err_rate: bool = False )
The physical parameters considered in the Gidney and Fowler reference.
References
__ne__
__ne__(
other
)
Check equality and either forward a NotImplemented or return the result negated.
__eq__
__eq__(
other
)
Method generated by attrs for class PhysicalParameters.
View source on GitHub