From ec0da81634de70b7e4d293cfa4842b9eb2e9a4c6 Mon Sep 17 00:00:00 2001 From: Aniket Singh Yadav Date: Mon, 15 Sep 2025 09:48:09 +0530 Subject: [PATCH] Add missing license headers to source files --- .github/workflows/ci-build-checks.yaml | 14 ++++++++++++++ .github/workflows/ci-file-checks.yaml | 14 ++++++++++++++ .github/workflows/ci-nightly-build-test.yaml | 14 ++++++++++++++ .github/workflows/ci-nightly-cirq-test.yaml | 14 ++++++++++++++ .yamllint.yaml | 14 ++++++++++++++ benchmarks/BUILD | 14 ++++++++++++++ benchmarks/__init__.py | 14 ++++++++++++++ benchmarks/scripts/BUILD | 14 ++++++++++++++ benchmarks/scripts/__init__.py | 14 ++++++++++++++ benchmarks/scripts/models/BUILD | 14 ++++++++++++++ release/BUILD | 14 ++++++++++++++ release/__init__.py | 14 ++++++++++++++ tensorflow_quantum/BUILD | 14 ++++++++++++++ tensorflow_quantum/core/BUILD | 14 ++++++++++++++ tensorflow_quantum/core/ops/BUILD | 14 ++++++++++++++ tensorflow_quantum/core/ops/math_ops/BUILD | 14 ++++++++++++++ tensorflow_quantum/core/ops/noise/BUILD | 14 ++++++++++++++ tensorflow_quantum/core/proto/BUILD | 14 ++++++++++++++ tensorflow_quantum/core/proto/pauli_sum.proto | 14 ++++++++++++++ tensorflow_quantum/core/proto/program.proto | 14 ++++++++++++++ tensorflow_quantum/core/proto/projector_sum.proto | 14 ++++++++++++++ tensorflow_quantum/core/serialize/BUILD | 14 ++++++++++++++ tensorflow_quantum/core/src/BUILD | 14 ++++++++++++++ tensorflow_quantum/datasets/BUILD | 14 ++++++++++++++ tensorflow_quantum/python/BUILD | 14 ++++++++++++++ tensorflow_quantum/python/differentiators/BUILD | 14 ++++++++++++++ tensorflow_quantum/python/layers/BUILD | 14 ++++++++++++++ .../python/layers/circuit_construction/BUILD | 14 ++++++++++++++ .../python/layers/circuit_executors/BUILD | 14 ++++++++++++++ tensorflow_quantum/python/layers/high_level/BUILD | 14 ++++++++++++++ tensorflow_quantum/python/optimizers/BUILD | 14 ++++++++++++++ third_party/BUILD | 14 ++++++++++++++ third_party/tf/BUILD | 14 ++++++++++++++ third_party/tf/tf_configure.bzl | 14 ++++++++++++++ 34 files changed, 476 insertions(+) diff --git a/.github/workflows/ci-build-checks.yaml b/.github/workflows/ci-build-checks.yaml index f69770ade..c108039ba 100644 --- a/.github/workflows/ci-build-checks.yaml +++ b/.github/workflows/ci-build-checks.yaml @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Summary: TFQ continuous integration workflow for building & testing TFQ. # # This workflow compiles TFQ and runs test cases to verify everything works. diff --git a/.github/workflows/ci-file-checks.yaml b/.github/workflows/ci-file-checks.yaml index afac8f30b..2b0fe592c 100644 --- a/.github/workflows/ci-file-checks.yaml +++ b/.github/workflows/ci-file-checks.yaml @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Summary: TFQ continuous integration workflow for static code analysis. # # This workflow runs linters and code format/style checkers on certain events diff --git a/.github/workflows/ci-nightly-build-test.yaml b/.github/workflows/ci-nightly-build-test.yaml index 189cb1a30..5db4278be 100644 --- a/.github/workflows/ci-nightly-build-test.yaml +++ b/.github/workflows/ci-nightly-build-test.yaml @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Summary: TFQ nightly full build & test. # # This workflow compiles TFQ and runs all test cases, to verify everything diff --git a/.github/workflows/ci-nightly-cirq-test.yaml b/.github/workflows/ci-nightly-cirq-test.yaml index 235a7bdb4..8ccf3842e 100644 --- a/.github/workflows/ci-nightly-cirq-test.yaml +++ b/.github/workflows/ci-nightly-cirq-test.yaml @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Summary: GitHub CI workflow for testing TFQ against Cirq releases # # This workflow is executed every night on a schedule. By default, this diff --git a/.yamllint.yaml b/.yamllint.yaml index 003eb5d56..64b39a528 100644 --- a/.yamllint.yaml +++ b/.yamllint.yaml @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Summary: yamllint configuration for TensorFlow Quantum. # See https://yamllint.readthedocs.io/ for info about configuration options. diff --git a/benchmarks/BUILD b/benchmarks/BUILD index fd4e75c2e..ebe25764c 100644 --- a/benchmarks/BUILD +++ b/benchmarks/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/benchmarks/__init__.py b/benchmarks/__init__.py index e69de29bb..385482770 100644 --- a/benchmarks/__init__.py +++ b/benchmarks/__init__.py @@ -0,0 +1,14 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + diff --git a/benchmarks/scripts/BUILD b/benchmarks/scripts/BUILD index 095a10d74..bbdfd1035 100644 --- a/benchmarks/scripts/BUILD +++ b/benchmarks/scripts/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/benchmarks/scripts/__init__.py b/benchmarks/scripts/__init__.py index e69de29bb..385482770 100644 --- a/benchmarks/scripts/__init__.py +++ b/benchmarks/scripts/__init__.py @@ -0,0 +1,14 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + diff --git a/benchmarks/scripts/models/BUILD b/benchmarks/scripts/models/BUILD index e5bd16e60..962471044 100644 --- a/benchmarks/scripts/models/BUILD +++ b/benchmarks/scripts/models/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/release/BUILD b/release/BUILD index 7212cb1d3..f7e41bb7d 100644 --- a/release/BUILD +++ b/release/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + licenses(["notice"]) sh_binary( diff --git a/release/__init__.py b/release/__init__.py index e69de29bb..385482770 100644 --- a/release/__init__.py +++ b/release/__init__.py @@ -0,0 +1,14 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + diff --git a/tensorflow_quantum/BUILD b/tensorflow_quantum/BUILD index fd4e75c2e..ebe25764c 100644 --- a/tensorflow_quantum/BUILD +++ b/tensorflow_quantum/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_quantum/core/BUILD b/tensorflow_quantum/core/BUILD index a7268b652..8fc7ad01d 100644 --- a/tensorflow_quantum/core/BUILD +++ b/tensorflow_quantum/core/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_quantum/core/ops/BUILD b/tensorflow_quantum/core/ops/BUILD index 504cc2657..648ce4c48 100644 --- a/tensorflow_quantum/core/ops/BUILD +++ b/tensorflow_quantum/core/ops/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # load op_wrapper package(default_visibility = ["//visibility:public"]) diff --git a/tensorflow_quantum/core/ops/math_ops/BUILD b/tensorflow_quantum/core/ops/math_ops/BUILD index 3c390f8e3..6bd40ac73 100644 --- a/tensorflow_quantum/core/ops/math_ops/BUILD +++ b/tensorflow_quantum/core/ops/math_ops/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # load op_wrapper package(default_visibility = ["//visibility:public"]) diff --git a/tensorflow_quantum/core/ops/noise/BUILD b/tensorflow_quantum/core/ops/noise/BUILD index 326f34f99..12f8da7ff 100644 --- a/tensorflow_quantum/core/ops/noise/BUILD +++ b/tensorflow_quantum/core/ops/noise/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # load op_wrapper package(default_visibility = ["//visibility:public"]) diff --git a/tensorflow_quantum/core/proto/BUILD b/tensorflow_quantum/core/proto/BUILD index 65224465b..479d865ec 100644 --- a/tensorflow_quantum/core/proto/BUILD +++ b/tensorflow_quantum/core/proto/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + load("@com_google_protobuf//:protobuf.bzl", "py_proto_library") package(default_visibility = ["//visibility:public"]) diff --git a/tensorflow_quantum/core/proto/pauli_sum.proto b/tensorflow_quantum/core/proto/pauli_sum.proto index b0aa200b8..05c07c085 100644 --- a/tensorflow_quantum/core/proto/pauli_sum.proto +++ b/tensorflow_quantum/core/proto/pauli_sum.proto @@ -1,3 +1,17 @@ +// Copyright 2025 The TensorFlow Quantum Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + syntax = "proto3"; package tfq.proto; diff --git a/tensorflow_quantum/core/proto/program.proto b/tensorflow_quantum/core/proto/program.proto index ed408572d..4cce0a893 100644 --- a/tensorflow_quantum/core/proto/program.proto +++ b/tensorflow_quantum/core/proto/program.proto @@ -1,3 +1,17 @@ +// Copyright 2025 The TensorFlow Quantum Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + syntax = "proto3"; package tfq.proto; diff --git a/tensorflow_quantum/core/proto/projector_sum.proto b/tensorflow_quantum/core/proto/projector_sum.proto index d51df1467..50141a3d3 100644 --- a/tensorflow_quantum/core/proto/projector_sum.proto +++ b/tensorflow_quantum/core/proto/projector_sum.proto @@ -1,3 +1,17 @@ +// Copyright 2025 The TensorFlow Quantum Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + syntax = "proto3"; package tfq.proto; diff --git a/tensorflow_quantum/core/serialize/BUILD b/tensorflow_quantum/core/serialize/BUILD index fa28d20e6..326ebb2ca 100644 --- a/tensorflow_quantum/core/serialize/BUILD +++ b/tensorflow_quantum/core/serialize/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_quantum/core/src/BUILD b/tensorflow_quantum/core/src/BUILD index df1e0e0e9..0023b5a39 100644 --- a/tensorflow_quantum/core/src/BUILD +++ b/tensorflow_quantum/core/src/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_quantum/datasets/BUILD b/tensorflow_quantum/datasets/BUILD index cabfb790f..47a999bc6 100644 --- a/tensorflow_quantum/datasets/BUILD +++ b/tensorflow_quantum/datasets/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_quantum/python/BUILD b/tensorflow_quantum/python/BUILD index d69396775..4d64378b0 100644 --- a/tensorflow_quantum/python/BUILD +++ b/tensorflow_quantum/python/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_quantum/python/differentiators/BUILD b/tensorflow_quantum/python/differentiators/BUILD index 9e5f28aab..dd3872dd3 100644 --- a/tensorflow_quantum/python/differentiators/BUILD +++ b/tensorflow_quantum/python/differentiators/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_quantum/python/layers/BUILD b/tensorflow_quantum/python/layers/BUILD index 2f835d74e..ca356f006 100644 --- a/tensorflow_quantum/python/layers/BUILD +++ b/tensorflow_quantum/python/layers/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_quantum/python/layers/circuit_construction/BUILD b/tensorflow_quantum/python/layers/circuit_construction/BUILD index 9bf9a3919..3e50bcbd7 100644 --- a/tensorflow_quantum/python/layers/circuit_construction/BUILD +++ b/tensorflow_quantum/python/layers/circuit_construction/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_quantum/python/layers/circuit_executors/BUILD b/tensorflow_quantum/python/layers/circuit_executors/BUILD index ae8feff9c..8389ad1ff 100644 --- a/tensorflow_quantum/python/layers/circuit_executors/BUILD +++ b/tensorflow_quantum/python/layers/circuit_executors/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_quantum/python/layers/high_level/BUILD b/tensorflow_quantum/python/layers/high_level/BUILD index aca7f6625..0f05ccfa8 100644 --- a/tensorflow_quantum/python/layers/high_level/BUILD +++ b/tensorflow_quantum/python/layers/high_level/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_quantum/python/optimizers/BUILD b/tensorflow_quantum/python/optimizers/BUILD index e632eb168..ecf0962f0 100755 --- a/tensorflow_quantum/python/optimizers/BUILD +++ b/tensorflow_quantum/python/optimizers/BUILD @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/third_party/BUILD b/third_party/BUILD index e69de29bb..385482770 100644 --- a/third_party/BUILD +++ b/third_party/BUILD @@ -0,0 +1,14 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + diff --git a/third_party/tf/BUILD b/third_party/tf/BUILD index e69de29bb..385482770 100644 --- a/third_party/tf/BUILD +++ b/third_party/tf/BUILD @@ -0,0 +1,14 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + diff --git a/third_party/tf/tf_configure.bzl b/third_party/tf/tf_configure.bzl index 2f18f4cb5..e9d5769ed 100644 --- a/third_party/tf/tf_configure.bzl +++ b/third_party/tf/tf_configure.bzl @@ -1,3 +1,17 @@ +# Copyright 2025 The TensorFlow Quantum Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """Setup TensorFlow as external dependency""" _TF_HEADER_DIR = "TF_HEADER_DIR"