Cirq
stable
Installing Cirq
Tutorial
Circuits
Gates
Simulation
Schedules and Devices
Development
API Reference
Devices and Qubits
Single Qubit Gates
Two Qubit Gates
Three Qubit Gates
Other Gate and Operation Classes
Circuits and Schedules
cirq.Circuit
cirq.Circuit.all_operations
cirq.Circuit.all_qubits
cirq.Circuit.append
cirq.Circuit.apply_unitary_effect_to_state
cirq.Circuit.are_all_measurements_terminal
cirq.Circuit.batch_insert
cirq.Circuit.batch_insert_into
cirq.Circuit.batch_remove
cirq.Circuit.clear_operations_touching
cirq.Circuit.copy
cirq.Circuit.findall_operations
cirq.Circuit.findall_operations_between
cirq.Circuit.findall_operations_with_gate_type
cirq.Circuit.from_ops
cirq.Circuit.insert
cirq.Circuit.insert_at_frontier
cirq.Circuit.insert_into_range
cirq.Circuit.next_moment_operating_on
cirq.Circuit.next_moments_operating_on
cirq.Circuit.operation_at
cirq.Circuit.prev_moment_operating_on
cirq.Circuit.reachable_frontier_from
cirq.Circuit.save_qasm
cirq.Circuit.to_qasm
cirq.Circuit.to_text_diagram
cirq.Circuit.to_text_diagram_drawer
cirq.Circuit.to_unitary_matrix
cirq.Circuit.with_device
cirq.Circuit.device
cirq.flatten_op_tree
cirq.freeze_op_tree
cirq.InsertStrategy
cirq.Moment
cirq.moment_by_moment_schedule
cirq.OP_TREE
cirq.QubitOrder
cirq.QubitOrderOrList
cirq.Schedule
cirq.ScheduledOperation
cirq.transform_op_tree
Trials and Simulations
Magic Method Protocols
Magic Method Protocol Types
Optimization
Utilities
Experiments
Google
Testing
Work in Progress - Noisy Channels
Work in Progress - Stabilizers
Contrib
Cirq
Docs
»
API Reference
»
cirq.Circuit
»
cirq.Circuit.all_operations
cirq.Circuit.all_operations
¶
Circuit.
all_operations
(
)
→ Iterator[cirq.ops.raw_types.Operation]
[source]
¶
Iterates over the operations applied by this circuit.
Operations from earlier moments will be iterated over first. Operations
within a moment are iterated in the order they were given to the
moment’s constructor.