We're celebrating World Quantum Day 2022! Join us

cirq.value.Condition

A classical control condition that can gate an operation.

keys Gets the control keys.
qasm Returns the qasm of this condition.

Methods

replace_key

View source

Replaces the control keys.

resolve

View source

Resolves the condition based on the measurements.