Skip to content

Commit

Permalink
Update include/DDMinimizer.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Yannick Stade <[email protected]>
Signed-off-by: ClaudiaDuenzinger <[email protected]>
  • Loading branch information
Claudiaaaaaaaaa and ystade authored Sep 26, 2024
1 parent 08613ef commit 39c22df
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions include/DDMinimizer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 39c22df

Please sign in to comment.