Skip to content

Commit

Permalink
suggested change
Browse files Browse the repository at this point in the history
  • Loading branch information
josh146 committed Aug 2, 2024
1 parent eea07ac commit a659340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pennylane/ops/op_math/condition.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def cond(condition, true_fn: Callable = None, false_fn: Optional[Callable] = Non
If a branch returns one or more variables, every other branch must return the same abstract values.
Args:
condition (Union[.MeasurementValue, bool]): a conditional expression involving a mid-circuit
condition (Union[.MeasurementValue, bool]): a conditional expression that may involve a mid-circuit
measurement value (see :func:`.pennylane.measure`).
true_fn (callable): The quantum function or PennyLane operation to
apply if ``condition`` is ``True``
Expand Down

0 comments on commit a659340

Please sign in to comment.