pygsti.tools.rb_decay

pygsti.tools.rb_decay(x, a, b)

Return the Randomized Benchmarking (RB) decay function:

decay(x,a,b) = (1 + (2a-1) exp(-bx))/2