qiskit.circuit.classicalfunction.ClassicalFunction.simulate¶ ClassicalFunction.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