cirq-core 1.5.0.dev20250310233428__py3-none-any.whl → 1.5.0.dev20250311162344__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 +1 -1
- cirq/_version_test.py +1 -1
- cirq/contrib/qasm_import/_parser_test.py +8 -14
- {cirq_core-1.5.0.dev20250310233428.dist-info → cirq_core-1.5.0.dev20250311162344.dist-info}/METADATA +1 -1
- {cirq_core-1.5.0.dev20250310233428.dist-info → cirq_core-1.5.0.dev20250311162344.dist-info}/RECORD +8 -8
- {cirq_core-1.5.0.dev20250310233428.dist-info → cirq_core-1.5.0.dev20250311162344.dist-info}/LICENSE +0 -0
- {cirq_core-1.5.0.dev20250310233428.dist-info → cirq_core-1.5.0.dev20250311162344.dist-info}/WHEEL +0 -0
- {cirq_core-1.5.0.dev20250310233428.dist-info → cirq_core-1.5.0.dev20250311162344.dist-info}/top_level.txt +0 -0
cirq/_version.py
CHANGED
cirq/_version_test.py
CHANGED
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
|
|
15
15
|
import re
|
|
16
16
|
import textwrap
|
|
17
|
-
import warnings
|
|
18
17
|
from typing import Callable
|
|
19
18
|
|
|
20
19
|
import numpy as np
|
|
@@ -1486,19 +1485,14 @@ def _test_parse_exception(qasm: str, cirq_err: str, qiskit_err: str | None):
|
|
|
1486
1485
|
parser = QasmParser()
|
|
1487
1486
|
with pytest.raises(QasmException, match=re.escape(cirq_err)):
|
|
1488
1487
|
parser.parse(qasm)
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
except ImportError: # pragma: no cover
|
|
1498
|
-
warnings.warn(
|
|
1499
|
-
"Skipped _test_qiskit_parse_exception because "
|
|
1500
|
-
"qiskit isn't installed to verify against."
|
|
1501
|
-
)
|
|
1488
|
+
pytest.importorskip("qiskit")
|
|
1489
|
+
import qiskit.qasm2
|
|
1490
|
+
|
|
1491
|
+
if qiskit_err is None:
|
|
1492
|
+
qiskit.QuantumCircuit.from_qasm_str(qasm)
|
|
1493
|
+
return
|
|
1494
|
+
with pytest.raises(qiskit.qasm2.exceptions.QASM2ParseError, match=re.escape(qiskit_err)):
|
|
1495
|
+
qiskit.QuantumCircuit.from_qasm_str(qasm)
|
|
1502
1496
|
|
|
1503
1497
|
|
|
1504
1498
|
def test_nested_custom_gate_has_keyword_in_name():
|
{cirq_core-1.5.0.dev20250310233428.dist-info → cirq_core-1.5.0.dev20250311162344.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cirq-core
|
|
3
|
-
Version: 1.5.0.
|
|
3
|
+
Version: 1.5.0.dev20250311162344
|
|
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.5.0.dev20250310233428.dist-info → cirq_core-1.5.0.dev20250311162344.dist-info}/RECORD
RENAMED
|
@@ -4,8 +4,8 @@ cirq/_compat_test.py,sha256=Qq3ZcfgD-Nb81cEppQdJqhAyrVqXKtfXZYGXT0p-Wh0,34718
|
|
|
4
4
|
cirq/_doc.py,sha256=yDyWUD_2JDS0gShfGRb-rdqRt9-WeL7DhkqX7np0Nko,2879
|
|
5
5
|
cirq/_import.py,sha256=p9gMHJscbtDDkfHOaulvd3Aer0pwUF5AXpL89XR8dNw,8402
|
|
6
6
|
cirq/_import_test.py,sha256=6K_v0riZJXOXUphHNkGA8MY-JcmGlezFaGmvrNhm3OQ,1015
|
|
7
|
-
cirq/_version.py,sha256=
|
|
8
|
-
cirq/_version_test.py,sha256=
|
|
7
|
+
cirq/_version.py,sha256=0jQNqyAXPPR2m_0Cceo30B_Npdi1orWlYtRNa5Ytrng,1206
|
|
8
|
+
cirq/_version_test.py,sha256=nfSM4ulXoZ6SAfAtYOQo-Wv8-og3LOUeXq9tS2-iH6Y,147
|
|
9
9
|
cirq/conftest.py,sha256=X7yLFL8GLhg2CjPw0hp5e_dGASfvHx1-QT03aUbhKJw,1168
|
|
10
10
|
cirq/json_resolver_cache.py,sha256=p-vEOa-8GQ2cFIAdze-kd6C1un1uRvtujVPljVKaHBg,13557
|
|
11
11
|
cirq/py.typed,sha256=VFSlmh_lNwnaXzwY-ZuW-C2Ws5PkuDoVgBdNCs0jXJE,63
|
|
@@ -106,7 +106,7 @@ cirq/contrib/qasm_import/__init__.py,sha256=RKX0vGDC2Pe5rH5rM4ClXdvtrAU16ePFImQp
|
|
|
106
106
|
cirq/contrib/qasm_import/_lexer.py,sha256=-72amAxuZbkybMH-xBynqYqx1-TnRVpl51Dd2qtjjCY,2928
|
|
107
107
|
cirq/contrib/qasm_import/_lexer_test.py,sha256=mgzCMoXwngMOJ8JZYVqaSNRIiZEnnzpla_3jo9UMLjQ,6217
|
|
108
108
|
cirq/contrib/qasm_import/_parser.py,sha256=S9Yme100Yp3Ye8wGoCm0MkAeweOvPI1uOV7UbbDoEDc,26053
|
|
109
|
-
cirq/contrib/qasm_import/_parser_test.py,sha256=
|
|
109
|
+
cirq/contrib/qasm_import/_parser_test.py,sha256=uyVd7nBQX0rTrIFT21RSNbaL5qCTjGdcCjswnlTZvpA,39723
|
|
110
110
|
cirq/contrib/qasm_import/exception.py,sha256=Wm6cwUPIkNMPjkv-ELpQ-zSoXaiLOddOQ4iYybwuS6I,695
|
|
111
111
|
cirq/contrib/qasm_import/qasm.py,sha256=CP444IWCw4zlDNA7HxsTJ2xIak4mZhQv62ZiLlUc2zo,914
|
|
112
112
|
cirq/contrib/qasm_import/qasm_test.py,sha256=e5b7LVn_6FIFZ6kINqMzJFIjzgtTgutVhgXgX_DcTc0,1861
|
|
@@ -1204,8 +1204,8 @@ cirq/work/sampler.py,sha256=bE5tmVkcR6cZZMLETxDfHehdsYUMbx2RvBeIBetehI4,19187
|
|
|
1204
1204
|
cirq/work/sampler_test.py,sha256=hL2UWx3dz2ukZVNxWftiKVvJcQoLplLZdQm-k1QcA40,13282
|
|
1205
1205
|
cirq/work/zeros_sampler.py,sha256=x1C7cup66a43n-3tm8QjhiqJa07qcJW10FxNp9jJ59Q,2356
|
|
1206
1206
|
cirq/work/zeros_sampler_test.py,sha256=JIkpBBFPJe5Ba4142vzogyWyboG1Q1ZAm0UVGgOoZn8,3279
|
|
1207
|
-
cirq_core-1.5.0.
|
|
1208
|
-
cirq_core-1.5.0.
|
|
1209
|
-
cirq_core-1.5.0.
|
|
1210
|
-
cirq_core-1.5.0.
|
|
1211
|
-
cirq_core-1.5.0.
|
|
1207
|
+
cirq_core-1.5.0.dev20250311162344.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
1208
|
+
cirq_core-1.5.0.dev20250311162344.dist-info/METADATA,sha256=zqDT-r2khy4OAxyTdd0rYP77dcAb2iHlu97tYul5mTA,4817
|
|
1209
|
+
cirq_core-1.5.0.dev20250311162344.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
1210
|
+
cirq_core-1.5.0.dev20250311162344.dist-info/top_level.txt,sha256=Sz9iOxHU0IEMLSFGwiwOCaN2e9K-jFbBbtpPN1hB73g,5
|
|
1211
|
+
cirq_core-1.5.0.dev20250311162344.dist-info/RECORD,,
|
{cirq_core-1.5.0.dev20250310233428.dist-info → cirq_core-1.5.0.dev20250311162344.dist-info}/LICENSE
RENAMED
|
File without changes
|
{cirq_core-1.5.0.dev20250310233428.dist-info → cirq_core-1.5.0.dev20250311162344.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|