From 39c22df98d14600fdb0d3a383c16d93ae0576550 Mon Sep 17 00:00:00 2001 From: ClaudiaDuenzinger <50296598+Claudiaaaaaaaaa@users.noreply.github.com> Date: Thu, 26 Sep 2024 21:55:47 +0200 Subject: [PATCH] Update include/DDMinimizer.hpp Co-authored-by: Yannick Stade <100073938+ystade@users.noreply.github.com> Signed-off-by: ClaudiaDuenzinger <50296598+Claudiaaaaaaaaa@users.noreply.github.com> --- include/DDMinimizer.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/DDMinimizer.hpp b/include/DDMinimizer.hpp index 200de320..2e6a0255 100644 --- a/include/DDMinimizer.hpp +++ b/include/DDMinimizer.hpp @@ -14,9 +14,10 @@ class DDMinimizer { public: /** - * @brief creates a Heuristic based initialLayout for the QuantumComputation - and applies it. The current implementation is based on pattern found in the - controlled gates + * @brief Changes the order of qubits in a QuantumComputation to heuristically optimize for short running times of the DD-simulator. + * @detail Computes an initialLayout for the QuantumComputation based on a heuristic to optimize the running time of the DD-simulator. + * After that, the initialLayout is applied, i.e. the qubits in the QuantumComputation are re-ordered such that the resulting QuantumComputation's initialLayout is the identity again. + * The current implementation is based on patterns found in the controlled gates. * @param QuantumComputation */ static void optimizeInputPermutation(qc::QuantumComputation& qc);