cirq-core 1.7.0.dev20250930165002__py3-none-any.whl → 1.7.0.dev20251001164911__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/quantikz/__init__.py +21 -0
- cirq/contrib/quantikz/circuit_to_latex_quantikz.py +680 -0
- cirq/contrib/quantikz/circuit_to_latex_quantikz_test.py +253 -0
- cirq/contrib/quantikz/circuit_to_latex_render.py +424 -0
- cirq/contrib/quantikz/circuit_to_latex_render_test.py +44 -0
- {cirq_core-1.7.0.dev20250930165002.dist-info → cirq_core-1.7.0.dev20251001164911.dist-info}/METADATA +1 -1
- {cirq_core-1.7.0.dev20250930165002.dist-info → cirq_core-1.7.0.dev20251001164911.dist-info}/RECORD +12 -7
- {cirq_core-1.7.0.dev20250930165002.dist-info → cirq_core-1.7.0.dev20251001164911.dist-info}/WHEEL +0 -0
- {cirq_core-1.7.0.dev20250930165002.dist-info → cirq_core-1.7.0.dev20251001164911.dist-info}/licenses/LICENSE +0 -0
- {cirq_core-1.7.0.dev20250930165002.dist-info → cirq_core-1.7.0.dev20251001164911.dist-info}/top_level.txt +0 -0
cirq/_version.py
CHANGED
cirq/_version_test.py
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Copyright 2025 The Cirq Developers
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Converts Cirq circuits to LaTeX diagrams using the Quantikz package."""
|
|
16
|
+
|
|
17
|
+
from cirq.contrib.quantikz.circuit_to_latex_quantikz import (
|
|
18
|
+
CircuitToQuantikz as CircuitToQuantikz,
|
|
19
|
+
GATE_STYLES_COLORFUL as GATE_STYLES_COLORFUL,
|
|
20
|
+
)
|
|
21
|
+
from cirq.contrib.quantikz.circuit_to_latex_render import render_circuit as render_circuit
|