cuqi.experimental.algebra.Node.condition#

abstractmethod Node.condition(**kwargs)[source]#

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