qat.hardware.make_depolarizing_hardware_model

qat.hardware.make_depolarizing_hardware_model(eps1, eps2, correl_type='single_qubit', depol_type='pauli', tol=1e-12)

Construct a simplified hardware model with perfect gates followed by depolarizing noise. There is no idling noise, no readout error. The gateset is the standard gateset.

Parameters
  • eps1 (float) – one-qubit gate error rate

  • eps2 (float) – two-qubit gate error rate

  • correl_type (str, optional) – type of two-qubit correlation. Either “single_qubit” or “multi_qubit”. Defaults to “single_qubit”.

  • depol_type (str, optional) – type of depolarizing channel, among ‘pauli’ and ‘randomizing’. Defaults to ‘pauli’.

Returns

a hardware model with depolarizing gate noise

Return type

DefaultHardwareModel

Notes

If correl_type==”single_qubit”, the two qubit depolarizing noise is a tensor product of two single-qubit depolarizing noises. It thus only applies single-qubit Pauli errors.

If correl_type==”multi_qubit”, the two qubit depolarizing noise applies a multiqubit Pauli errors (with the same probability for each possible Pauli error). See the documentation of make_depolarizing_channel() for more information.

depol_type distinguishes between the two usual definitions of the depolarizing channel, see the documentation of make_depolarizing_channel() for more information.