pygsti.algorithms.randomcircuit#
Random circuit sampling functions.
Functions
|
Generates a "binary randomized benchmarking" (BiRB) circuit. |
|
Generates a "Clifford randomized benchmarking" (CRB) circuit. |
|
Generates a "direct randomized benchmarking" (DRB) circuit. |
|
Generates a "mirror randomized benchmarking" (MRB) circuit. |
|
Samples a random circuit of the specified length (or ~ twice this length). |
|
TODO: docstring <TODO summary> |
|
TODO: docstring <TODO summary> |
TODO: docstring length : consistent with RB length. |
|
TODO: docstring <TODO summary> |
|
|
Generates a random circuit with composite layers cponsisting of a layer of two-qubit gates followed by a layer of of single-qubit gates. |
|
Samples a random circuit layer using the specified list of "compatible two-qubit gates" (co2_q_gates). |
|
TODO: docstring <TODO summary> |
Samples a random circuit layer by eliminating qubits one by one. |
|
|
Samples a random circuit layer containing only 1-qubit gates. |
|
TODO: docstring #generate layer of random unitaries and make a series of circuit layers with the compiled versions of these |
|
TODO: docstring #generate layer of random unitaries and make a series of circuit layers with the compiled versions of these |
TODO: docstring |
|
Samples a uniformly random layer of 1-qubit Cliffords. |
|
Samples a uniformly random n-qubit Pauli and converts it to the gate-set of pspec. |
|
TODO: docstring |
|
|
TODO: docstring Generates a forward circuits with benchmark depth d for non-clifford mirror randomized benchmarking. |