diff --git a/docs/conf.py b/docs/conf.py index 29f08b9..e2be9c2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,4 +1,4 @@ -# This code is part of a Qiskit project. +# This code is a Qiskit project. # # (C) Copyright IBM 2024. # diff --git a/pyproject.toml b/pyproject.toml index d12721b..9ca5d9f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -155,12 +155,13 @@ max-args = 6 [tool.ruff.lint.flake8-copyright] notice-rgx = """ # This code is a Qiskit project. - +# # \\(C\\) Copyright IBM 2024\\. - +# # This code is licensed under the Apache License, Version 2\\.0\\. You may # obtain a copy of this license in the LICENSE\\.txt file in the root directory # of this source tree or at http\\:\\/\\/www\\.apache\\.org\\/licenses\\/LICENSE\\-2\\.0\\. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals\\. diff --git a/qiskit_addon_sqd/__init__.py b/qiskit_addon_sqd/__init__.py index f823093..46adaa0 100644 --- a/qiskit_addon_sqd/__init__.py +++ b/qiskit_addon_sqd/__init__.py @@ -1,10 +1,11 @@ # This code is a Qiskit project. - +# # (C) Copyright IBM 2024. - +# # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. diff --git a/qiskit_addon_sqd/configuration_recovery.py b/qiskit_addon_sqd/configuration_recovery.py index 8569d04..86d2f41 100644 --- a/qiskit_addon_sqd/configuration_recovery.py +++ b/qiskit_addon_sqd/configuration_recovery.py @@ -1,10 +1,11 @@ # This code is a Qiskit project. - +# # (C) Copyright IBM 2024. - +# # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. diff --git a/qiskit_addon_sqd/counts.py b/qiskit_addon_sqd/counts.py index db1438f..5a99092 100644 --- a/qiskit_addon_sqd/counts.py +++ b/qiskit_addon_sqd/counts.py @@ -1,10 +1,11 @@ # This code is a Qiskit project. - +# # (C) Copyright IBM 2024. - +# # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. diff --git a/qiskit_addon_sqd/fermion.py b/qiskit_addon_sqd/fermion.py index 2d278ce..0525606 100644 --- a/qiskit_addon_sqd/fermion.py +++ b/qiskit_addon_sqd/fermion.py @@ -1,10 +1,11 @@ # This code is a Qiskit project. - +# # (C) Copyright IBM 2024. - +# # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. diff --git a/qiskit_addon_sqd/qubit.py b/qiskit_addon_sqd/qubit.py index f6d7ca1..dbbc1c4 100644 --- a/qiskit_addon_sqd/qubit.py +++ b/qiskit_addon_sqd/qubit.py @@ -1,10 +1,11 @@ # This code is a Qiskit project. - +# # (C) Copyright IBM 2024. - +# # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. diff --git a/qiskit_addon_sqd/subsampling.py b/qiskit_addon_sqd/subsampling.py index c5af09b..0238610 100644 --- a/qiskit_addon_sqd/subsampling.py +++ b/qiskit_addon_sqd/subsampling.py @@ -1,10 +1,11 @@ # This code is a Qiskit project. - +# # (C) Copyright IBM 2024. - +# # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. diff --git a/test/__init__.py b/test/__init__.py index 75efffe..f1a7934 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1,10 +1,11 @@ # This code is a Qiskit project. - +# # (C) Copyright IBM 2024. - +# # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. diff --git a/test/test_configuration_recovery.py b/test/test_configuration_recovery.py index 74d0e73..a1c9dda 100644 --- a/test/test_configuration_recovery.py +++ b/test/test_configuration_recovery.py @@ -1,10 +1,11 @@ # This code is a Qiskit project. - +# # (C) Copyright IBM 2024. - +# # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. diff --git a/test/test_counts.py b/test/test_counts.py index 8bb5164..66a2f39 100644 --- a/test/test_counts.py +++ b/test/test_counts.py @@ -1,10 +1,11 @@ # This code is a Qiskit project. - +# # (C) Copyright IBM 2024. - +# # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. diff --git a/test/test_fermion.py b/test/test_fermion.py index e41c5b9..32a41e5 100644 --- a/test/test_fermion.py +++ b/test/test_fermion.py @@ -1,10 +1,11 @@ # This code is a Qiskit project. - +# # (C) Copyright IBM 2024. - +# # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. diff --git a/test/test_qubit.py b/test/test_qubit.py index dde3c5b..4ec2ec3 100644 --- a/test/test_qubit.py +++ b/test/test_qubit.py @@ -1,10 +1,11 @@ # This code is a Qiskit project. - +# # (C) Copyright IBM 2024. - +# # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. diff --git a/test/test_subsampling.py b/test/test_subsampling.py index 5e3982f..eda1b94 100644 --- a/test/test_subsampling.py +++ b/test/test_subsampling.py @@ -1,10 +1,11 @@ # This code is a Qiskit project. - +# # (C) Copyright IBM 2024. - +# # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals. diff --git a/test/test_workflow.py b/test/test_workflow.py index ab616e7..436f100 100644 --- a/test/test_workflow.py +++ b/test/test_workflow.py @@ -1,10 +1,11 @@ # This code is a Qiskit project. - +# # (C) Copyright IBM 2024. - +# # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. +# # Any modifications or derivative works of this code must retain this # copyright notice, and modified files need to carry a notice indicating # that they have been altered from the originals.