cirq-core 1.7.0.dev20250924190322__py3-none-any.whl → 1.7.0.dev20250924214519__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.

Potentially problematic release.


This version of cirq-core might be problematic. Click here for more details.

cirq/_version.py CHANGED
@@ -28,4 +28,4 @@ if sys.version_info < (3, 11, 0): # pragma: no cover
28
28
  'of Cirq (e.g. "python -m pip install cirq==1.5.0")'
29
29
  )
30
30
 
31
- __version__ = "1.7.0.dev20250924190322"
31
+ __version__ = "1.7.0.dev20250924214519"
cirq/_version_test.py CHANGED
@@ -3,4 +3,4 @@ import cirq
3
3
 
4
4
 
5
5
  def test_version() -> None:
6
- assert cirq.__version__ == "1.7.0.dev20250924190322"
6
+ assert cirq.__version__ == "1.7.0.dev20250924214519"
@@ -14,18 +14,15 @@
14
14
 
15
15
  from __future__ import annotations
16
16
 
17
- from unittest import mock
18
-
19
- import pylatex
17
+ import pathlib
20
18
 
21
19
  import cirq
22
20
  import cirq.contrib.qcircuit.qcircuit_pdf as qcircuit_pdf
23
21
 
24
22
 
25
- @mock.patch.object(pylatex.Document, "generate_pdf")
26
- def test_qcircuit_pdf(mock_generate_pdf) -> None:
23
+ def test_qcircuit_pdf(tmp_path: pathlib.Path) -> None:
27
24
  circuit = cirq.Circuit(cirq.X(cirq.q(0)), cirq.CZ(cirq.q(0), cirq.q(1)))
28
- qcircuit_pdf.circuit_to_pdf_using_qcircuit_via_tex(circuit, "/tmp/test_file")
29
- mock_generate_pdf.assert_called_once_with(
30
- "/tmp/test_file", compiler="latexmk", compiler_args=["-pdfps"]
31
- )
25
+ qcircuit_pdf.circuit_to_pdf_using_qcircuit_via_tex(circuit, f"{tmp_path}/test_file")
26
+ assert (tmp_path / "test_file.pdf").is_file()
27
+ assert not (tmp_path / "test_file.dvi").exists()
28
+ assert not (tmp_path / "test_file.ps").exists()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cirq-core
3
- Version: 1.7.0.dev20250924190322
3
+ Version: 1.7.0.dev20250924214519
4
4
  Summary: A framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
5
5
  Home-page: http://github.com/quantumlib/cirq
6
6
  Author: The Cirq Developers
@@ -4,8 +4,8 @@ cirq/_compat_test.py,sha256=emXpdD5ZvwLRlFAoQB8YatmZyU3b4e9jg6FppMTUhkU,33900
4
4
  cirq/_doc.py,sha256=BrnoABo1hk5RgB3Cgww4zLHUfiyFny0F1V-tOMCbdaU,2909
5
5
  cirq/_import.py,sha256=ixBu4EyGl46Ram2cP3p5eZVEFDW5L2DS-VyTjz4N9iw,8429
6
6
  cirq/_import_test.py,sha256=oF4izzOVZLc7NZ0aZHFcGv-r01eiFFt_JORx_x7_D4s,1089
7
- cirq/_version.py,sha256=4QbFjFaVEJ5vcUUAwTGI-EiB7o79hZrwso7Peg33NUE,1206
8
- cirq/_version_test.py,sha256=zNZEcD5aUPlsdwcZ5YFT4yHs68jU-PxOUCYT61xMAEk,155
7
+ cirq/_version.py,sha256=ERZTzRp-ADeOL-jMvFKbib0T4dxXDqI8dcJxQl4D8Lg,1206
8
+ cirq/_version_test.py,sha256=8fOhycOENquGXNRwepvoQpbdfrhAroYjOSOQ8jDlEmY,155
9
9
  cirq/conftest.py,sha256=wSDKNdIQRDfLnXvOCWD3erheOw8JHRhdfQ53EyTUIXg,1239
