Commit 20c94d8
DropNegligible was used but is deprecated. (#781)
DeprecationWarning: DropNegligible was used but is deprecated. It will be removed in cirq v1.0. Use cirq.drop_negligible_operations instead.
cirq.DropNegligible().optimize_circuit
cirq.drop_empty_moments / cirq.drop_negligible_operations: Removes moments that are empty or operations that have very small effects, respectively.
Co-authored-by: Nicholas Rubin <rubinnc0@gmail.com>1 parent 9be4783 commit 20c94d8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
0 commit comments