diff --git a/.editorconfig b/.editorconfig index fa27d3f..6e5f13a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2017, 2022. +# (C) Copyright IBM 2017, 2023. # # 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 diff --git a/.github/actions/install-finance/action.yml b/.github/actions/install-finance/action.yml index 60d40d1..0a46277 100644 --- a/.github/actions/install-finance/action.yml +++ b/.github/actions/install-finance/action.yml @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2021, 2022. +# (C) Copyright IBM 2021, 2023. # # 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 @@ -18,7 +18,7 @@ inputs: required: true runs: using: "composite" - steps: + steps: - run : | if [ "${{ inputs.os }}" == "windows-2019" ]; then source "$CONDA/etc/profile.d/conda.sh" diff --git a/.github/actions/install-main-dependencies/action.yml b/.github/actions/install-main-dependencies/action.yml index 0db011b..c826329 100644 --- a/.github/actions/install-main-dependencies/action.yml +++ b/.github/actions/install-main-dependencies/action.yml @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2021, 2023. # diff --git a/.github/actions/run-tests/action.yml b/.github/actions/run-tests/action.yml index 9efb444..a4749f0 100644 --- a/.github/actions/run-tests/action.yml +++ b/.github/actions/run-tests/action.yml @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2021, 2023. # diff --git a/.github/workflows/deploy-code.yml b/.github/workflows/deploy-code.yml index 6e8c28b..f0cb24b 100644 --- a/.github/workflows/deploy-code.yml +++ b/.github/workflows/deploy-code.yml @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2021, 2023. # diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 78c2e51..fef5504 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2021, 2022. +# (C) Copyright IBM 2021, 2023. # # 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 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7af4e5e..8d83a38 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2021, 2023. # diff --git a/Makefile b/Makefile index f8d281e..7a88425 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2021, 2022. +# (C) Copyright IBM 2021, 2023. # # 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 @@ -75,7 +75,7 @@ doctest: clean_sphinx: make -C docs clean - + coverage: coverage3 run --source qiskit_finance -m unittest discover -s test -q coverage3 report @@ -83,4 +83,4 @@ coverage: coverage_erase: coverage erase -clean: clean_sphinx coverage_erase; +clean: clean_sphinx coverage_erase; diff --git a/docs/Makefile b/docs/Makefile index a891e6a..6baa13d 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2022. +# (C) Copyright IBM 2018, 2023. # # 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 diff --git a/docs/conf.py b/docs/conf.py index 353907c..bc8844f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2021, 2023. # diff --git a/docs/lowercase_filter.py b/docs/lowercase_filter.py index 5f073fc..e7b3d2f 100644 --- a/docs/lowercase_filter.py +++ b/docs/lowercase_filter.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2021. +# (C) Copyright IBM 2021, 2023. # # 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 diff --git a/qiskit_finance/__init__.py b/qiskit_finance/__init__.py index 96f83b5..fb1190b 100644 --- a/qiskit_finance/__init__.py +++ b/qiskit_finance/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2022. +# (C) Copyright IBM 2019, 2023. # # 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 diff --git a/qiskit_finance/applications/__init__.py b/qiskit_finance/applications/__init__.py index 8e4d00e..1bef85e 100644 --- a/qiskit_finance/applications/__init__.py +++ b/qiskit_finance/applications/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020, 2022. +# (C) Copyright IBM 2020, 2023. # # 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 diff --git a/qiskit_finance/applications/estimation/__init__.py b/qiskit_finance/applications/estimation/__init__.py index 1d6c843..2a05958 100644 --- a/qiskit_finance/applications/estimation/__init__.py +++ b/qiskit_finance/applications/estimation/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2022. +# (C) Copyright IBM 2019, 2023. # # 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 diff --git a/qiskit_finance/applications/estimation/estimation_application.py b/qiskit_finance/applications/estimation/estimation_application.py index d580d6f..e4617a8 100644 --- a/qiskit_finance/applications/estimation/estimation_application.py +++ b/qiskit_finance/applications/estimation/estimation_application.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2018, 2023. # diff --git a/qiskit_finance/applications/estimation/european_call_delta.py b/qiskit_finance/applications/estimation/european_call_delta.py index c566c15..198acd0 100644 --- a/qiskit_finance/applications/estimation/european_call_delta.py +++ b/qiskit_finance/applications/estimation/european_call_delta.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2018, 2023. # diff --git a/qiskit_finance/applications/estimation/european_call_pricing.py b/qiskit_finance/applications/estimation/european_call_pricing.py index dccad63..9c6741b 100644 --- a/qiskit_finance/applications/estimation/european_call_pricing.py +++ b/qiskit_finance/applications/estimation/european_call_pricing.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2018, 2023. # diff --git a/qiskit_finance/applications/estimation/fixed_income_pricing.py b/qiskit_finance/applications/estimation/fixed_income_pricing.py index a15cfdf..98e0d86 100644 --- a/qiskit_finance/applications/estimation/fixed_income_pricing.py +++ b/qiskit_finance/applications/estimation/fixed_income_pricing.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2018, 2023. # diff --git a/qiskit_finance/applications/optimization/__init__.py b/qiskit_finance/applications/optimization/__init__.py index 7bef570..5f70697 100644 --- a/qiskit_finance/applications/optimization/__init__.py +++ b/qiskit_finance/applications/optimization/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2021. +# (C) Copyright IBM 2019, 2023. # # 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 diff --git a/qiskit_finance/applications/optimization/portfolio_diversification.py b/qiskit_finance/applications/optimization/portfolio_diversification.py index bbf12ba..75e5f61 100644 --- a/qiskit_finance/applications/optimization/portfolio_diversification.py +++ b/qiskit_finance/applications/optimization/portfolio_diversification.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2018, 2023. # diff --git a/qiskit_finance/applications/optimization/portfolio_optimization.py b/qiskit_finance/applications/optimization/portfolio_optimization.py index ed18138..7e321d4 100644 --- a/qiskit_finance/applications/optimization/portfolio_optimization.py +++ b/qiskit_finance/applications/optimization/portfolio_optimization.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2018, 2023. # diff --git a/qiskit_finance/circuit/__init__.py b/qiskit_finance/circuit/__init__.py index 0df6557..4164db5 100644 --- a/qiskit_finance/circuit/__init__.py +++ b/qiskit_finance/circuit/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2022. +# (C) Copyright IBM 2019, 2023. # # 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 diff --git a/qiskit_finance/circuit/library/__init__.py b/qiskit_finance/circuit/library/__init__.py index 085f735..a1a94e0 100644 --- a/qiskit_finance/circuit/library/__init__.py +++ b/qiskit_finance/circuit/library/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2019, 2023. # diff --git a/qiskit_finance/circuit/library/payoff_functions/__init__.py b/qiskit_finance/circuit/library/payoff_functions/__init__.py index e24d3aa..28281f0 100644 --- a/qiskit_finance/circuit/library/payoff_functions/__init__.py +++ b/qiskit_finance/circuit/library/payoff_functions/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020, 2021. +# (C) Copyright IBM 2020, 2023. # # 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 diff --git a/qiskit_finance/circuit/library/payoff_functions/european_call_delta_objective.py b/qiskit_finance/circuit/library/payoff_functions/european_call_delta_objective.py index 6fe1395..639a6fb 100644 --- a/qiskit_finance/circuit/library/payoff_functions/european_call_delta_objective.py +++ b/qiskit_finance/circuit/library/payoff_functions/european_call_delta_objective.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2022. +# (C) Copyright IBM 2018, 2023. # # 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 diff --git a/qiskit_finance/circuit/library/payoff_functions/european_call_pricing_objective.py b/qiskit_finance/circuit/library/payoff_functions/european_call_pricing_objective.py index 495b013..d84e5aa 100644 --- a/qiskit_finance/circuit/library/payoff_functions/european_call_pricing_objective.py +++ b/qiskit_finance/circuit/library/payoff_functions/european_call_pricing_objective.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2021. +# (C) Copyright IBM 2018, 2023. # # 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 diff --git a/qiskit_finance/circuit/library/payoff_functions/fixed_income_pricing_objective.py b/qiskit_finance/circuit/library/payoff_functions/fixed_income_pricing_objective.py index bdc5cd4..aa5d00d 100644 --- a/qiskit_finance/circuit/library/payoff_functions/fixed_income_pricing_objective.py +++ b/qiskit_finance/circuit/library/payoff_functions/fixed_income_pricing_objective.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2022. +# (C) Copyright IBM 2018, 2023. # # 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 diff --git a/qiskit_finance/circuit/library/probability_distributions/__init__.py b/qiskit_finance/circuit/library/probability_distributions/__init__.py index 4878207..71a8077 100644 --- a/qiskit_finance/circuit/library/probability_distributions/__init__.py +++ b/qiskit_finance/circuit/library/probability_distributions/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020, 2021. +# (C) Copyright IBM 2020, 2023. # # 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 diff --git a/qiskit_finance/circuit/library/probability_distributions/gaussian_conditional_independence_model.py b/qiskit_finance/circuit/library/probability_distributions/gaussian_conditional_independence_model.py index 62e068f..d06caa9 100644 --- a/qiskit_finance/circuit/library/probability_distributions/gaussian_conditional_independence_model.py +++ b/qiskit_finance/circuit/library/probability_distributions/gaussian_conditional_independence_model.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2022. +# (C) Copyright IBM 2019, 2023. # # 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 diff --git a/qiskit_finance/circuit/library/probability_distributions/lognormal.py b/qiskit_finance/circuit/library/probability_distributions/lognormal.py index a6ef5f2..e633f45 100644 --- a/qiskit_finance/circuit/library/probability_distributions/lognormal.py +++ b/qiskit_finance/circuit/library/probability_distributions/lognormal.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2017, 2022. +# (C) Copyright IBM 2017, 2023. # # 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 diff --git a/qiskit_finance/circuit/library/probability_distributions/normal.py b/qiskit_finance/circuit/library/probability_distributions/normal.py index 1c1630f..6bda746 100644 --- a/qiskit_finance/circuit/library/probability_distributions/normal.py +++ b/qiskit_finance/circuit/library/probability_distributions/normal.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2017, 2022. +# (C) Copyright IBM 2017, 2023. # # 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 diff --git a/qiskit_finance/circuit/library/probability_distributions/uniform.py b/qiskit_finance/circuit/library/probability_distributions/uniform.py index b51a3b4..ce13bd7 100644 --- a/qiskit_finance/circuit/library/probability_distributions/uniform.py +++ b/qiskit_finance/circuit/library/probability_distributions/uniform.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2017, 2022. +# (C) Copyright IBM 2017, 2023. # # 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 diff --git a/qiskit_finance/data_providers/__init__.py b/qiskit_finance/data_providers/__init__.py index 5a5c396..ccbf695 100644 --- a/qiskit_finance/data_providers/__init__.py +++ b/qiskit_finance/data_providers/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2021. +# (C) Copyright IBM 2018, 2023. # # 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 diff --git a/qiskit_finance/data_providers/_base_data_provider.py b/qiskit_finance/data_providers/_base_data_provider.py index 9aca7ed..879d4e4 100644 --- a/qiskit_finance/data_providers/_base_data_provider.py +++ b/qiskit_finance/data_providers/_base_data_provider.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2019, 2023. # diff --git a/qiskit_finance/data_providers/data_on_demand_provider.py b/qiskit_finance/data_providers/data_on_demand_provider.py index 77e350c..40b7253 100644 --- a/qiskit_finance/data_providers/data_on_demand_provider.py +++ b/qiskit_finance/data_providers/data_on_demand_provider.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2019, 2023. # diff --git a/qiskit_finance/data_providers/exchange_data_provider.py b/qiskit_finance/data_providers/exchange_data_provider.py index 5404408..0020351 100644 --- a/qiskit_finance/data_providers/exchange_data_provider.py +++ b/qiskit_finance/data_providers/exchange_data_provider.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2019, 2023. # diff --git a/qiskit_finance/data_providers/random_data_provider.py b/qiskit_finance/data_providers/random_data_provider.py index 7d66424..ebd641a 100644 --- a/qiskit_finance/data_providers/random_data_provider.py +++ b/qiskit_finance/data_providers/random_data_provider.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2022. +# (C) Copyright IBM 2019, 2023. # # 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 diff --git a/qiskit_finance/data_providers/wikipedia_data_provider.py b/qiskit_finance/data_providers/wikipedia_data_provider.py index aded37a..f27a731 100644 --- a/qiskit_finance/data_providers/wikipedia_data_provider.py +++ b/qiskit_finance/data_providers/wikipedia_data_provider.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2019, 2023. # diff --git a/qiskit_finance/data_providers/yahoo_data_provider.py b/qiskit_finance/data_providers/yahoo_data_provider.py index 47c49af..b6ffa09 100644 --- a/qiskit_finance/data_providers/yahoo_data_provider.py +++ b/qiskit_finance/data_providers/yahoo_data_provider.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2020, 2023. # diff --git a/qiskit_finance/exceptions.py b/qiskit_finance/exceptions.py index 919103d..70fda15 100644 --- a/qiskit_finance/exceptions.py +++ b/qiskit_finance/exceptions.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2021. +# (C) Copyright IBM 2019, 2023. # # 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 diff --git a/qiskit_finance/version.py b/qiskit_finance/version.py index 6d6a4dd..5bfa19b 100644 --- a/qiskit_finance/version.py +++ b/qiskit_finance/version.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2021. +# (C) Copyright IBM 2019, 2023. # # 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 diff --git a/setup.py b/setup.py index 9c7eda5..3bc9613 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2021, 2023. # diff --git a/test/__init__.py b/test/__init__.py index d20cec6..c46d700 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2022. +# (C) Copyright IBM 2018, 2023. # # 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 diff --git a/test/applications/__init__.py b/test/applications/__init__.py index 96c0cf2..def8328 100644 --- a/test/applications/__init__.py +++ b/test/applications/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2021. +# (C) Copyright IBM 2021, 2023. # # 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 diff --git a/test/applications/test_european_call_delta.py b/test/applications/test_european_call_delta.py index d0287c1..ebeed87 100644 --- a/test/applications/test_european_call_delta.py +++ b/test/applications/test_european_call_delta.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020, 2022. +# (C) Copyright IBM 2020, 2023. # # 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 diff --git a/test/applications/test_european_call_pricing.py b/test/applications/test_european_call_pricing.py index 8dc96fb..eccd017 100644 --- a/test/applications/test_european_call_pricing.py +++ b/test/applications/test_european_call_pricing.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020, 2021. +# (C) Copyright IBM 2020, 2023. # # 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 diff --git a/test/applications/test_fixed_income_pricing.py b/test/applications/test_fixed_income_pricing.py index 4eda22d..0da838a 100644 --- a/test/applications/test_fixed_income_pricing.py +++ b/test/applications/test_fixed_income_pricing.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020, 2021. +# (C) Copyright IBM 2020, 2023. # # 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 diff --git a/test/applications/test_portfolio_diversification.py b/test/applications/test_portfolio_diversification.py index 07c148e..7a04603 100644 --- a/test/applications/test_portfolio_diversification.py +++ b/test/applications/test_portfolio_diversification.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2021. +# (C) Copyright IBM 2019, 2023. # # 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 diff --git a/test/applications/test_portfolio_optimization.py b/test/applications/test_portfolio_optimization.py index 0ff68d0..f781e33 100644 --- a/test/applications/test_portfolio_optimization.py +++ b/test/applications/test_portfolio_optimization.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2021. +# (C) Copyright IBM 2019, 2023. # # 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 diff --git a/test/circuit/__init__.py b/test/circuit/__init__.py index 96c0cf2..def8328 100644 --- a/test/circuit/__init__.py +++ b/test/circuit/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2021. +# (C) Copyright IBM 2021, 2023. # # 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 diff --git a/test/circuit/test_european_call_delta_objective.py b/test/circuit/test_european_call_delta_objective.py index 851bf9d..7130417 100644 --- a/test/circuit/test_european_call_delta_objective.py +++ b/test/circuit/test_european_call_delta_objective.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020, 2022. +# (C) Copyright IBM 2020, 2023. # # 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 diff --git a/test/circuit/test_european_call_pricing_objective.py b/test/circuit/test_european_call_pricing_objective.py index c00b8ca..be59fb5 100644 --- a/test/circuit/test_european_call_pricing_objective.py +++ b/test/circuit/test_european_call_pricing_objective.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020, 2022. +# (C) Copyright IBM 2020, 2023. # # 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 diff --git a/test/circuit/test_fixed_income_pricing_objective.py b/test/circuit/test_fixed_income_pricing_objective.py index 4f60de5..3eb2643 100644 --- a/test/circuit/test_fixed_income_pricing_objective.py +++ b/test/circuit/test_fixed_income_pricing_objective.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020, 2022. +# (C) Copyright IBM 2020, 2023. # # 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 diff --git a/test/circuit/test_probability_distributions.py b/test/circuit/test_probability_distributions.py index 74a89db..44b1cc9 100644 --- a/test/circuit/test_probability_distributions.py +++ b/test/circuit/test_probability_distributions.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2017, 2021. +# (C) Copyright IBM 2017, 2023. # # 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 diff --git a/test/data_providers/__init__.py b/test/data_providers/__init__.py index 96c0cf2..def8328 100644 --- a/test/data_providers/__init__.py +++ b/test/data_providers/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2021. +# (C) Copyright IBM 2021, 2023. # # 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 diff --git a/test/data_providers/test_data_providers.py b/test/data_providers/test_data_providers.py index 0ff62b7..eefac13 100644 --- a/test/data_providers/test_data_providers.py +++ b/test/data_providers/test_data_providers.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2019, 2023. # diff --git a/test/finance_test_case.py b/test/finance_test_case.py index 3553528..b07598f 100644 --- a/test/finance_test_case.py +++ b/test/finance_test_case.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2022. +# (C) Copyright IBM 2018, 2023. # # 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 diff --git a/test/test_readme_sample.py b/test/test_readme_sample.py index 7b2af9e..2aa2f23 100644 --- a/test/test_readme_sample.py +++ b/test/test_readme_sample.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020, 2022. +# (C) Copyright IBM 2020, 2023. # # 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 diff --git a/tools/check_copyright.py b/tools/check_copyright.py index 003437e..6085e0a 100644 --- a/tools/check_copyright.py +++ b/tools/check_copyright.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2020, 2023. # diff --git a/tools/deploy_documentation.sh b/tools/deploy_documentation.sh index 0fb8bb3..ca24841 100755 --- a/tools/deploy_documentation.sh +++ b/tools/deploy_documentation.sh @@ -1,6 +1,6 @@ #!/bin/bash -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2018, 2023. # diff --git a/tools/deploy_translatable_strings.sh b/tools/deploy_translatable_strings.sh index 6f79643..2f462f5 100755 --- a/tools/deploy_translatable_strings.sh +++ b/tools/deploy_translatable_strings.sh @@ -1,8 +1,8 @@ #!/bin/bash -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2021. +# (C) Copyright IBM 2018, 2023. # # 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 diff --git a/tools/extract_deprecation.py b/tools/extract_deprecation.py index 428de84..5a61d98 100644 --- a/tools/extract_deprecation.py +++ b/tools/extract_deprecation.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2021. +# (C) Copyright IBM 2021, 2023. # # 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 diff --git a/tools/find_stray_release_notes.py b/tools/find_stray_release_notes.py index d694e0d..f1f75e8 100755 --- a/tools/find_stray_release_notes.py +++ b/tools/find_stray_release_notes.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2022 +# (C) Copyright IBM 2022, 2023. # # 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 diff --git a/tools/generate_spell_dict.py b/tools/generate_spell_dict.py index 4fea13d..e20d1ee 100644 --- a/tools/generate_spell_dict.py +++ b/tools/generate_spell_dict.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2021. +# (C) Copyright IBM 2021, 2023. # # 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 diff --git a/tools/ignore_untagged_notes.sh b/tools/ignore_untagged_notes.sh index b31071b..ad7d5a0 100755 --- a/tools/ignore_untagged_notes.sh +++ b/tools/ignore_untagged_notes.sh @@ -1,6 +1,6 @@ #!/bin/bash -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2021, 2023. # diff --git a/tools/verify_headers.py b/tools/verify_headers.py index 33f961d..43bcd51 100755 --- a/tools/verify_headers.py +++ b/tools/verify_headers.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020, 2021. +# (C) Copyright IBM 2020, 2023. # # 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 @@ -47,7 +47,7 @@ def discover_files(code_paths, exclude_folders): def validate_header(file_path): """Validate the header for a single file""" - header = """# This code is part of Qiskit. + header = """# This code is part of a Qiskit project. # """ apache_text = """# @@ -69,7 +69,7 @@ def validate_header(file_path): return file_path, False, "Header not found in first 5 lines" if count <= 2 and pep263.match(line): return file_path, False, "Unnecessary encoding specification (PEP 263, 3120)" - if line == "# This code is part of Qiskit.\n": + if line == "# This code is part of a Qiskit project.\n": start = index break if "".join(lines[start : start + 2]) != header: