cuqi.experimental.algebra.VariableNode.condition#

VariableNode.condition(**kwargs)#

Conditions the tree by replacing any VariableNode with a ValueNode if the variable is in the kwargs dictionary.