Skip to content

Commit 423057d

Browse files
Merge pull request #137 from PECOS-packages/bugfix/slr_qir_classical_qargs
patch for bug fix regarding unrolling N gates within a global operation when performing SLR->QIR translation
2 parents 1bc87e1 + a093d39 commit 423057d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • python/quantum-pecos/src/pecos/slr/gen_codes

python/quantum-pecos/src/pecos/slr/gen_codes/gen_qir.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,6 @@ def _create_qgate_call(self, gate: qgate_base.QGate) -> None:
770770
return
771771
elif (
772772
isinstance(gate.qargs, tuple)
773-
and len(gate.qargs) != gate.qsize
774773
and all(isinstance(e, tuple) for e in gate.qargs)
775774
):
776775
for pair in gate.qargs:

0 commit comments

Comments
 (0)