Skip to content

Commit f56257b

Browse files
Roll back to working state. (#780)
* Revert "Merge pull request #776 from Sinestro38/master" This reverts commit b4c7ea1, reversing changes made to 140277d. * Revert "remove release notes md" This reverts commit 25313f4. * Revert "Merge remote-tracking branch 'forkB/fix_warnings'" This reverts commit d789314, reversing changes made to fe3a96e. * Revert "Merge pull request #772 from Sinestro38/fix_license" This reverts commit 140277d, reversing changes made to 7131f9e. * Revert "fix ubuntu version to 20.04" This reverts commit 803622a. * Revert "[debug] get ubuntu version of runner" This reverts commit 8002690. * Revert "update ubuntu github runner from 18.04 to latest" This reverts commit 471573a. * Revert "update > to ~" This reverts commit fe3a96e. * Revert "update cirq dependency news" This reverts commit a44ab26. * Revert "Update release.md" This reverts commit a7a67c8. * Revert "add notes" This reverts commit c7f729a. * Revert "update version num" This reverts commit f933b69. * Revert "Update release.md" This reverts commit c2ab0d5. * Revert "Create release.md" This reverts commit ac7722a. * Revert "Merge branch 'master' into master" This reverts commit 7131f9e, reversing changes made to 2c1e7fa. * Revert "Upgrade bazel version 5.3.0 and fix some typo in tf version (#755)" This reverts commit 2c1e7fa. * Revert "Merge pull request #3 from jaeyoo/pavan/remove_compute_small" This reverts commit 79aae25, reversing changes made to 46aa1f0. * Revert "Fix lint" This reverts commit 20815bc. * Revert "Fix lint" This reverts commit 47e6aae. * Revert "Update release/BUILD with `if_cuda_is_configured`" This reverts commit f2cd255. * Revert "add :tfq_simulate_ops_cuquantum_py target to release BUILD" This reverts commit 3e8a9a4. * Revert "remove computeSmall from cuda and cuquantum kernels" This reverts commit 5cb7fa1. * Revert "Merge pull request #2 from jaeyoo/cuquantum_support" This reverts commit 46aa1f0, reversing changes made to 2a5fd07. * Revert "Merge pull request #1 from jaeyoo/cuda_support" This reverts commit 2a5fd07, reversing changes made to b0dd745. * Revert "Merge branch 'master' into cuda_support" This reverts commit f19298c, reversing changes made to 4f6290a. * Revert "Add cuQuantum test (but failed at numeric diff test)" This reverts commit f97c496. * Revert "Fix ComputeSmall and enable it." This reverts commit 4f6290a. * Revert "Fix tfq_simulate_ops_cuda op test." This reverts commit 6644248. * Revert "Temporarily turn on ComputeLarge always" This reverts commit 23dd880. * Revert "Upgrade TF version from 2.7 to 2.11 (#749)" This reverts commit 20cfde5. * Revert "TFQ simulate expectation CUDA op" This reverts commit f063417. * Revert "Update ci_install bazel version, removed duplicated code lines." This reverts commit 1317edf. * Revert "Fix typo" This reverts commit a765f7f. * Revert "Upgrade seaborn version to 0.12.0" This reverts commit 4e7c22d. * Revert "Fix tutorial errors" This reverts commit c185891. * Revert "Fix tutorial error" This reverts commit c5df061. * Revert "Upgrade the latest gym for notebook tutorial." This reverts commit 9b94ebf. * Revert "Format optimizers" This reverts commit 39a811d. * Revert "Format" This reverts commit a22b98f. * Revert "Upgrade to TF v2.11" This reverts commit 26fa2df. * Upgrade TF version from 2.7 to 2.11 (#749) * Upgrade bazel version to 5.1.0 for building with TFv2.11.0 * Upgrade to TF v2.11 * Bump up the version of numpy to v1.24.2 * Format * Fix tf.Variable inside tf.while_loop issues inside optimizers * Format optimizers * Upgrade the latest gym for notebook tutorial. * Fix tutorial error * Fix tutorial errors * Upgrade seaborn version to 0.12.0 * Fix typo * Remove debug print * Update ci_install bazel version, removed duplicated code lines. * Upgrade bazel version 5.3.0 and fix some typo in tf version (#755) * fix compatability issues. * re-trigger kokoro * re-trigger kokoro * re-trigger kokoro * re-trigger kokoro * re-trigger kokoro * Lower tolerances. * Bump CI python version. --------- Co-authored-by: Jae H. Yoo <[email protected]>
1 parent b4c7ea1 commit f56257b

File tree

156 files changed

+310
-1291
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+310
-1291
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Continuous Integration
22

33
on: [pull_request]
44

5+
56
jobs:
67
lint:
78
name: Lint check
@@ -10,7 +11,7 @@ jobs:
1011
- uses: actions/checkout@v1
1112
- uses: actions/setup-python@v1
1213
with:
13-
python-version: '3.8'
14+
python-version: '3.9'
1415
architecture: 'x64'
1516
- name: Install Lint tools
1617
run: pip install --upgrade pip setuptools; pip install -r requirements.txt;
@@ -25,7 +26,7 @@ jobs:
2526
- uses: actions/checkout@v1
2627
- uses: actions/setup-python@v1
2728
with:
28-
python-version: '3.8'
29+
python-version: '3.9'
2930
architecture: 'x64'
3031
- name: Install Format tools
3132
run: pip install --upgrade pip setuptools; pip install -r requirements.txt; sudo apt-get install -y clang-format-6.0
@@ -40,7 +41,7 @@ jobs:
4041
- uses: actions/checkout@v1
4142
- uses: actions/setup-python@v1
4243
with:
43-
python-version: '3.8'
44+
python-version: '3.9'
4445
architecture: 'x64'
4546
- name: Install Bazel on CI
4647
run: ./scripts/ci_install.sh
@@ -60,7 +61,7 @@ jobs:
6061
- uses: actions/checkout@v1
6162
- uses: actions/setup-python@v1
6263
with:
63-
python-version: '3.8'
64+
python-version: '3.9'
6465
architecture: 'x64'
6566
- name: Install Bazel on CI
6667
run: ./scripts/ci_install.sh
@@ -78,7 +79,7 @@ jobs:
7879
- uses: actions/checkout@v1
7980
- uses: actions/setup-python@v1
8081
with:
81-
python-version: '3.8'
82+
python-version: '3.9'
8283
architecture: 'x64'
8384
- name: Install Bazel on CI
8485
run: ./scripts/ci_install.sh
@@ -96,7 +97,7 @@ jobs:
9697
- uses: actions/checkout@v1
9798
- uses: actions/setup-python@v1
9899
with:
99-
python-version: '3.8'
100+
python-version: '3.9'
100101
architecture: 'x64'
101102
- name: Install notebook dependencies
102103
run: pip install --upgrade pip seaborn==0.10.0

.github/workflows/cirq_compatibility.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: Cirq Compatibility
32

43
on:
@@ -8,7 +7,7 @@ on:
87
jobs:
98
consistency:
109
name: Nightly Compatibility
11-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-16.04
1211
steps:
1312
- uses: actions/checkout@v1
1413
- uses: actions/setup-python@v1

WORKSPACE

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,11 @@ cc_library(
2424
],
2525
)
2626

27-
# http_archive(
28-
# name = "qsim",
29-
# sha256 = "b9c1eba09a885a938b5e73dfc2e02f5231cf3b01d899415caa24769346a731d5",
30-
# strip_prefix = "qsim-0.13.3",
31-
# urls = ["https://github.com/quantumlib/qsim/archive/refs/tags/v0.13.3.zip"],
32-
# )
33-
34-
# TODO: After merging this patch later into qsim mainstream, remove this and uncomment the above.
3527
http_archive(
3628
name = "qsim",
37-
sha256 = "",
38-
strip_prefix = "qsim-0.15.0-dev20230327_v3",
39-
urls = ["https://github.com/jaeyoo/qsim/archive/refs/tags/v0.15.0+dev20230327_v3.tar.gz"],
29+
sha256 = "b9c1eba09a885a938b5e73dfc2e02f5231cf3b01d899415caa24769346a731d5",
30+
strip_prefix = "qsim-0.13.3",
31+
urls = ["https://github.com/quantumlib/qsim/archive/refs/tags/v0.13.3.zip"],
4032
)
4133

4234
http_archive(
@@ -81,21 +73,3 @@ bind(
8173
actual = "@six_archive//:six",
8274
)
8375

84-
new_local_repository(
85-
name = "cuquantum_libs",
86-
path = "/usr/local/google/home/jaeyoo/workspace/cuquantum-linux-x86_64-22.11.0.13-archive",
87-
build_file_content = """
88-
cc_library(
89-
name = "custatevec_headers",
90-
srcs = ["include/custatevec.h"],
91-
visibility = ["//visibility:public"],
92-
)
93-
94-
cc_library(
95-
name = "custatevec",
96-
srcs = ["lib/libcustatevec.so"],
97-
visibility = ["//visibility:public"],
98-
)
99-
""",
100-
)
101-

benchmarks/scripts/benchmark_clifford_circuit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515
"""Benchmark simulators against classically simulatable circuits."""
1616
import os
1717
import time

benchmarks/scripts/benchmark_op_gradients.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515
"""Benchmark differentiator methods."""
1616
import os
1717
import time

benchmarks/scripts/benchmark_random_circuit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515
"""Benchmark simulators against classically intractable 'supremacy' circuits."""
1616
import os
1717
import time

benchmarks/scripts/benchmark_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515
"""Utility functions for benchmark tools."""
1616
import tensorflow as tf
1717
import test_log_pb2

benchmarks/scripts/benchmark_util_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515
"""Tests for utilities related to reading/running benchmarks."""
1616
import os
1717
import tempfile

benchmarks/scripts/flags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515
"""Command line flags shared between benchmarks."""
1616
from collections import namedtuple
1717
from absl import flags as absl_flags

benchmarks/scripts/flags_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515
"""Tests for benchmark command line flags."""
1616

1717
import tensorflow as tf

benchmarks/scripts/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================

benchmarks/scripts/models/random_clifford_circuit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515

1616
from typing import Iterable
1717

benchmarks/scripts/models/random_clifford_circuit_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515

1616
from absl.testing import parameterized
1717
import cirq

configure.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
# =============================================================================
15+
# ==============================================================================
1616
PLATFORM="$(uname -s | tr 'A-Z' 'a-z')"
1717

1818
function write_to_bazelrc() {
@@ -62,11 +62,11 @@ while [[ "$TF_NEED_CUDA" == "" ]]; do
6262
done
6363

6464
while [[ "$TF_CUDA_VERSION" == "" ]]; do
65-
read -p "Are you building against TensorFlow 2.11(including RCs) or newer?[Y/n] " INPUT
65+
read -p "Are you building against TensorFlow 2.1(including RCs) or newer?[Y/n] " INPUT
6666
case $INPUT in
67-
[Yy]* ) echo "Build against TensorFlow 2.11 or newer."; TF_CUDA_VERSION=11;;
68-
[Nn]* ) echo "Build against TensorFlow <2.11."; TF_CUDA_VERSION=10.0;;
69-
"" ) echo "Build against TensorFlow 2.11 or newer."; TF_CUDA_VERSION=11;;
67+
[Yy]* ) echo "Build against TensorFlow 2.1 or newer."; TF_CUDA_VERSION=11;;
68+
[Nn]* ) echo "Build against TensorFlow <2.1."; TF_CUDA_VERSION=10.0;;
69+
"" ) echo "Build against TensorFlow 2.1 or newer."; TF_CUDA_VERSION=11;;
7070
* ) echo "Invalid selection: " $INPUT;;
7171
esac
7272
done

