|
22 | 22 | AlignRight,
|
23 | 23 | )
|
24 | 24 |
|
25 |
| -from cirq.optimizers.clifford_decomposition import decompose_clifford_tableau_to_operations |
26 |
| - |
27 |
| -from cirq.optimizers.cphase_to_fsim import ( |
28 |
| - compute_cphase_exponents_for_fsim_decomposition, |
29 |
| - decompose_cphase_into_two_fsim, |
30 |
| -) |
31 |
| - |
32 |
| -from cirq.optimizers.controlled_gate_decomposition import ( |
33 |
| - decompose_multi_controlled_x, |
34 |
| - decompose_multi_controlled_rotation, |
35 |
| -) |
36 |
| - |
37 | 25 | from cirq.optimizers.drop_empty_moments import (
|
38 | 26 | DropEmptyMoments,
|
39 | 27 | )
|
|
105 | 93 | from cirq.optimizers.two_qubit_to_fsim import (
|
106 | 94 | decompose_two_qubit_interaction_into_four_fsim_gates,
|
107 | 95 | )
|
| 96 | + |
| 97 | +from cirq import _compat |
| 98 | + |
| 99 | +_compat.deprecated_submodule( |
| 100 | + new_module_name="cirq.transformers.analytical_decompositions.clifford_decomposition", |
| 101 | + old_parent="cirq.optimizers", |
| 102 | + old_child="clifford_decomposition", |
| 103 | + deadline="v0.16", |
| 104 | + create_attribute=True, |
| 105 | +) |
| 106 | + |
| 107 | +_compat.deprecated_submodule( |
| 108 | + new_module_name="cirq.transformers.analytical_decompositions.cphase_to_fsim", |
| 109 | + old_parent="cirq.optimizers", |
| 110 | + old_child="cphase_to_fsim", |
| 111 | + deadline="v0.16", |
| 112 | + create_attribute=True, |
| 113 | +) |
| 114 | + |
| 115 | +_compat.deprecated_submodule( |
| 116 | + new_module_name="cirq.transformers.analytical_decompositions.controlled_gate_decomposition", |
| 117 | + old_parent="cirq.optimizers", |
| 118 | + old_child="controlled_gate_decomposition", |
| 119 | + deadline="v0.16", |
| 120 | + create_attribute=True, |
| 121 | +) |
0 commit comments