Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 3c1f841

Browse files
committed
Added NoOp to precondition dependency list for classical control.
1 parent 851a8e3 commit 3c1f841

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/QsCompiler/Compiler/RewriteSteps/ClassicallyControlled.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ public bool PreconditionVerification(QsCompilation compilation)
4444
.ToHashSet();
4545
var requiredBuiltIns = new HashSet<QsQualifiedName>()
4646
{
47+
BuiltIn.NoOp.FullName,
48+
4749
BuiltIn.ApplyIfZero.FullName,
4850
BuiltIn.ApplyIfZeroA.FullName,
4951
BuiltIn.ApplyIfZeroC.FullName,

0 commit comments

Comments
 (0)