@@ -159,7 +159,7 @@ TEST_F(TestNAGraph, Coloring) {
159
159
}
160
160
161
161
TEST_F (TestNAGraph, SequenceOrdering) {
162
- const auto & sequence = na::NAGraphAlgorithms::computeSequence (graph);
162
+ const auto & sequence = na::NAGraphAlgorithms::computeSequence (graph, 20 );
163
163
const auto & moveable = sequence.first ;
164
164
// check that the order of moveable qubits is consistent
165
165
auto order =
@@ -184,7 +184,7 @@ TEST_F(TestNAGraph, SequenceOrdering) {
184
184
}
185
185
186
186
TEST_F (TestNAGraph, InteractionExists) {
187
- const auto & sequence = na::NAGraphAlgorithms::computeSequence (graph);
187
+ const auto & sequence = na::NAGraphAlgorithms::computeSequence (graph, 20 );
188
188
const auto & moveable = sequence.first ;
189
189
const auto & fixed = sequence.second ;
190
190
// check that all interactions are part of the interaction graph
@@ -208,7 +208,7 @@ TEST_F(TestNAGraph, CoveredInteractions) {
208
208
na::NAGraphAlgorithms::coveredEdges (graph, maxIndepSet);
209
209
// TODO for some reason this must be a vector, set gives an error
210
210
std::vector coveredEdgesVec (coveredEdges.cbegin (), coveredEdges.cend ());
211
- const auto & sequence = na::NAGraphAlgorithms::computeSequence (graph);
211
+ const auto & sequence = na::NAGraphAlgorithms::computeSequence (graph, 20 );
212
212
const auto & moveable = sequence.first ;
213
213
const auto & fixed = sequence.second ;
214
214
// check that all interactions that are covered by the independent set are
0 commit comments