Parameters: |
- error_model (py_qcode:ErrorModel, input) – A description of the errors to be applied independently to the qubits of lattice.
- code (py_qcode.ErrorCorrectingCode, input) – An error-correcting code which translates errors on a lattice to syndromes on the dual lattice.
- decoder (py_qcode.Decoder, input) – A protocol for inferring errors given syndromes.
- n_trials (integer, input) – a number of simulations to be performed in series. This can be used to organize batch jobs so that one can submit more than one simulation per job.
- true_coset (str, output) – The actual coset to which the random error applied in the simulation belongs.
- inferred_coset – The coset assigned by the error-correcting code during the simulation.
|