Home / v1.4.0
Name Modified Size InfoDownloads / Week
Parent folder
cirq_ionq-1.4.0-py3-none-any.whl 2024-05-30 60.5 kB
cirq_pasqal-1.4.0-py3-none-any.whl 2024-05-30 32.0 kB
cirq_rigetti-1.4.0-py3-none-any.whl 2024-05-30 66.2 kB
cirq_web-1.4.0-py3-none-any.whl 2024-05-30 596.5 kB
cirq_google-1.4.0-py3-none-any.whl 2024-05-30 532.7 kB
cirq_aqt-1.4.0-py3-none-any.whl 2024-05-30 30.8 kB
cirq_core-1.4.0-py3-none-any.whl 2024-05-30 1.9 MB
cirq-1.4.0-py3-none-any.whl 2024-05-30 8.0 kB
README.md 2024-05-30 10.0 kB
v1.4.0 source code.tar.gz 2024-05-30 8.2 MB
v1.4.0 source code.zip 2024-05-30 9.4 MB
Totals: 11 Items   20.8 MB 0

Cirq v1.4.0 release

Summary

Added support for Python 3.12 and increased minimum Python version to 3.10.

Removal of cirq-ft

The cirq-ft package introduced in 1.2.0 was deleted after its move to the Qualtran repository at https://github.com/quantumlib/Qualtran.git. Please use that repository for fault-tolerant resource estimation needs.

cirq-core

Added cirq.UniformSuperpositionGate for creating uniform superposition from a subset of n-qubit basis states. Added transformer that implements dynamical decoupling for idle moments in a circuit. Added cirq.UNIT_SWEEP as an alias for the cirq.UnitSweep but with a constant-style name. Exposed the Mølmer–Sørensen MSGate at the top level cirq namespace.

cirq-google

Removed functions create_calibration_program and create_batch_program. Added tag class FSimViaModelTag to enable execution of the FSimGate using polynomial model.

A Huge Thank You

Thank you to all our contributors for this release:

Bicheng Ying, Cheng Xing, Dax Fohl, Doug Strain, Eliott Rosenberg, Greg Kahanamoku-Meyer, jbrixon, Josha91, kenya-sk, Lawal Olufowobi, Matthew Harrigan, Matthew Neeley, Miguel Costa, Nour Yosri, Pavol Juhas, Pragya Jain, Prakhar Bhatnagar, Renyi Chen, richrines1, Sam Burdick, Seneca Meeks, Tanuj Khattar, William Courtney, Yury Shefer

What's Changed

