From 65210a89977f749e2770079169f0b881010e72fa Mon Sep 17 00:00:00 2001 From: Max Rossmannek Date: Thu, 12 Sep 2024 08:33:27 +0200 Subject: [PATCH] fix: copyright headers (#5) --- docs/conf.py | 2 +- pyproject.toml | 2 +- qiskit_addon_obp/__init__.py | 2 +- qiskit_addon_obp/backpropagation.py | 2 +- qiskit_addon_obp/utils/__init__.py | 2 +- qiskit_addon_obp/utils/metadata.py | 2 +- qiskit_addon_obp/utils/operations.py | 2 +- qiskit_addon_obp/utils/simplify.py | 2 +- qiskit_addon_obp/utils/truncating.py | 2 +- qiskit_addon_obp/utils/visualization.py | 2 +- test/__init__.py | 2 +- test/test_backpropagation.py | 2 +- test/utils/__init__.py | 2 +- test/utils/test_layering.py | 2 +- test/utils/test_metadata.py | 2 +- test/utils/test_operations.py | 2 +- test/utils/test_simplify.py | 2 +- test/utils/test_truncating.py | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index ccbed9f..d7809bf 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 f31839e..fb91924 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -159,7 +159,7 @@ max-args = 6 [tool.ruff.lint.flake8-copyright] notice-rgx = """ -# This code is part of a Qiskit project. +# This code is a Qiskit project. # # \\(C\\) Copyright IBM 2024\\. # diff --git a/qiskit_addon_obp/__init__.py b/qiskit_addon_obp/__init__.py index 6cc8039..342ae3d 100644 --- a/qiskit_addon_obp/__init__.py +++ b/qiskit_addon_obp/__init__.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/qiskit_addon_obp/backpropagation.py b/qiskit_addon_obp/backpropagation.py index f5eebcc..4ba6dab 100644 --- a/qiskit_addon_obp/backpropagation.py +++ b/qiskit_addon_obp/backpropagation.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/qiskit_addon_obp/utils/__init__.py b/qiskit_addon_obp/utils/__init__.py index 2b239eb..8641141 100644 --- a/qiskit_addon_obp/utils/__init__.py +++ b/qiskit_addon_obp/utils/__init__.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/qiskit_addon_obp/utils/metadata.py b/qiskit_addon_obp/utils/metadata.py index aeea7b5..842143a 100644 --- a/qiskit_addon_obp/utils/metadata.py +++ b/qiskit_addon_obp/utils/metadata.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/qiskit_addon_obp/utils/operations.py b/qiskit_addon_obp/utils/operations.py index 535ccda..7329a12 100644 --- a/qiskit_addon_obp/utils/operations.py +++ b/qiskit_addon_obp/utils/operations.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/qiskit_addon_obp/utils/simplify.py b/qiskit_addon_obp/utils/simplify.py index cdb4a65..f9c24ba 100644 --- a/qiskit_addon_obp/utils/simplify.py +++ b/qiskit_addon_obp/utils/simplify.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/qiskit_addon_obp/utils/truncating.py b/qiskit_addon_obp/utils/truncating.py index 31a2b71..792380f 100644 --- a/qiskit_addon_obp/utils/truncating.py +++ b/qiskit_addon_obp/utils/truncating.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/qiskit_addon_obp/utils/visualization.py b/qiskit_addon_obp/utils/visualization.py index 31df9a6..745891f 100644 --- a/qiskit_addon_obp/utils/visualization.py +++ b/qiskit_addon_obp/utils/visualization.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/test/__init__.py b/test/__init__.py index a378ad8..f1a7934 100644 --- a/test/__init__.py +++ b/test/__init__.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/test/test_backpropagation.py b/test/test_backpropagation.py index 8b60f5a..e09c86d 100644 --- a/test/test_backpropagation.py +++ b/test/test_backpropagation.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/test/utils/__init__.py b/test/utils/__init__.py index a378ad8..f1a7934 100644 --- a/test/utils/__init__.py +++ b/test/utils/__init__.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/test/utils/test_layering.py b/test/utils/test_layering.py index 33c7eae..90bcfba 100644 --- a/test/utils/test_layering.py +++ b/test/utils/test_layering.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/test/utils/test_metadata.py b/test/utils/test_metadata.py index 52b0c6f..c7014ee 100644 --- a/test/utils/test_metadata.py +++ b/test/utils/test_metadata.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/test/utils/test_operations.py b/test/utils/test_operations.py index 3a8ea38..14955e5 100644 --- a/test/utils/test_operations.py +++ b/test/utils/test_operations.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/test/utils/test_simplify.py b/test/utils/test_simplify.py index 0dea563..4e76810 100644 --- a/test/utils/test_simplify.py +++ b/test/utils/test_simplify.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/test/utils/test_truncating.py b/test/utils/test_truncating.py index c481ff1..c33ddd2 100644 --- a/test/utils/test_truncating.py +++ b/test/utils/test_truncating.py @@ -1,4 +1,4 @@ -# This code is part of a Qiskit project. +# This code is a Qiskit project. # # (C) Copyright IBM 2024. #