Skip to content

Commit

Permalink
Merge 085e3fa into fa1cb1b
Browse files Browse the repository at this point in the history
  • Loading branch information
purva-thakre committed Jun 21, 2021
2 parents fa1cb1b + 085e3fa commit 0f670d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/qutip_qip/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
csign, berkeley, swapalpha, swap,
iswap, sqrtswap, sqrtiswap, fredkin,
toffoli, controlled_gate, globalphase,
expand_operator, gate_sequence_product)
expand_operator, gate_sequence_product,
_GATE_NAME_TO_LABEL,_gate_label)

from qutip import tensor, basis, identity, ket2dm, qeye
from qutip.qobj import Qobj
from qutip.measurement import measurement_statistics
Expand Down
2 changes: 1 addition & 1 deletion src/qutip_qip/operations/gates.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
'gate_expand_1toN', 'gate_expand_2toN', 'gate_expand_3toN',
'qubit_clifford_group', 'expand_operator', '_single_qubit_gates',
'_para_gates', '_ctrl_gates','_swap_like','_toffoli_like',
'_fredkin_like']
'_fredkin_like','_GATE_NAME_TO_LABEL','_gate_label']


_single_qubit_gates = ["RX", "RY", "RZ", "SNOT", "SQRTNOT", "PHASEGATE",
Expand Down

0 comments on commit 0f670d4

Please sign in to comment.