Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 23, 2024
1 parent c436cc1 commit 288d0c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qibo/_openqasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ def get_gates(self, qubits, args):
def _qibo_gate_name(gate):
if gate == "cx":
return "CNOT"

if gate == "id":
return "I"

if gate == "ccx":
return "TOFFOLI"

return gate.upper()


Expand Down

0 comments on commit 288d0c8

Please sign in to comment.