Skip to content

Commit 1d008c6

Browse files
🎨 pre-commit fixes
1 parent 9dee2a5 commit 1d008c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/zx/FunctionalityConstruction.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,10 +393,10 @@ void FunctionalityConstruction::addMcx(ZXDiagram& diag,
393393
});
394394
if (it == qubits.end()) {
395395
throw ZXException("No ancilla qubit available for MCX decomposition");
396-
}
397-
396+
}
397+
398398
anc = static_cast<Qubit>(*it);
399-
399+
400400
controls.pop_back();
401401
second.push_back(anc);
402402

0 commit comments

Comments
 (0)