docs/_book.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515
upper_tabs:
1616
# Tabs left of dropdown menu
1717
- include: /_upper_tabs_left.yaml

docs/_index.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515
book_path: /quantum/_book.yaml
1616
project_path: /quantum/_project.yaml
1717
description: >

release/BUILD

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
load("@local_config_cuda//cuda:build_defs.bzl", "if_cuda_is_configured")
2-
31
licenses(["notice"])
42

53
sh_binary(
@@ -68,8 +66,5 @@ sh_binary(
6866
"//tensorflow_quantum/python:util",
6967
"//tensorflow_quantum/python/optimizers:rotosolve_minimizer",
7068
"//tensorflow_quantum/python/optimizers:spsa_minimizer",
71-
] + if_cuda_is_configured([
72-
"//tensorflow_quantum/core/ops:tfq_simulate_ops_cuda_py",
73-
"//tensorflow_quantum/core/ops:tfq_simulate_ops_cuquantum_py",
74-
]),
69+
],
7570
)

release/build_pip_package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
# =============================================================================
15+
# ==============================================================================
1616
set -e
1717
set -x
1818

release/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515
"""TensorFlow Quantum adds qauntum computing primitives to TensorFlow.
1616
1717
TensorFlow Quantum is an open source library for high performance batch
@@ -53,7 +53,7 @@ def finalize_options(self):
5353
REQUIRED_PACKAGES = [
5454
'cirq-core==0.13.1', 'cirq-google>=0.13.1', 'sympy == 1.8',
5555
'googleapis-common-protos==1.52.0', 'google-api-core==1.21.0',
56-
'google-auth==1.18.0', 'protobuf==3.19.5'
56+
'google-auth==1.18.0', 'protobuf==3.19.4'
5757
]
5858

5959
# placed as extra to not have required overwrite existing nightly installs if

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ google-api-core==1.21.0
1212
google-auth==1.18.0
1313
google-api-python-client==1.8.0
1414
grpcio==1.34.1
15-
protobuf==3.19.5
15+
protobuf==3.19.4

scripts/benchmark_all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
# =============================================================================
15+
# ==============================================================================
1616
echo "Testing benchmarks.";
1717
test_outputs=$(bazel test -c opt --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=1" --cxxopt="-msse2" --cxxopt="-msse3" --cxxopt="-msse4" --test_output=errors $(bazel query //benchmarks/...))
1818
exit_code=$?

scripts/build_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515
"""Tool to generate external api_docs for tfq."""
1616

1717
from __future__ import absolute_import

scripts/build_pip_package_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
# =============================================================================
15+
# ==============================================================================
1616

1717
pip install -r requirements.txt
1818

scripts/ci_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
# =============================================================================
15+
# ==============================================================================
1616
wget https://github.com/bazelbuild/bazel/releases/download/5.3.0/bazel_5.3.0-linux-x86_64.deb
1717
sudo dpkg -i bazel_5.3.0-linux-x86_64.deb
1818
pip install --upgrade pip setuptools wheel

scripts/ci_validate_tutorials.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
# =============================================================================
15+
# ==============================================================================
1616

1717
# Run the tutorials using the installed pip package
1818
pip install jupyter nbclient==0.6.5 jupyter-client==6.1.12 ipython==7.22.0

scripts/format_all.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
# =============================================================================
15+
# ==============================================================================
1616
echo "Doing python language formatting..."
1717
python3 -m yapf --style=google --in-place --recursive ./benchmarks
1818
python3 -m yapf --style=google --in-place --recursive ./tensorflow_quantum
1919
echo -e "Done! \nDoing notebook formatting..."
2020
python3 ./scripts/format_ipynb.py
2121
echo -e "Done! \nDoing C++ formatting..."
22-
find tensorflow_quantum/ -iname *.h -o -iname *.cc | xargs clang-format-6.0 -i -style=google
22+
find tensorflow_quantum/ -iname *.h -o -iname *.cc | xargs clang-format -i -style=google
2323
echo "Done!"
2424
exit 0;

scripts/format_check.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
# =============================================================================
15+
# ==============================================================================
1616
echo "Checking python formatting...";
1717

1818
################################################################################
@@ -92,7 +92,7 @@ else
9292
fi
9393

9494
echo "Checking C++ formatting...";
95-
formatting_outputs=$(find tensorflow_quantum/ -iname *.h -o -iname *.cc | xargs clang-format-6.0 -style=google -output-replacements-xml);
95+
formatting_outputs=$(find tensorflow_quantum/ -iname *.h -o -iname *.cc | xargs clang-format -style=google -output-replacements-xml);
9696
CFORMATCHECK=0
9797
while read -r formatting_outputs; do
9898
if [ "$formatting_outputs" != "<?xml version='1.0'?>" ] && [ "$formatting_outputs" != "<replacements xml:space='preserve' incomplete_format='false'>" ] && [ "$formatting_outputs" != "</replacements>" ] && [ "$formatting_outputs" != "<replacement offset='4290' length='9'> </replacement>" ]; then

scripts/format_ipynb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515
"""Format notebook code cells using yapf google style."""
1616
import glob
1717
import nbformat

scripts/import_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# =============================================================================
14+
# ==============================================================================
1515
"""Tests to check if importing `tfq` APIs is successful or not."""
1616
import tensorflow_quantum as tfq
1717

0 commit comments

Comments
 (0)