10
10
  cirq/json_resolver_cache.py,sha256=A5DIgFAY1hUNt9vai_C3-gGBv24116CJMzQxMcXOax4,13726
11
11
  cirq/py.typed,sha256=VFSlmh_lNwnaXzwY-ZuW-C2Ws5PkuDoVgBdNCs0jXJE,63
@@ -129,7 +129,7 @@ cirq/contrib/qcircuit/qcircuit_diagram.py,sha256=pwaqM9CERfePRxH6Xx3PtMLVIcN1Z37
129
129
  cirq/contrib/qcircuit/qcircuit_diagram_info.py,sha256=PLJcrv8u3MoLQOC7XzUa6jb54lI8pCFn0zsO2BbnVr0,4563
130
130
  cirq/contrib/qcircuit/qcircuit_diagram_info_test.py,sha256=DodZREuwlQhGSskI-Tuw603UuZvQPQckKdpU47oLRrk,2480
131
131
  cirq/contrib/qcircuit/qcircuit_pdf.py,sha256=S9p6p9EPYariRJwy4XsRFqWvlrRofL9TZLdHZHNi2dM,2493
132
- cirq/contrib/qcircuit/qcircuit_pdf_test.py,sha256=qiR8GIopgeImoLtGD4vTzp_R3nPRhOg9pUND4Y6gRjs,1122
132
+ cirq/contrib/qcircuit/qcircuit_pdf_test.py,sha256=fd36Z2g0e9YmW0KWUi5TDxfG-mwXJyJtWffbMgeBR9M,1085
133
133
  cirq/contrib/qcircuit/qcircuit_test.py,sha256=Nivln1ECv4_AIUH8-2kfQH7d2E7332uvFOXXSU-AfYo,6153
134
134
  cirq/contrib/quantum_volume/__init__.py,sha256=RF_nbmm9s9A8sLhsnb7aZnuuoeHnsvlRNuoK8nBBW2w,1038
135
135
  cirq/contrib/quantum_volume/quantum_volume.py,sha256=NM47qf3yxkGxI3uJAa7pCI3NgLrD8XqdyvFbfMZyPY8,19457
@@ -1236,8 +1236,8 @@ cirq/work/sampler.py,sha256=rxbMWvrhu3gfNSBjZKozw28lLKVvBAS_1EGyPdYe8Xg,19041
1236
1236
  cirq/work/sampler_test.py,sha256=SsMrRvLDYELyOAWLKISjkdEfrBwLYWRsT6D8WrsLM3Q,13533
1237
1237
  cirq/work/zeros_sampler.py,sha256=Fs2JWwq0n9zv7_G5Rm-9vPeHUag7uctcMOHg0JTkZpc,2371
1238
1238
  cirq/work/zeros_sampler_test.py,sha256=lQLgQDGBLtfImryys2HzQ2jOSGxHgc7-koVBUhv8qYk,3345
1239
- cirq_core-1.7.0.dev20250924190322.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1240
- cirq_core-1.7.0.dev20250924190322.dist-info/METADATA,sha256=jthxomPJtVzRDEvcoKcakPwgTOOyfF5EKgvXIsb5V7U,4758
1241
- cirq_core-1.7.0.dev20250924190322.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1242
- cirq_core-1.7.0.dev20250924190322.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1243
- cirq_core-1.7.0.dev20250924190322.dist-info/RECORD,,
1239
+ cirq_core-1.7.0.dev20250924214519.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1240
+ cirq_core-1.7.0.dev20250924214519.dist-info/METADATA,sha256=TBeYkFCOjt7NjKONo5kxXysIAM9R7lN2YY7TS1emwUs,4758
1241
+ cirq_core-1.7.0.dev20250924214519.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1242
+ cirq_core-1.7.0.dev20250924214519.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
1243
+ cirq_core-1.7.0.dev20250924214519.dist-info/RECORD,,