RBUtils

class RBUtils[source]

A collection of utility functions for computing additional data from randomized benchmarking experiments

Methods

static coherence_limit(nQ=2, T1_list=None, T2_list=None, gatelen=0.1)[source]

The error per gate (1-average_gate_fidelity) given by the T1,T2 limit.

Parameters:
  • nQ (int) – Number of qubits (1 and 2 supported).

  • T1_list (list) – List of T1’s (Q1,…,Qn).

  • T2_list (list) – List of T2’s (as measured, not Tphi). If not given assume T2=2*T1 .

  • gatelen (float) – Length of the gate.

Returns:

coherence limited error per gate.

Return type:

float

Raises:

ValueError – If there are invalid inputs