diff --git a/pytket/extensions/cutensornet/structured_state/classical.py b/pytket/extensions/cutensornet/structured_state/classical.py index 9cfedefe..4b96e1e7 100644 --- a/pytket/extensions/cutensornet/structured_state/classical.py +++ b/pytket/extensions/cutensornet/structured_state/classical.py @@ -131,7 +131,7 @@ def evaluate_logic_exp(exp: ExtendedLogicExp, bits_dict: dict[Bit, bool]) -> int # evaluation of these expressions is upported via `eval_vals()` from # TKET's LogicExp, see issue #1551 from the TKET repo. raise NotImplementedError( - "Evaluation of {exp.op} not supported in ClassicalExpBox ", + f"Evaluation of {exp.op} not supported in ClassicalExpBox ", "by pytket-cutensornet.", )