Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove a batch of deprecated optimizers #5727

Merged
merged 12 commits into from
Jul 12, 2022
Merged
Show file tree
Hide file tree
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
14 changes: 1 addition & 13 deletions cirq-core/cirq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,19 +327,7 @@
ZZPowGate,
)

from cirq.optimizers import (
AlignLeft,
AlignRight,
ConvertToCzAndSingleGates,
DropEmptyMoments,
DropNegligible,
EjectPhasedPaulis,
EjectZ,
ExpandComposite,
MergeInteractions,
MergeInteractionsToSqrtIswap,
SynchronizeTerminalMeasurements,
)
from cirq.optimizers import AlignLeft, AlignRight, ConvertToCzAndSingleGates

from cirq.transformers import (
align_left,
Expand Down
16 changes: 0 additions & 16 deletions cirq-core/cirq/optimizers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,8 @@

from cirq.optimizers.align_right import AlignRight

from cirq.optimizers.drop_empty_moments import DropEmptyMoments

from cirq.optimizers.drop_negligible import DropNegligible

from cirq.optimizers.convert_to_cz_and_single_gates import ConvertToCzAndSingleGates

from cirq.optimizers.eject_phased_paulis import EjectPhasedPaulis

from cirq.optimizers.eject_z import EjectZ

from cirq.optimizers.expand_composite import ExpandComposite

from cirq.optimizers.merge_interactions import MergeInteractions

from cirq.optimizers.merge_interactions_to_sqrt_iswap import MergeInteractionsToSqrtIswap

from cirq.optimizers.synchronize_terminal_measurements import SynchronizeTerminalMeasurements

from cirq.transformers.analytical_decompositions import (
compute_cphase_exponents_for_fsim_decomposition,
decompose_cphase_into_two_fsim,
Expand Down
30 changes: 0 additions & 30 deletions cirq-core/cirq/optimizers/drop_empty_moments.py

This file was deleted.

33 changes: 0 additions & 33 deletions cirq-core/cirq/optimizers/drop_empty_moments_test.py

This file was deleted.

45 changes: 0 additions & 45 deletions cirq-core/cirq/optimizers/drop_negligible.py

This file was deleted.

59 changes: 0 additions & 59 deletions cirq-core/cirq/optimizers/drop_negligible_test.py

This file was deleted.

50 changes: 0 additions & 50 deletions cirq-core/cirq/optimizers/eject_phased_paulis.py

This file was deleted.

Loading