Skip to content

Commit

Permalink
Update cirq requirement from <1.3.0,>=1.0.0 to >=1.0.0,<1.4.0 (#2107)
Browse files Browse the repository at this point in the history
* Update cirq requirement from <1.3.0,>=1.0.0 to >=1.0.0,<1.4.0

Updates the requirements on [cirq](https://github.com/quantumlib/cirq) to permit the latest version.
- [Release notes](https://github.com/quantumlib/cirq/releases)
- [Changelog](https://github.com/quantumlib/Cirq/blob/main/release.md)
- [Commits](quantumlib/Cirq@v1.0.0...v1.3.0)

---
updated-dependencies:
- dependency-name: cirq
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* create circuit from list of operations

since the method `_all_qubits` was added to cirq.Circuit objects in the
1.3.0 release, and the circuit objects that are read in from a file are
older, they do not have the `_all_qubits` property which cirq code now
expects.

IMO this is good reason not to use pickling for class specific objects.
Cirq docs recommend JSON for serializing circuits.

* clean up notebook/remove `FutureWarning`s

* clean up quantum simulation notebook

minor formatting changes + code formatting

* simplify finding/replacing non-clifford ops

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nate stemen <[email protected]>
  • Loading branch information
dependabot[bot] and natestemen authored Dec 12, 2023
1 parent 28ce303 commit 21abcd0
Show file tree
Hide file tree
Showing 4 changed files with 277 additions and 305 deletions.
Loading

0 comments on commit 21abcd0

Please sign in to comment.