cirq-core 1.7.0.dev20250924190322__py3-none-any.whl → 1.7.0.dev20250924231107__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.
- cirq/_version.py +1 -1
- cirq/_version_test.py +1 -1
- cirq/contrib/qcircuit/qcircuit_pdf_test.py +6 -9
- {cirq_core-1.7.0.dev20250924190322.dist-info → cirq_core-1.7.0.dev20250924231107.dist-info}/METADATA +1 -1
- {cirq_core-1.7.0.dev20250924190322.dist-info → cirq_core-1.7.0.dev20250924231107.dist-info}/RECORD +8 -8
- {cirq_core-1.7.0.dev20250924190322.dist-info → cirq_core-1.7.0.dev20250924231107.dist-info}/WHEEL +0 -0
- {cirq_core-1.7.0.dev20250924190322.dist-info → cirq_core-1.7.0.dev20250924231107.dist-info}/licenses/LICENSE +0 -0
- {cirq_core-1.7.0.dev20250924190322.dist-info → cirq_core-1.7.0.dev20250924231107.dist-info}/top_level.txt +0 -0
cirq/_version.py
CHANGED
cirq/_version_test.py
CHANGED
|
@@ -14,18 +14,15 @@
|
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
|
-
|
|
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
|
-
|
|
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, "/
|
|
29
|
-
|
|
30
|
-
|
|
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()
|
{cirq_core-1.7.0.dev20250924190322.dist-info → cirq_core-1.7.0.dev20250924231107.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cirq-core
|
|
3
|
-
Version: 1.7.0.
|
|
3
|
+
Version: 1.7.0.dev20250924231107
|
|
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
|
{cirq_core-1.7.0.dev20250924190322.dist-info → cirq_core-1.7.0.dev20250924231107.dist-info}/RECORD
RENAMED
|
@@ -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=
|
|
8
|
-
cirq/_version_test.py,sha256=
|
|
7
|
+
cirq/_version.py,sha256=y8QFRTgG1Tr6n40zbch1Pq3pAxcfZXmTKUqPAE5TBLM,1206
|
|
8
|
+
cirq/_version_test.py,sha256=TqlLyMPVq4njjy3-5IVt38vBriJ0SrYPNAej7rffX-0,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=
|
|
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.
|
|
1240
|
-
cirq_core-1.7.0.
|
|
1241
|
-
cirq_core-1.7.0.
|
|
1242
|
-
cirq_core-1.7.0.
|
|
1243
|
-
cirq_core-1.7.0.
|
|
1239
|
+
cirq_core-1.7.0.dev20250924231107.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
1240
|
+
cirq_core-1.7.0.dev20250924231107.dist-info/METADATA,sha256=cBqnC0L4xu4YgrZroyKmOhGQIjvJYoq0vB6ixlnbp9o,4758
|
|
1241
|
+
cirq_core-1.7.0.dev20250924231107.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
1242
|
+
cirq_core-1.7.0.dev20250924231107.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
|
|
1243
|
+
cirq_core-1.7.0.dev20250924231107.dist-info/RECORD,,
|
{cirq_core-1.7.0.dev20250924190322.dist-info → cirq_core-1.7.0.dev20250924231107.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|