cirq.contrib.acquaintance.inspection_utils.LogicalAnnotator

Realizes acquaintance opportunities.

Inherits From: ExecutionStrategy

initial_mapping The initial mapping of qubits to logical indices.

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