Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions src/pyqasm/maps/gates.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,7 @@
from typing import Callable

import numpy as np
from openqasm3.ast import (
FloatLiteral,
Identifier,
IndexedIdentifier,
QuantumGate,
QuantumPhase,
)
from openqasm3.ast import FloatLiteral, Identifier, IndexedIdentifier, QuantumGate, QuantumPhase

from pyqasm.elements import BasisSet, InversionOp
from pyqasm.exceptions import ValidationError, raise_qasm3_error
Expand Down Expand Up @@ -1122,11 +1116,12 @@ def two_qubit_gate_op(
"cphaseshift",
"cp10",
"cphaseshift01",
"cphaseshift10",
"cp01",
"cp00",
"cphaseshift00",
},
2: {"xx_plus_yy", "u2", "U2"},
2: {"xx_plus_yy", "u2", "U2", "prx"},
3: {"ms", "cu3", "u", "U", "u3", "U3"},
4: {"cu"},
}
Expand Down