Skip to content

Commit

Permalink
🎨 reduce PR diff
Browse files Browse the repository at this point in the history
Signed-off-by: burgholzer <burgholzer@me.com>
  • Loading branch information
burgholzer committed Nov 9, 2023
1 parent 5b9b8d0 commit ee7e2d4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions include/checker/dd/simulation/StateGenerator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "StateType.hpp"
#include "algorithms/RandomCliffordCircuit.hpp"
#include "checker/dd/TaskManager.hpp"
#include "dd/Node.hpp"
#include "dd/Package.hpp"
#include "dd/Simulation.hpp"

Expand Down Expand Up @@ -154,9 +153,8 @@ class StateGenerator {
// add |0> edges for all the ancillary qubits
auto initial = stabilizer;
for (std::size_t p = randomQubits; p < totalQubits; ++p) {
initial = dd->makeDDNode(
static_cast<dd::Qubit>(p),
std::array<dd::vEdge, 2>{initial, qc::VectorDD::zero()});
initial = dd->makeDDNode(static_cast<dd::Qubit>(p),
std::array{initial, qc::VectorDD::zero()});
}

// return the resulting decision diagram
Expand Down
1 change: 0 additions & 1 deletion src/checker/zx/ZXChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ ZXEquivalenceChecker::ZXEquivalenceChecker(const qc::QuantumComputation& circ1,
dPrime.makeAncilla(
anc, static_cast<zx::Qubit>(p2.at(static_cast<qc::Qubit>(anc))));
}

miter.invert();
miter.concat(dPrime);
}
Expand Down
1 change: 0 additions & 1 deletion src/mqt/qcec/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

from .configuration import ConfigurationOptions


from . import Configuration, EquivalenceCheckingManager
from .configuration import augment_config_from_kwargs
from .parameterized import __is_parameterized, check_parameterized
Expand Down

0 comments on commit ee7e2d4

Please sign in to comment.