Skip to content

Commit ba8acdc

Browse files
committed
Merge branch 'phil/508-simplifying-qubitnew' of https://github.com/QuEraComputing/bloqade-circuit into phil/508-simplifying-qubitnew
2 parents a716da4 + 6829892 commit ba8acdc

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/bloqade/cirq_utils/emit/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def main():
136136
assert first_stmt is not None, "Method has no statements!"
137137
if len(args_ssa) - 1 != len(args):
138138
raise EmitError(
139-
f"The method {sym_name} takes {len(args_ssa)} arguments, but you passed in {len(args)} via the `args` keyword!"
139+
f"The method {sym_name} takes {len(args_ssa) - 1} arguments, but you passed in {len(args)} via the `args` keyword!"
140140
)
141141

142142
for arg, arg_ssa in zip(args, args_ssa[1:], strict=True):

test/pyqrack/runtime/test_qrack.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,6 @@ def coinflip():
420420
assert abs(results.eigenvalues[1] - 0.5) < 0.1
421421

422422

423-
if __name__ == "__main__":
424-
test_batch_state1()
425-
426-
427423
def test_batch_state2():
428424
"""
429425
Averaging with a qubit_map function

0 commit comments

Comments
 (0)