Skip to content

Commit

Permalink
remove deprecated code in clifford_decompose and cnotdihedral_decompose
Browse files Browse the repository at this point in the history
  • Loading branch information
ShellyGarion committed Dec 27, 2023
1 parent 8e5ecb5 commit cdc35c4
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 124 deletions.
2 changes: 0 additions & 2 deletions qiskit/quantum_info/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
XXDecomposer
.. autofunction:: two_qubit_cnot_decompose
.. autofunction:: decompose_clifford
"""

from __future__ import annotations
Expand Down Expand Up @@ -168,6 +167,5 @@
Quaternion,
TwoQubitBasisDecomposer,
XXDecomposer,
decompose_clifford,
two_qubit_cnot_decompose,
)
1 change: 0 additions & 1 deletion qiskit/quantum_info/synthesis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@
from .two_qubit_decompose import TwoQubitBasisDecomposer, two_qubit_cnot_decompose
from .one_qubit_decompose import OneQubitEulerDecomposer
from .quaternion import Quaternion
from .clifford_decompose import decompose_clifford
from .xx_decompose.decomposer import XXDecomposer
69 changes: 0 additions & 69 deletions qiskit/quantum_info/synthesis/clifford_decompose.py

This file was deleted.

50 changes: 0 additions & 50 deletions qiskit/quantum_info/synthesis/cnotdihedral_decompose.py

This file was deleted.

4 changes: 2 additions & 2 deletions test/benchmarks/quantum_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
from qiskit.quantum_info import (
random_clifford,
Clifford,
decompose_clifford,
random_pauli,
SparsePauliOp,
)
from qiskit.synthesis import synth_clifford_full
from qiskit.quantum_info.operators.symplectic.random import random_pauli_list
from qiskit.quantum_info import random_cnotdihedral, CNOTDihedral

Expand Down Expand Up @@ -64,7 +64,7 @@ def setup(self, nqubits_length):
def time_decompose(self, nqubits_length):
length = int(nqubits_length.split(",")[1])
for i in range(length):
decompose_clifford(self.random_clifford[i])
synth_clifford_full(self.random_clifford[i])


class RandomCnotDihedralBench:
Expand Down

0 comments on commit cdc35c4

Please sign in to comment.