pygsti.algorithms.compilers

pygsti.algorithms.compilers#

Clifford circuit, CNOT circuit, and stabilizer state/measurement generation compilation routines

Functions

compile_clifford(s, p[, pspec, ...])

Compiles an n-qubit Clifford gate into a circuit over a given processor specification.

compile_cnot_circuit(s, pspec, compilation)

A CNOT circuit compiler.

compile_conditional_symplectic(s, pspec[, ...])

Finds circuits that partially (conditional on the input) implement the Clifford given by s.

compile_stabilizer_measurement(s, p, pspec, ...)

Generates a circuit to map the stabilizer state to the standard state |0,0,0,...>.

compile_stabilizer_state(s, p, pspec, ...[, ...])

Generates a circuit to create the stabilizer state from the standard input state |0,0,0,...>.

compile_symplectic(s[, pspec, ...])

Creates a Circuit that implements a Clifford gate given in the symplectic representation.

find_albert_factorization_transform_using_cnots(s, ...)

Performs an Albert factorization transform on s.