ab869790 Flush deprecations before minor release (#6622) a9776d0f Nicer string representation for InverseCompositeGate (#6262) 2cfdf1f4 Add convenience methods to create PhasedXZ gate from ZYZ decomposition (#6569) 1a8caa47 Proper text files end with a newline character (#6614) 778e9e9b Freshen-up cirq dependencies (#6616) e4b6ab2f Fix spurious failure of the check/all script (#6611) ee4d7023 enable simulation of controlled gates in classical simulator (#6589) 528b2d2c Update list of pre-release notebooks (#6609) e11d297b Fix nightly build of the staging cirq website (#6615) f246c2be Add Quantum Engine Support for InternalGate (#6613) aa04196e Create a generalized uniform superposition state gate (#6506) df07e94a Release pins from all pytest-related packages (#6602) bf67f297 CI - deflake Isolated pytest Ubuntu (#6603) cf86dda5 Suppress superfluous warnings from numpy (#6599) 2a907bf3 Delete cirq_ft (#6596) 31600565 CI - deflake Isolated pytest Ubuntu (#6593) ee2b78f8 Optimise QubitPermutationGate decomposition (#6588) 9ddb8c80 Add a note about conda env to dev doc (#6592) f79f9028 Implement dynamical decoupling. (#6515) f6bfb7fc NEP-29 - enforce minimum Python version 3.10 (#6591) 46eab2d8 Support Python 3.12 (#6516) bfba9653 Avoid DivisionByZero error when TensorNetwork simplifies to a scalar (#6586) 69e3de1c Optimize Clifford.pow by using binary exponentiation (#6581) 3080d939 Add a new gauge for SqrtCZ and support SqrtCZ† and fix and improve spin inversion gauge (#6571) 614c78ae Set maxsize of request queue to Quantum Engine (#6576) 37e8df95 Escape & in SVG diagrams (#6579) 2474d47d Removed deprecated processor_ids (#6563) 58281470 Fix __len__ of empty Product sweep to match actual length (#6575) 3ff41a45 CI - downgrade to macos-13 which has the needed Python versions (#6578) e1b03ef6 Update AQT Backend (#6441) 21986ddf Add UNKNOWN status code to retryable Quantum Engine errors (#6565) 2eb6d638 Add Quantum Engine support for cirq.CZPowGate (#6562) 7b7c93dc check/all - exit with error status if any of checks failed (#6561) d16b12c0 Avoid state vector normalization if it worsens the round offs (#6556) c18feed7 display tags by str instead of repr in circuit diagrams (#6530) 1bec6b58 Improve repr of _BaseAncillaQid classes with prefix (#6555) 436c9379 Remove the --pre option from verify-published-package.sh (#6536) 857e202d Bugfix in comparison_key and nicer with_dimension of _BaseAncillaQid (#6554) 9ab66019 Loosen the scipy condition in requirements.txt (#6549) 7792dac1 Remove doc references to stale gitter channel (#6540) b8f06631 Add FSimViaModel Gate into device.proto (#6548) bc3f9ffa CI - migrate to docker compose v2 (#6547) f9f0d66d Introduce gauge compilation (#6526) 45c5fa38 Ensure the result of simulation is normalized (#6522) acb7bf80 pin scipy to ~1.12.0 to temporarily fix ci (#6545) f9556502 Add Serialization and Deserialization Support of FSimViaModelTag. (#6539) 7b97ead2 Fix density matrix references in other simulators (#6537) fc3cc70b Add FSimViaModelTag (#6527) 2e28ae18 Undo temporary version pin of mpmath (#6535) 5a479db7 Install cirq pre-release with stable dependencies (#6534) e5ad4261 Fix ci-daily workflow failures on Mac OS X (#6532) 46e44837 Initialize processor sampler with the default device config key (#6521) edd8393b Merge serializable_forms and deserialized_forms (#6520) edda3a51 Add UNIT_SWEEP as an alias for UnitSweep (#6518) 83382ae0 Add documentation to cirq.decompose protocol regarding specific target gateset (#6439) 632f8b3d Ignore Python code formatting in git blame (#6514) 527af773 Add newly serializable gates to supported grid device gates (#6499) 1a6c16a0 Format all files with black-24.3.0 (#6513) 42927b88 Fix capitalization of GitHub in docs (#6509) a2425eb8 Update ClassicalSimulator to confirm to simulation abstraction (#6432) 7780c01e Preserve circuit tags in transformer_primitives.map_operations (#6505) dadfdcb4 Added MSGate to top level (#6466) 0f4822b1 update parallel XEB notebook (#6494) 2700f959 Remove python3.9 from CI tests (#6495) dc1065d4 Update T1 experiment (#6487) bc766606 Add serialization support to more gates (#6479) 45138921 Update start notebook to use get_engine instead of get_qcs_objects_for_notebook (#6483) 6dbac6b5 Add new get_hardware_engine_and_authenticate_user (#6485) d75d43f0 Add warning when converting global phase operator to OpenQASM 2.0 (#6476) eef7c5c9 Enable test_docker_pre after pinning the mpmath transitive dependency (#6481) 78f05f48 Fix maximum version limit for mpmath (#6482) e11132e3 Fix mpmath version to 1.3.0 due to incompatibility with sympy (#6477) 02d29a97 Support serialization of cirq-google.CouplerPulse gate (#6472) 598c84f8 Add a convenience method that runs both RB and XEB (#6471) e76702fe No longer support create_calibration_program and create_batch_program (#6442) 33eea011 Rework SerializableByKey handling to improve performance (#6469) a4ec7967 Address NumPy and NotImplemented deprecation warnings (#6465) a8bd9a59 Change str of ResultDict to print out repeated measurements (#6468) d432730d Bugfix in _strat_has_stabilizer_effect_from_decompose (#6467) 6a40da5f Enable testing of quimb-dependent notebook (#6461) c2e37df8 CI - update GitHub actions to node20 (#6462) adf51553 Combine RB and XEB to compute inferred errors (#6455) c3de7064 CI - update GitHub actions to node20 (#6450) 2cb7ffee Specify CODECOV_TOKEN for uploading coverage reports (#6459) ef0137c1 Relax version requirement on duet (#6454) f1aacd7f [Refactoring]: split devices.noise_utils into qis.noise_utils and devices.noise_utils (#6453) ab9e10a3 Suppress matplotlib warnings on non-interactive use of show() (#6449) 34a8e59a Combine 2q parallel XEB into two methods, one for benchemarking and the other for visualization (#6443) b9d2defe Bump up to codecov/codecov-action@v4 compatible with node20 (#6448) 36e91b0c Fix ci-daily notebook failures on Mac OS X (#6444) 57c52fe6 CI - update GitHub actions to node20 (#6445) f2c6f3ce Add an optional CompilationTargetGateset postprocessor to contract the circuit (#6433) 5dd05bff Run product state functions inplace to avoid copies where possible (#6396) e9e12ee6 remove partial CZs if allow_partial_czs=False (#6436) 9f07ce84 Fix font family for svg (#6423) 5ed8f16c update quimb version to fix CI (#6438) 2ef19094 Add readout plotting tools (#6425) ee56c598 Rm build_rtd_docs CI job and its dependencies (#6417) ba4c6aa5 convert identity to phased xz in qubit characterization (#6421) 91c3f45a convert cliffords to xz in qubit characterization (#6420) a3eed6b9 convert SingleQubitCliffordGate to phasedXZ during serialization (#6419) 7da7f64c Add ParallelRandomizedBenchmarkingResult class (#6412) 9c451a2d Update sphinx version (#6415) 8ae5bbb3 Pin sphinx dependencies that require Sphinx 5.0 or later (#6414) 968ed4c3 Remove cached_property backport (#6398) 4d35768c switch from bash to template approach for creating pypi config file (#6409) ea6fabca use token to upload to pypi (#6406) c8f7ed72 fix small normalization bug (#6404) aa57be50 Fix common typos (#6403) 9e86d364 optimize clifford benchmark circuit creation for a total 94.5% speedup (#6401) b3e0eeb9 make SingleQubitCliffordGate immutable singletons and use it in qubit_characterizations for a 37% speedup (#6392) 8a7f6755 Fix "Build docs" CI job by temporarily pinning alabaster to 0.7.13 (#6399) d33b1a71 Don't create a new list of qubits in Gate.on (#6390) 7c9b7137 Modify run_batch_async (#6387) 99993b93 Check identity first when comparing moments (#6388) a2530fe3 Speed up construction of single qubit pauli operations - cirq.X(q) (#6316) 181d7aa2 Check value equality first when comparing circuits (#6375) 19612073 Add parallel randomized benchmarking (#6382) 2ce4ed12 Add exponential fitting to RandomizedBenchMarkResult (#6385) 321786dd Easy changes to difficult terminology (#6340) e3fbd98a Optimize qid comparisons (#6386) 2f3c1e2c Optimize cached_method when wrapping no-arg methods (#6381) ec727ca1 Revert "Change default for streaming feature flag to false (#6310)" (#6380) 33c25733 Cache Qid instances for common types (#6371) 6d437c45 Update start doc to specify recommended python version (#6370) be7b0594 Short-circuit value equality with an identity check (#6372) 75781102 Use spawn in _compat_test.py to avoid fork problems (#6374) 30b6c390 Fix test_notebooks_against_cirq_head for MacOS platform (#6366) 6ea5ae1c Bump cirq version to 1.4.0 (#6369)

Source: README.md, updated 2024-05-30