Skip to content

Commit

Permalink
Update dated license blurbs. (#36)
Browse files Browse the repository at this point in the history
* Update dated license blurbs.

* Add missing hash
  • Loading branch information
caleb-johnson authored Sep 18, 2024
1 parent c115ea2 commit 6fb06f4
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 29 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This code is part of a Qiskit project.
# This code is a Qiskit project.
#
# (C) Copyright IBM 2024.
#
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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\\.
Expand Down
5 changes: 3 additions & 2 deletions qiskit_addon_sqd/__init__.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions qiskit_addon_sqd/configuration_recovery.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions qiskit_addon_sqd/counts.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions qiskit_addon_sqd/fermion.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions qiskit_addon_sqd/qubit.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions qiskit_addon_sqd/subsampling.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions test/__init__.py
Original file line number Diff line number Diff line change
@@ -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.
5 changes: 3 additions & 2 deletions test/test_configuration_recovery.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions test/test_counts.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions test/test_fermion.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions test/test_qubit.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions test/test_subsampling.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 3 additions & 2 deletions test/test_workflow.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 6fb06f4

Please sign in to comment.