Skip to content

Commit 78ead3e

Browse files
Bugfix switch_case.py
typo in mcx reference: "baluaca" -> "balauca"
1 parent f64bc8a commit 78ead3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qrisp/alg_primitives/switch_case.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def qswitch(operand, case, case_function_list, method = "sequential"):
8282
def conjugator(case, control_qbl):
8383
mcx(case,
8484
control_qbl,
85-
method='baluaca',
85+
method='balauca',
8686
ctrl_state=i)
8787

8888
for i in range(len(case_function_list)):
@@ -125,4 +125,4 @@ def conjugator(case, control_qbl):
125125
enable.delete()
126126

127127
else:
128-
raise Exception("Don't know compile method {method} for switch-case structure.")
128+
raise Exception("Don't know compile method {method} for switch-case structure.")

0 commit comments

Comments
 (0)