qiskit.circuit.classicalfunction.BooleanExpression.simulate¶ BooleanExpression.simulate(bitstring)[source]¶ Evaluate the expression on a bitstring. This evaluation is done classically. Parameters bitstring (str) – The bitstring for which to evaluate. Returns result of the evaluation. Return type bool