The True-Qᵀᴹ SDK provides several methods of benchmarking circuit generation.
Here is a simple example:
import trueq as tq circuits = tq.make_srb(labels=[[0, 1]], n_random_cycles=[4, 32], n_circuits=25)
In this example
circuits is a 2-qubit
a collection of circuits to be run. The
object is essentially just an iterable object of
Circuit objects, each of which describes a single circuit
to be run on a quantum device.
A circuit in turn stores the quantum gates to be performed in each cycle of the
circuit, and also stores the experimental or simulated results once it has been run.
Examples and details will be provided in subsequent guides, such as that of streamlined RB, but in short, there are three steps for every protocol:
Generate a circuit collection using a generation function.
Iterate through the circuit objects and perform them experimentally, recording their results.
Analyze the data.