pygsti.processors.random_compilation#
Randomized circuit compilation via random compiling and central Pauli propagation.
Functions
|
Computes the inverse of a given gate label. |
|
Generates a Haar-random U3 gate. |
|
Generates a layer of Haar-random U3 gates. |
|
Computes the inverse parameters for a U3 gate given its parameters. |
|
Modifies an angle to be within the range of -π to π. |
|
Pads a layer of gates with idle gates for any unused qubits. |
|
Performs random compilation on a given circuit by inserting Pauli gates between layers. |
|
Converts a Pauli vector into a corresponding layer of U3 gates. |
|
Perform circuit randomization by propagating a central Pauli layer through the circuit. |
|
Computes the inverse of a circuit composed of U3, CX and CZ gates. |
|
Updates the parameters of U3 gates in a given layer based on the provided Pauli random compiling vectors. |
Classes
|
A class for performing randomized circuit compilation. |