dwave-hybrid
dwave-hybrid copied to clipboard
Support probabilistic execution of workflows
One option is to add general conditional execution (i.e. an If
block), but then to support probabilistic execution we need to have uniform sampler, threshold condition, if block, etc.
Proposal: introduce the Probably
block that accepts a child workflow/runnable and a probability (0 to 1). If child is executed, output is propagated. If not, output is suppressed, or maybe a default value is used.