diff --git a/pennylane/pauli/dla/lie_closure.py b/pennylane/pauli/dla/lie_closure.py index de982329639..cf7176df586 100644 --- a/pennylane/pauli/dla/lie_closure.py +++ b/pennylane/pauli/dla/lie_closure.py @@ -140,7 +140,7 @@ def lie_closure( for ps1, ps2 in itertools.combinations(vspace.basis, 2): com = ps1.commutator(ps2) - com.simplify(tol=tol) + com.simplify(tol=vspace.tol) if len(com) == 0: # skip because operators commute continue