|View source on GitHub|
class LinearPermutationGate: A permutation gate that decomposes a given permutation using a linear
class MappingDisplayGate: Displays the indices mapped to a set of wires.
class PermutationGate: A permutation gate indicates a change in the mapping from qubits to
class SwapPermutationGate: Generic swap gate.
display_mapping(...): Inserts display gates between moments to indicate the mapping throughout
get_logical_operations(...): Gets the logical operations specified by the physical operations and
update_mapping(...): Updates a mapping (in place) from qubits to logical indices according to