pygsti.processors.random_compilation.u3_cx_cz_inv

Contents

pygsti.processors.random_compilation.u3_cx_cz_inv#

u3_cx_cz_inv(circ)#

Computes the inverse of a circuit composed of U3, CX and CZ gates.

Parameters:

circ (pygsti.circuits.Circuit) – The circuit for which to compute the inverse.

Returns:

A new circuit representing the inverse of the input circuit.

Return type:

pygsti.circuits.Circuit