Circuit.insert_at_frontier(operations: Union[cirq.ops.raw_types.Operation, Iterable[Any]], start: int, frontier: Dict[cirq.ops.raw_types.Qid, int] = None) → Dict[cirq.ops.raw_types.Qid, int][source]

Inserts operations inline at frontier.

  • operations – the operations to insert
  • start – the moment at which to start inserting the operations
  • frontier – frontier[q] is the earliest moment in which an operation acting on qubit q can be placed.