From ad36eab8fb26f6001b901cc24360a130e97af708 Mon Sep 17 00:00:00 2001 From: CalMacCQ <93673602+CalMacCQ@users.noreply.github.com> Date: Wed, 6 Dec 2023 21:04:15 +0000 Subject: [PATCH] make suggested changes --- pytket/extensions/pyquil/backends/forest.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pytket/extensions/pyquil/backends/forest.py b/pytket/extensions/pyquil/backends/forest.py index 43c25c7..6429d10 100644 --- a/pytket/extensions/pyquil/backends/forest.py +++ b/pytket/extensions/pyquil/backends/forest.py @@ -170,10 +170,8 @@ def default_compilation_pass(self, optimisation_level: int = 2) -> BasePass: passlist.append(SynthesiseTket()) passlist.append(self.rebase_pass()) if optimisation_level > 0: - passlist.extend( - [ - EulerAngleReduction(OpType.Rx, OpType.Rz), - ] + passlist.append( + EulerAngleReduction(OpType.Rx, OpType.Rz), ) return SequencePass(passlist) @@ -193,6 +191,7 @@ def process_circuits( Supported kwargs: + * `seed` * `postprocess`: apply end-of-circuit simplifications and classical postprocessing to improve fidelity of results (bool, default False) * `simplify_initial`: apply the pytket ``SimplifyInitial`` pass to improve