Module: cirq.contrib.acquaintance.gates

Classes

class AcquaintanceOpportunityGate: Represents an acquaintance opportunity.

class Layers: Layers(prior_interstitial, pre, intra, post, posterior_interstitial)

class SwapNetworkGate: A single gate representing a generalized swap network.

Functions

acquaint(...)

acquaint_and_shift(...): Acquaints and shifts a pair of lists of qubits.

acquaint_insides(...): Acquaints each of the qubits with another set specified by an acquaintance gate.

new_layers(...)

operations_to_part_lens(...)