dwave-hybrid icon indicating copy to clipboard operation
dwave-hybrid copied to clipboard

Support probabilistic execution of workflows

Open randomir opened this issue 5 years ago • 0 comments

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.

randomir avatar Sep 14 '19 00:09 randomir