cirq.contrib.acquaintance.executor.ExecutionStrategy

Tells StrategyExecutorTransformer how to execute an acquaintance strategy.

An execution strategy tells StrategyExecutorTransformer how to execute an acquaintance strategy, i.e. what gates to implement at the available acquaintance opportunities.

device The device for which the executed acquaintance strategy should be valid.
initial_mapping The initial mapping of logical indices to qubits.

Methods

get_operations

View source

Gets the logical operations to apply to qubits.

__call__

View source

Returns the final mapping of logical indices to qubits after executing an acquaintance strategy.

keep_acquaintance False