bloqade.cirq_utils.classical_control.is_empty_else
← Module overview
function
source
functionis_empty_else¶source
bloqade.cirq_utils.classical_control.is_empty_else
def is_empty_else(stmt: scf.IfElse) -> boolReturn whether stmt has no executable else body.
Parameters
| Name | Type | Description |
|---|---|---|
stmt | scf.IfElse |
Returns
bool