Skip to content

Commit

Permalink
Update qpd.py: remove extraneous from None
Browse files Browse the repository at this point in the history
  • Loading branch information
garrison authored Jul 26, 2023
1 parent 51a9674 commit 91ac6b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circuit_knitting/cutting/qpd/qpd.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def qpdbasis_from_gate(gate: Gate) -> QPDBasis:
operations.append(UnitaryGate(d.K1l))
return retval

raise ValueError(f"Gate not supported: {gate.name}") from None
raise ValueError(f"Gate not supported: {gate.name}")


def _explicitly_supported_gates() -> set[str]:
Expand Down

0 comments on commit 91ac6b7

Please sign in to comment.