cirq 1.5.0.dev20250131051016__py3-none-any.whl → 1.5.0.dev20250131200013__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,345 @@
1
+ Metadata-Version: 2.1
2
+ Name: cirq
3
+ Version: 1.5.0.dev20250131200013
4
+ Summary: A framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
5
+ Home-page: http://github.com/quantumlib/cirq
6
+ Author: The Cirq Developers
7
+ Author-email: cirq-dev@googlegroups.com
8
+ Maintainer: Google Quantum AI open-source maintainers
9
+ Maintainer-email: quantum-oss-maintainers@google.com
10
+ License: Apache 2
11
+ Keywords: algorithms,api,cirq,google,google quantum,nisq,python,quantum,quantum algorithms,quantum circuit,quantum circuit simulator,quantum computer simulator,quantum computing,quantum development kit,quantum information,quantum programming,quantum programming language,quantum simulation,sdk,simulation
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: Education
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: License :: OSI Approved :: Apache Software License
17
+ Classifier: Operating System :: MacOS :: MacOS X
18
+ Classifier: Operating System :: Microsoft :: Windows
19
+ Classifier: Operating System :: POSIX :: Linux
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
25
+ Classifier: Topic :: Scientific/Engineering :: Quantum Computing
26
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
27
+ Classifier: Typing :: Typed
28
+ Requires-Python: >=3.10.0
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE
31
+ License-File: AUTHORS
32
+ Requires-Dist: cirq-aqt==1.5.0.dev20250131200013
33
+ Requires-Dist: cirq-core==1.5.0.dev20250131200013
34
+ Requires-Dist: cirq-google==1.5.0.dev20250131200013
35
+ Requires-Dist: cirq-ionq==1.5.0.dev20250131200013
36
+ Requires-Dist: cirq-pasqal==1.5.0.dev20250131200013
37
+ Requires-Dist: cirq-rigetti==1.5.0.dev20250131200013
38
+ Requires-Dist: cirq-web==1.5.0.dev20250131200013
39
+ Provides-Extra: dev_env
40
+ Requires-Dist: mypy==1.14.1; extra == "dev-env"
41
+ Requires-Dist: types-protobuf>=4.24; extra == "dev-env"
42
+ Requires-Dist: types-requests==2.32.0.20241016; extra == "dev-env"
43
+ Requires-Dist: pytest; extra == "dev-env"
44
+ Requires-Dist: pytest-asyncio; extra == "dev-env"
45
+ Requires-Dist: pytest-cov; extra == "dev-env"
46
+ Requires-Dist: pytest-randomly; extra == "dev-env"
47
+ Requires-Dist: coverage~=7.4; extra == "dev-env"
48
+ Requires-Dist: pytest-xdist; extra == "dev-env"
49
+ Requires-Dist: filelock~=3.1; extra == "dev-env"
50
+ Requires-Dist: freezegun; extra == "dev-env"
51
+ Requires-Dist: importlib-metadata; extra == "dev-env"
52
+ Requires-Dist: virtualenv~=20.23; extra == "dev-env"
53
+ Requires-Dist: virtualenv-clone; extra == "dev-env"
54
+ Requires-Dist: black==24.10.0; extra == "dev-env"
55
+ Requires-Dist: pylint~=3.3.1; extra == "dev-env"
56
+ Requires-Dist: grpcio-tools~=1.62.3; extra == "dev-env"
57
+ Requires-Dist: mypy-protobuf~=3.6; extra == "dev-env"
58
+ Requires-Dist: typedunits; extra == "dev-env"
59
+ Requires-Dist: ipython~=8.10; extra == "dev-env"
60
+ Requires-Dist: notebook~=7.0; extra == "dev-env"
61
+ Requires-Dist: ipykernel~=6.29; extra == "dev-env"
62
+ Requires-Dist: papermill~=2.6; extra == "dev-env"
63
+ Requires-Dist: ply>=3.6; extra == "dev-env"
64
+ Requires-Dist: pylatex~=1.4; extra == "dev-env"
65
+ Requires-Dist: quimb>=1.8; extra == "dev-env"
66
+ Requires-Dist: opt-einsum; extra == "dev-env"
67
+ Requires-Dist: seaborn~=0.12; extra == "dev-env"
68
+ Requires-Dist: tensorflow-docs==2024.2.5.73858; extra == "dev-env"
69
+ Requires-Dist: virtualenv; extra == "dev-env"
70
+ Requires-Dist: setuptools; extra == "dev-env"
71
+ Requires-Dist: wheel; extra == "dev-env"
72
+ Requires-Dist: twine; extra == "dev-env"
73
+ Requires-Dist: asv; extra == "dev-env"
74
+ Requires-Dist: qiskit-aer~=0.12.0; extra == "dev-env"
75
+ Requires-Dist: rstcheck; extra == "dev-env"
76
+ Requires-Dist: codeowners; platform_system != "Windows" and extra == "dev_env"
77
+
78
+ <div align='center' width='50%'>
79
+
80
+ | ⚠️ WARNING |
81
+ |:----------:|
82
+ | **This is a development version of Cirq and may be<br>unstable. For the latest stable release of Cirq,<br>please visit** <https://pypi.org/project/cirq>.|
83
+
84
+ </div>
85
+
86
+ # <!-- H1 title omitted because our logo acts as the title. -->
87
+
88
+ <div align="center">
89
+ <img width="280px" height="135px" alt="Cirq logo"
90
+ src="https://raw.githubusercontent.com/quantumlib/Cirq/refs/heads/main/docs/images/Cirq_logo_color.svg">
91
+
92
+ Python package for writing, manipulating, and running [quantum
93
+ circuits](https://en.wikipedia.org/wiki/Quantum_circuit) on quantum computers
94
+ and simulators.
95
+
96
+ [![Licensed under the Apache 2.0
97
+ license](https://img.shields.io/badge/License-Apache%202.0-3c60b1.svg?logo=opensourceinitiative&logoColor=white&style=flat-square)](https://github.com/quantumlib/Cirq/blob/main/LICENSE)
98
+ [![Compatible with Python versions 3.10 and
99
+ higher](https://img.shields.io/badge/Python-3.10+-fcbc2c.svg?style=flat-square&logo=python&logoColor=white)](https://www.python.org/downloads/)
100
+ [![Cirq project on
101
+ PyPI](https://img.shields.io/pypi/v/cirq.svg?logo=python&logoColor=white&label=PyPI&style=flat-square&color=fcbc2c)](https://pypi.org/project/cirq)
102
+ [![Archived in
103
+ Zenodo](https://img.shields.io/badge/10.5281%2Fzenodo.4062499-gray.svg?label=DOI&style=flat-square&colorA=gray&colorB=3c60b1)](https://doi.org/10.5281/zenodo.4062499)
104
+
105
+ [Features](#features) &ndash;
106
+ [Installation](#installation) &ndash;
107
+ [Quick Start](#quick-start--hello-qubit-example) &ndash;
108
+ [Documentation](#cirq-documentation) &ndash;
109
+ [Integrations](#integrations) &ndash;
110
+ [Community](#community) &ndash;
111
+ [Citing Cirq](#citing-cirq) &ndash;
112
+ [Contact](#contact)
113
+
114
+ </div>
115
+
116
+ ## Features
117
+
118
+ Cirq provides useful abstractions for dealing with today’s [noisy
119
+ intermediate-scale quantum](https://arxiv.org/abs/1801.00862) (NISQ) computers,
120
+ where the details of quantum hardware are vital to achieving state-of-the-art
121
+ results. Some of its features include:
122
+
123
+ * Flexible gate definitions and custom gates
124
+ * Parameterized circuits with symbolic variables
125
+ * Circuit transformation, compilation and optimization
126
+ * Hardware device modeling
127
+ * Noise modeling
128
+ * Multiple built-in quantum circuit simulators
129
+ * Integration with [qsim](https://github.com/quantumlib/qsim) for
130
+ high-performance simulation
131
+ * Interoperability with [NumPy](https://numpy.org) and
132
+ [SciPy](https://scipy.org)
133
+ * Cross-platform compatibility
134
+
135
+ ## Installation
136
+
137
+ Cirq supports Python version 3.10 and later, and can be used on Linux, MacOS,
138
+ and Windows, as well as [Google Colab](https://colab.google). For complete
139
+ installation instructions, please refer to the
140
+ [Install](https://quantumai.google/cirq/start/install) section of the online
141
+ Cirq documentation.
142
+
143
+ ## Quick Start – “Hello Qubit” Example
144
+
145
+ Here is a simple example to get you up and running with Cirq after you have
146
+ installed it. Start a Python interpreter, and then type the following:
147
+
148
+ ```python
149
+ import cirq
150
+
151
+ # Pick a qubit.
152
+ qubit = cirq.GridQubit(0, 0)
153
+
154
+ # Create a circuit.
155
+ circuit = cirq.Circuit(
156
+ cirq.X(qubit)**0.5, # Square root of NOT.
157
+ cirq.measure(qubit, key='m') # Measurement.
158
+ )
159
+ print("Circuit:")
160
+ print(circuit)
161
+
162
+ # Simulate the circuit several times.
163
+ simulator = cirq.Simulator()
164
+ result = simulator.run(circuit, repetitions=20)
165
+ print("Results:")
166
+ print(result)
167
+ ```
168
+
169
+ Python should then print output similar to this:
170
+
171
+ ```text
172
+ Circuit:
173
+ (0, 0): ───X^0.5───M('m')───
174
+ Results:
175
+ m=11000111111011001000
176
+ ```
177
+
178
+ Congratulations! You have run your first quantum simulation in Cirq. You can
179
+ continue to learn more by exploring the [many Cirq tutorials](#tutorials)
180
+ described below.
181
+
182
+ ## Cirq Documentation
183
+
184
+ The primary documentation site for Cirq is the [Cirq home page on the Quantum
185
+ AI website](https://quantumai.google/cirq). There and elsewhere, a variety of
186
+ documentation for Cirq is available.
187
+
188
+ ### Tutorials
189
+
190
+ * [Video tutorials] on YouTube are an engaging way to learn Cirq.
191
+ * [Jupyter notebook-based tutorials] let you learn Cirq from your browser – no
192
+ installation needed.
193
+ * [Text-based tutorials] on the Cirq home page are great when combined with a
194
+ local [installation] of Cirq on your computer. After starting with the
195
+ [basics], you'll be ready to dive into tutorials on circuit building and
196
+ circuit simulation under the [Build] and [Simulate] tabs, respectively. Check
197
+ out the other tabs for more!
198
+
199
+ [Video tutorials]: https://www.youtube.com/playlist?list=PLpO2pyKisOjLVt_tDJ2K6ZTapZtHXPLB4
200
+ [Jupyter notebook-based tutorials]: https://colab.research.google.com/github/quantumlib/Cirq
201
+ [Text-based tutorials]: https://quantumai.google/cirq
202
+ [installation]: https://quantumai.google/cirq/start/install
203
+ [basics]: https://quantumai.google/cirq/start/basics
204
+ [Build]: https://quantumai.google/cirq/build
205
+ [Simulate]: https://quantumai.google/cirq/simula
206
+
207
+ ### Reference Documentation
208
+
209
+ * Docs for the [current stable release] correspond to what you get with
210
+ `pip install cirq`.
211
+ * Docs for the [pre-release] correspond to what you get with
212
+ `pip install cirq~=1.0.dev`.
213
+
214
+ [current stable release]: https://quantumai.google/reference/python/cirq/all_symbols
215
+ [pre-release]: https://quantumai.google/reference/python/cirq/all_symbols?version=nightly
216
+
217
+ ### Examples
218
+
219
+ * The [examples subdirectory](./examples/) of the Cirq GitHub repo has many
220
+ programs illustrating the application of Cirq to everything from common
221
+ textbook algorithms to more advanced methods.
222
+ * The [Experiments page](https://quantumai.google/cirq/experiments/) on the
223
+ Cirq documentation site has yet more examples, from simple to advanced.
224
+
225
+ ### Change log
226
+
227
+ * The [Cirq releases](https://github.com/quantumlib/cirq/releases) page on
228
+ GitHub lists the changes in each release.
229
+
230
+ ## Integrations
231
+
232
+ Google Quantum AI has a suite of open-source software that lets you do more
233
+ with Cirq. From high-performance simulators, to novel tools for expressing and
234
+ analyzing fault-tolerant quantum algorithms, our software stack lets you
235
+ develop quantum programs for a variety of applications.
236
+
237
+ <div align="center">
238
+
239
+ | Your interests | Software to explore |
240
+ |-------------------------------------------------|----------------------|
241
+ | Quantum algorithms?<br>Fault-tolerant quantum computing (FTQC)? | [Qualtran] |
242
+ | Large circuits and/or a lot of simulations? | [qsim] |
243
+ | Circuits with thousands of qubits and millions of Clifford operations? | [Stim] |
244
+ | Quantum error correction (QEC)? | [Stim] |
245
+ | Chemistry and/or material science? | [OpenFermion]<br>[OpenFermion-FQE]<br>[OpenFermion-PySCF]<br>[OpenFermion-Psi4] |
246
+ | Quantum machine learning (QML)? | [TensorFlow Quantum] |
247
+ | Real experiments using Cirq? | [ReCirq] |
248
+
249
+ </div>
250
+
251
+ [Qualtran]: https://github.com/quantumlib/qualtran
252
+ [qsim]: https://github.com/quantumlib/qsim
253
+ [Stim]: https://github.com/quantumlib/ssim
254
+ [OpenFermion]: https://github.com/quantumlib/openfermion
255
+ [OpenFermion-FQE]: https://github.com/quantumlib/OpenFermion-FQE
256
+ [OpenFermion-PySCF]: https://github.com/quantumlib/OpenFermion-PySCF
257
+ [OpenFermion-Psi4]: https://github.com/quantumlib/OpenFermion-Psi4
258
+ [TensorFlow Quantum]: https://github.com/tensorflow/quantum
259
+ [ReCirq]: https://github.com/quantumlib/ReCirq
260
+
261
+ ## Community
262
+
263
+ <a href="https://github.com/quantumlib/Cirq/graphs/contributors"><img
264
+ width="160em" alt="Total number of contributors to Cirq"
265
+ src="https://img.shields.io/github/contributors/quantumlib/cirq?label=Contributors&logo=github&color=ccc&style=flat-square"/></a>
266
+
267
+ Cirq has benefited from [open-source contributions] by over 200 people and
268
+ counting. We are dedicated to cultivating an open and inclusive community to
269
+ build software for quantum computers, and have a [code of conduct] for our
270
+ community.
271
+
272
+ [open-source contributions]: https://github.com/quantumlib/Cirq/graphs/contributors
273
+ [code of conduct]: https://github.com/quantumlib/cirq/blob/main/CODE_OF_CONDUCT.md
274
+
275
+ ### Announcements
276
+
277
+ Stay on top of Cirq developments using the approach that best suits your needs:
278
+
279
+ * For releases and major announcements: sign up to the low-volume mailing list
280
+ [`cirq-announce`].
281
+ * For releases only:
282
+ * Via GitHub notifications: configure [repository notifications] for Cirq.
283
+ * Via Atom/RSS from GitHub: subscribe to the GitHub [Cirq releases Atom feed].
284
+ * Via RSS from PyPI: subscribe to the [PyPI releases RSS feed] for Cirq.
285
+
286
+ Cirq releases take place approximately every quarter.
287
+
288
+ [`cirq-announce`]: https://groups.google.com/forum/#!forum/cirq-announce
289
+ [repository notifications]: https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/configuring-notifications
290
+ [Cirq releases Atom feed]: https://github.com/quantumlib/Cirq/releases.atom
291
+ [PyPI releases RSS feed]: https://pypi.org/rss/project/cirq/releases.xml
292
+
293
+ ### Questions and Discussions
294
+
295
+ * Do you have questions about using Cirq? Post them to the [Quantum Computing
296
+ Stack Exchange] and tag them with the [`cirq`] tag. You can also search past
297
+ questions using that tag – it's a great way to learn!
298
+ * Would you like to get more involved in Cirq development? _Cirq Cynq_ is our
299
+ biweekly virtual meeting of contributors to discuss everything from issues to
300
+ ongoing efforts, as well as to ask questions. Become a member of
301
+ [_cirq-dev_](https://groups.google.com/forum/#!forum/cirq-dev) to get an
302
+ automatic meeting invitation!
303
+
304
+ [Quantum Computing Stack Exchange]: https://quantumcomputing.stackexchange.com
305
+ [`cirq`]: https://quantumcomputing.stackexchange.com/questions/tagged/cirq
306
+
307
+ ### Issues and Pull Requests
308
+
309
+ * Do you have a feature request or want to report a bug? [Open an issue on
310
+ GitHub] to report it!
311
+ * Do you have a code contribution? Read our [contribution guidelines], then
312
+ open a [pull request]!
313
+
314
+ [Open an issue on GitHub]: https://github.com/quantumlib/Cirq/issues/new/choose
315
+ [contribution guidelines]: https://github.com/quantumlib/cirq/blob/main/CONTRIBUTING.md
316
+ [pull request]: https://help.github.com/articles/about-pull-requests
317
+
318
+ ## Citing Cirq<a name="how-to-cite-cirq"></a>
319
+
320
+ When publishing articles or otherwise writing about Cirq, please cite the Cirq
321
+ version you use – it will help others reproduce your results. We use Zenodo to
322
+ preserve releases. The following links let you download the bibliographic
323
+ record for the latest stable release of Cirq in some popular formats:
324
+
325
+ <div align="center">
326
+
327
+ [![Download BibTeX bibliography record for latest Cirq
328
+ release](https://img.shields.io/badge/Download%20record-e0e0e0.svg?style=flat-square&logo=LaTeX&label=BibTeX&labelColor=106f6e)](https://citation.doi.org/format?doi=10.5281/zenodo.4062499&style=bibtex)&nbsp;&nbsp;
329
+ [![Download CSL JSON bibliography record for latest Cirq
330
+ release](https://img.shields.io/badge/Download%20record-e0e0e0.svg?style=flat-square&label=CSL&labelColor=2d98e0&logo=json)](https://citation.doi.org/metadata?doi=10.5281/zenodo.4062499)
331
+
332
+ </div>
333
+
334
+ For formatted citations and records in other formats, as well as records for
335
+ all releases of Cirq past and present, please visit the [Cirq page on
336
+ Zenodo](https://doi.org/10.5281/zenodo.4062499).
337
+
338
+ ## Contact
339
+
340
+ For any questions or concerns not addressed here, please email
341
+ <quantum-oss-maintainers@google.com>.
342
+
343
+ ## Disclaimer
344
+
345
+ Cirq is not an official Google product. Copyright 2019 The Cirq Developers.
@@ -0,0 +1,6 @@
1
+ cirq-1.5.0.dev20250131200013.dist-info/AUTHORS,sha256=FyiF0gaNIILE_9q7HDCtKOsTlwNwu0qsTbOAXF67F9A,292
2
+ cirq-1.5.0.dev20250131200013.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
3
+ cirq-1.5.0.dev20250131200013.dist-info/METADATA,sha256=AUGsFiER2qdm-9cCI0CJ8UxNae4dN7WemiebLNjuY_c,15310
4
+ cirq-1.5.0.dev20250131200013.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
5
+ cirq-1.5.0.dev20250131200013.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
+ cirq-1.5.0.dev20250131200013.dist-info/RECORD,,
@@ -1,207 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: cirq
3
- Version: 1.5.0.dev20250131051016
4
- Summary: A framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
5
- Home-page: http://github.com/quantumlib/cirq
6
- Author: The Cirq Developers
7
- Author-email: cirq-dev@googlegroups.com
8
- Maintainer: Google Quantum AI open-source maintainers
9
- Maintainer-email: quantum-oss-maintainers@google.com
10
- License: Apache 2
11
- Keywords: algorithms,api,cirq,google,google quantum,nisq,python,quantum,quantum algorithms,quantum circuit,quantum circuit simulator,quantum computer simulator,quantum computing,quantum development kit,quantum information,quantum programming,quantum programming language,quantum simulation,sdk,simulation
12
- Classifier: Development Status :: 5 - Production/Stable
13
- Classifier: Intended Audience :: Developers
14
- Classifier: Intended Audience :: Education
15
- Classifier: Intended Audience :: Science/Research
16
- Classifier: License :: OSI Approved :: Apache Software License
17
- Classifier: Operating System :: MacOS :: MacOS X
18
- Classifier: Operating System :: Microsoft :: Windows
19
- Classifier: Operating System :: POSIX :: Linux
20
- Classifier: Programming Language :: Python :: 3
21
- Classifier: Programming Language :: Python :: 3.10
22
- Classifier: Programming Language :: Python :: 3.11
23
- Classifier: Programming Language :: Python :: 3.12
24
- Classifier: Programming Language :: Python :: 3.13
25
- Classifier: Topic :: Scientific/Engineering :: Quantum Computing
26
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
27
- Classifier: Typing :: Typed
28
- Requires-Python: >=3.10.0
29
- License-File: LICENSE
30
- License-File: AUTHORS
31
- Requires-Dist: cirq-aqt==1.5.0.dev20250131051016
32
- Requires-Dist: cirq-core==1.5.0.dev20250131051016
33
- Requires-Dist: cirq-google==1.5.0.dev20250131051016
34
- Requires-Dist: cirq-ionq==1.5.0.dev20250131051016
35
- Requires-Dist: cirq-pasqal==1.5.0.dev20250131051016
36
- Requires-Dist: cirq-rigetti==1.5.0.dev20250131051016
37
- Requires-Dist: cirq-web==1.5.0.dev20250131051016
38
- Provides-Extra: dev_env
39
- Requires-Dist: mypy==1.14.1; extra == "dev-env"
40
- Requires-Dist: types-protobuf>=4.24; extra == "dev-env"
41
- Requires-Dist: types-requests==2.32.0.20241016; extra == "dev-env"
42
- Requires-Dist: pytest; extra == "dev-env"
43
- Requires-Dist: pytest-asyncio; extra == "dev-env"
44
- Requires-Dist: pytest-cov; extra == "dev-env"
45
- Requires-Dist: pytest-randomly; extra == "dev-env"
46
- Requires-Dist: coverage~=7.4; extra == "dev-env"
47
- Requires-Dist: pytest-xdist; extra == "dev-env"
48
- Requires-Dist: filelock~=3.1; extra == "dev-env"
49
- Requires-Dist: freezegun; extra == "dev-env"
50
- Requires-Dist: importlib-metadata; extra == "dev-env"
51
- Requires-Dist: virtualenv~=20.23; extra == "dev-env"
52
- Requires-Dist: virtualenv-clone; extra == "dev-env"
53
- Requires-Dist: black==24.10.0; extra == "dev-env"
54
- Requires-Dist: pylint~=3.3.1; extra == "dev-env"
55
- Requires-Dist: grpcio-tools~=1.62.3; extra == "dev-env"
56
- Requires-Dist: mypy-protobuf~=3.6; extra == "dev-env"
57
- Requires-Dist: typedunits; extra == "dev-env"
58
- Requires-Dist: ipython~=8.10; extra == "dev-env"
59
- Requires-Dist: notebook~=7.0; extra == "dev-env"
60
- Requires-Dist: ipykernel~=6.29; extra == "dev-env"
61
- Requires-Dist: papermill~=2.6; extra == "dev-env"
62
- Requires-Dist: ply>=3.6; extra == "dev-env"
63
- Requires-Dist: pylatex~=1.4; extra == "dev-env"
64
- Requires-Dist: quimb>=1.8; extra == "dev-env"
65
- Requires-Dist: opt-einsum; extra == "dev-env"
66
- Requires-Dist: seaborn~=0.12; extra == "dev-env"
67
- Requires-Dist: tensorflow-docs==2024.2.5.73858; extra == "dev-env"
68
- Requires-Dist: virtualenv; extra == "dev-env"
69
- Requires-Dist: setuptools; extra == "dev-env"
70
- Requires-Dist: wheel; extra == "dev-env"
71
- Requires-Dist: twine; extra == "dev-env"
72
- Requires-Dist: asv; extra == "dev-env"
73
- Requires-Dist: qiskit-aer~=0.12.0; extra == "dev-env"
74
- Requires-Dist: rstcheck; extra == "dev-env"
75
- Requires-Dist: codeowners; platform_system != "Windows" and extra == "dev_env"
76
-
77
- **This is a development version of Cirq and may be unstable.**
78
-
79
- **For the latest stable release of Cirq see**
80
- `here <https://pypi.org/project/cirq>`__.
81
-
82
- .. image:: https://raw.githubusercontent.com/quantumlib/Cirq/main/docs/images/Cirq_logo_color.png
83
- :target: https://github.com/quantumlib/cirq
84
- :alt: Cirq
85
- :width: 500px
86
-
87
- Cirq is a Python library for writing, manipulating, and optimizing quantum
88
- circuits and running them against quantum computers and simulators.
89
-
90
- .. image:: https://github.com/quantumlib/Cirq/actions/workflows/ci.yml/badge.svg?event=schedule
91
- :target: https://github.com/quantumlib/Cirq
92
- :alt: Build Status
93
-
94
- .. image:: https://codecov.io/gh/quantumlib/Cirq/branch/main/graph/badge.svg
95
- :target: https://codecov.io/gh/quantumlib/Cirq
96
-
97
- .. image:: https://badge.fury.io/py/cirq.svg
98
- :target: https://badge.fury.io/py/cirq
99
-
100
-
101
- Installation and Documentation
102
- ------------------------------
103
-
104
- Cirq documentation is available at `quantumai.google/cirq <https://quantumai.google/cirq>`_.
105
-
106
- Documentation for the latest **pre-release** version of cirq (tracks the repository's main branch; what you get if you ``pip install cirq~=1.0.dev``), is available `here <https://quantumai.google/reference/python/cirq/all_symbols?version=nightly>`__.
107
-
108
- Documentation for the latest **stable** version of cirq (what you get if you ``pip install cirq``) is available `here <https://quantumai.google/reference/python/cirq/all_symbols>`__.
109
-
110
-
111
- - `Installation <https://quantumai.google/cirq/start/install>`_
112
- - `Documentation <https://quantumai.google/cirq>`_
113
- - `Tutorials <https://quantumai.google/cirq/build>`_
114
-
115
- For a comprehensive list all of the interactive Jupyter Notebooks in our repo (including the ones not yet published to the site) open our repo in `Colab <https://colab.research.google.com/github/quantumlib/Cirq>`_.
116
-
117
- For the latest news regarding Cirq, sign up to the `Cirq-announce email list <https://groups.google.com/forum/#!forum/cirq-announce>`__!
118
-
119
-
120
- Hello Qubit
121
- -----------
122
-
123
- A simple example to get you up and running:
124
-
125
- .. code-block:: python
126
-
127
- import cirq
128
-
129
- # Pick a qubit.
130
- qubit = cirq.GridQubit(0, 0)
131
-
132
- # Create a circuit
133
- circuit = cirq.Circuit(
134
- cirq.X(qubit)**0.5, # Square root of NOT.
135
- cirq.measure(qubit, key='m') # Measurement.
136
- )
137
- print("Circuit:")
138
- print(circuit)
139
-
140
- # Simulate the circuit several times.
141
- simulator = cirq.Simulator()
142
- result = simulator.run(circuit, repetitions=20)
143
- print("Results:")
144
- print(result)
145
-
146
- Example output:
147
-
148
- .. code-block::
149
-
150
- Circuit:
151
- (0, 0): ───X^0.5───M('m')───
152
- Results:
153
- m=11000111111011001000
154
-
155
-
156
- Feature requests / Bugs / Questions
157
- -----------------------------------
158
-
159
- If you have feature requests or you found a bug, please `file them on GitHub <https://github.com/quantumlib/Cirq/issues/new/choose>`__.
160
-
161
- For questions about how to use Cirq post to
162
- `Quantum Computing Stack Exchange <https://quantumcomputing.stackexchange.com/>`__ with the
163
- `cirq <https://quantumcomputing.stackexchange.com/questions/tagged/cirq>`__ tag.
164
-
165
- How to cite Cirq
166
- ----------------
167
-
168
- Cirq is uploaded to Zenodo automatically. Click on the badge below to see all the citation formats for all versions.
169
-
170
- .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4062499.svg
171
- :target: https://doi.org/10.5281/zenodo.4062499
172
- :alt: DOI
173
-
174
- Cirq Contributors Community
175
- ---------------------------
176
-
177
- We welcome contributions! Before opening your first PR, a good place to start is to read our
178
- `guidelines <https://github.com/quantumlib/cirq/blob/main/CONTRIBUTING.md>`__.
179
-
180
- We are dedicated to cultivating an open and inclusive community to build software for near term quantum computers.
181
- Please read our `code of conduct <https://github.com/quantumlib/cirq/blob/main/CODE_OF_CONDUCT.md>`__ for the rules of engagement within our community.
182
-
183
- **Cirq Cynque** is our weekly meeting for contributors to discuss upcoming features, designs, issues, community and status of different efforts.
184
- To get an invitation please join the `cirq-dev email list <https://groups.google.com/forum/#!forum/cirq-dev>`__ which also serves as yet another platform to discuss contributions and design ideas.
185
-
186
- See Also
187
- --------
188
-
189
- For those interested in using quantum computers to solve problems in
190
- chemistry and materials science, we encourage exploring
191
- `OpenFermion <https://github.com/quantumlib/openfermion>`__ and
192
- its sister library for compiling quantum simulation algorithms in Cirq,
193
- `OpenFermion-Cirq <https://github.com/quantumlib/openfermion-cirq>`__.
194
-
195
- For machine learning enthusiasts, `Tensorflow Quantum <https://github.com/tensorflow/quantum>`__ is a great project to check out!
196
-
197
- For a powerful quantum circuit simulator that integrates well with Cirq, we recommend looking at `qsim <https://github.com/quantumlib/qsim>`__.
198
-
199
- Finally, `ReCirq <https://github.com/quantumlib/ReCirq>`__ contains real world experiments using Cirq.
200
-
201
- Contact
202
- -------
203
-
204
- For any questions or concerns not addressed here, please feel free to reach out to
205
- quantumai-oss-maintainers@googlegroups.com.
206
-
207
- Cirq is not an official Google product. Copyright 2019 The Cirq Developers
@@ -1,6 +0,0 @@
1
- cirq-1.5.0.dev20250131051016.dist-info/AUTHORS,sha256=FyiF0gaNIILE_9q7HDCtKOsTlwNwu0qsTbOAXF67F9A,292
2
- cirq-1.5.0.dev20250131051016.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
3
- cirq-1.5.0.dev20250131051016.dist-info/METADATA,sha256=qPgsyMe4qvg1CdViCCe92oHh9egxPq96wxblSSVa8m4,8953
4
- cirq-1.5.0.dev20250131051016.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
5
- cirq-1.5.0.dev20250131051016.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
- cirq-1.5.0.dev20250131051016.dist-info/RECORD,,