Skip to content

Commit

Permalink
✏️ fix case style
Browse files Browse the repository at this point in the history
Signed-off-by: burgholzer <burgholzer@me.com>
  • Loading branch information
burgholzer committed Sep 9, 2024
1 parent 671ff66 commit 9ce6f97
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/sc/heuristic/test_heuristic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2528,19 +2528,19 @@ TEST(HeuristicTestFidelity, LayerSplitting) {
}

TEST(HeuristicDebug, MoreThan128Qubits) {
const std::size_t num_qubits = 129;
const std::size_t numQubits = 129;

// create a linear NN coupling map
CouplingMap cm = {};
for (std::size_t i = 0; i < num_qubits - 1; ++i) {
for (std::size_t i = 0; i < numQubits - 1; ++i) {
cm.emplace(i, i + 1);
cm.emplace(i + 1, i);
}
Architecture architecture{num_qubits, cm};
Architecture architecture{numQubits, cm};

// create a simple circuit to map to the architecture
auto qc = qc::QuantumComputation(num_qubits);
for (std::size_t i = 0; i < num_qubits - 1; ++i) {
auto qc = qc::QuantumComputation(numQubits);
for (std::size_t i = 0; i < numQubits - 1; ++i) {
qc.cx(static_cast<qc::Qubit>(i), static_cast<qc::Qubit>(i + 1));
}

Expand Down

0 comments on commit 9ce6f97

Please sign in to comment.