From 529f9a238622cfc32c509c14fdc2fd60d715917e Mon Sep 17 00:00:00 2001 From: Julien Gacon Date: Thu, 20 Jul 2023 11:44:19 +0200 Subject: [PATCH] Update copyrights (#9) --- .editorconfig | 4 +-- .github/actions/install-algorithms/action.yml | 2 +- .../install-main-dependencies/action.yml | 2 +- .github/actions/run-tests/action.yml | 2 +- .github/workflows/deploy-code.yml | 2 +- .github/workflows/main.yml | 2 +- Makefile | 4 +-- qiskit_algorithms/__init__.py | 4 +-- qiskit_algorithms/algorithm_job.py | 4 +-- qiskit_algorithms/algorithm_result.py | 4 +-- .../amplitude_amplifiers/__init__.py | 4 +-- .../amplification_problem.py | 4 +-- .../amplitude_amplifier.py | 4 +-- .../amplitude_amplifiers/grover.py | 4 +-- .../amplitude_estimators/__init__.py | 4 +-- qiskit_algorithms/amplitude_estimators/ae.py | 4 +-- .../amplitude_estimators/ae_utils.py | 4 +-- .../amplitude_estimator.py | 4 +-- .../estimation_problem.py | 4 +-- qiskit_algorithms/amplitude_estimators/fae.py | 4 +-- qiskit_algorithms/amplitude_estimators/iae.py | 4 +-- .../amplitude_estimators/mlae.py | 4 +-- qiskit_algorithms/eigensolvers/__init__.py | 4 +-- qiskit_algorithms/eigensolvers/eigensolver.py | 4 +-- .../eigensolvers/numpy_eigensolver.py | 4 +-- qiskit_algorithms/eigensolvers/vqd.py | 2 +- qiskit_algorithms/exceptions.py | 4 +-- qiskit_algorithms/gradients/__init__.py | 2 +- qiskit_algorithms/gradients/base/__init__.py | 2 +- .../gradients/base/base_estimator_gradient.py | 2 +- qiskit_algorithms/gradients/base/base_qgt.py | 2 +- .../gradients/base/base_sampler_gradient.py | 2 +- .../base/estimator_gradient_result.py | 4 +-- .../gradients/base/qgt_result.py | 2 +- .../gradients/base/sampler_gradient_result.py | 4 +-- .../gradients/finite_diff/__init__.py | 2 +- .../finite_diff_estimator_gradient.py | 4 +-- .../finite_diff_sampler_gradient.py | 4 +-- .../gradients/lin_comb/__init__.py | 2 +- .../lin_comb/lin_comb_estimator_gradient.py | 2 +- .../gradients/lin_comb/lin_comb_qgt.py | 2 +- .../lin_comb/lin_comb_sampler_gradient.py | 4 +-- .../gradients/param_shift/__init__.py | 2 +- .../param_shift_estimator_gradient.py | 4 +-- .../param_shift_sampler_gradient.py | 4 +-- qiskit_algorithms/gradients/qfi.py | 2 +- qiskit_algorithms/gradients/qfi_result.py | 4 +-- .../gradients/reverse/__init__.py | 4 +-- qiskit_algorithms/gradients/reverse/bind.py | 2 +- .../gradients/reverse/derive_circuit.py | 2 +- .../gradients/reverse/reverse_gradient.py | 4 +-- .../gradients/reverse/reverse_qgt.py | 2 +- .../gradients/reverse/split_circuits.py | 4 +-- qiskit_algorithms/gradients/spsa/__init__.py | 2 +- .../gradients/spsa/spsa_estimator_gradient.py | 4 +-- .../gradients/spsa/spsa_sampler_gradient.py | 4 +-- qiskit_algorithms/gradients/utils.py | 2 +- qiskit_algorithms/list_or_dict.py | 4 +-- .../minimum_eigensolvers/__init__.py | 4 +-- .../minimum_eigensolvers/adapt_vqe.py | 2 +- .../diagonal_estimator.py | 4 +-- .../minimum_eigensolver.py | 4 +-- .../numpy_minimum_eigensolver.py | 4 +-- .../minimum_eigensolvers/qaoa.py | 4 +-- .../minimum_eigensolvers/sampling_mes.py | 4 +-- .../minimum_eigensolvers/sampling_vqe.py | 4 +-- qiskit_algorithms/minimum_eigensolvers/vqe.py | 4 +-- qiskit_algorithms/observables_evaluator.py | 4 +-- qiskit_algorithms/optimizers/__init__.py | 4 +-- qiskit_algorithms/optimizers/adam_amsgrad.py | 4 +-- qiskit_algorithms/optimizers/aqgd.py | 4 +-- qiskit_algorithms/optimizers/bobyqa.py | 4 +-- qiskit_algorithms/optimizers/cg.py | 4 +-- qiskit_algorithms/optimizers/cobyla.py | 4 +-- .../optimizers/gradient_descent.py | 4 +-- qiskit_algorithms/optimizers/gsls.py | 4 +-- qiskit_algorithms/optimizers/imfil.py | 4 +-- qiskit_algorithms/optimizers/l_bfgs_b.py | 4 +-- qiskit_algorithms/optimizers/nelder_mead.py | 4 +-- qiskit_algorithms/optimizers/nft.py | 4 +-- .../optimizers/nlopts/__init__.py | 4 +-- qiskit_algorithms/optimizers/nlopts/crs.py | 4 +-- .../optimizers/nlopts/direct_l.py | 4 +-- .../optimizers/nlopts/direct_l_rand.py | 4 +-- qiskit_algorithms/optimizers/nlopts/esch.py | 4 +-- qiskit_algorithms/optimizers/nlopts/isres.py | 4 +-- .../optimizers/nlopts/nloptimizer.py | 4 +-- qiskit_algorithms/optimizers/optimizer.py | 4 +-- .../optimizers/optimizer_utils/__init__.py | 4 +-- .../optimizer_utils/learning_rate.py | 4 +-- qiskit_algorithms/optimizers/p_bfgs.py | 4 +-- qiskit_algorithms/optimizers/powell.py | 4 +-- qiskit_algorithms/optimizers/qnspsa.py | 4 +-- .../optimizers/scipy_optimizer.py | 4 +-- qiskit_algorithms/optimizers/slsqp.py | 4 +-- qiskit_algorithms/optimizers/snobfit.py | 4 +-- qiskit_algorithms/optimizers/spsa.py | 4 +-- .../optimizers/steppable_optimizer.py | 4 +-- qiskit_algorithms/optimizers/tnc.py | 4 +-- qiskit_algorithms/optimizers/umda.py | 4 +-- .../phase_estimators/__init__.py | 4 +-- .../hamiltonian_phase_estimation.py | 4 +-- .../hamiltonian_phase_estimation_result.py | 4 +-- qiskit_algorithms/phase_estimators/ipe.py | 4 +-- .../phase_estimators/phase_estimation.py | 4 +-- .../phase_estimation_result.py | 4 +-- .../phase_estimation_scale.py | 4 +-- .../phase_estimators/phase_estimator.py | 4 +-- .../state_fidelities/__init__.py | 4 +-- .../state_fidelities/base_state_fidelity.py | 4 +-- .../state_fidelities/compute_uncompute.py | 2 +- .../state_fidelities/state_fidelity_result.py | 4 +-- qiskit_algorithms/time_evolvers/__init__.py | 2 +- .../classical_methods/__init__.py | 4 +-- .../time_evolvers/classical_methods/evolve.py | 4 +-- .../scipy_imaginary_evolver.py | 4 +-- .../classical_methods/scipy_real_evolver.py | 4 +-- .../time_evolvers/imaginary_time_evolver.py | 4 +-- .../time_evolvers/pvqd/__init__.py | 4 +-- qiskit_algorithms/time_evolvers/pvqd/pvqd.py | 4 +-- .../time_evolvers/pvqd/pvqd_result.py | 4 +-- qiskit_algorithms/time_evolvers/pvqd/utils.py | 4 +-- .../time_evolvers/real_time_evolver.py | 4 +-- .../time_evolvers/time_evolution_problem.py | 2 +- .../time_evolvers/time_evolution_result.py | 2 +- .../time_evolvers/trotterization/__init__.py | 4 +-- .../trotterization/trotter_qrte.py | 2 +- .../time_evolvers/variational/__init__.py | 2 +- .../variational/solvers/__init__.py | 2 +- .../variational/solvers/ode/__init__.py | 2 +- .../solvers/ode/abstract_ode_function.py | 2 +- .../solvers/ode/forward_euler_solver.py | 2 +- .../variational/solvers/ode/ode_function.py | 2 +- .../solvers/ode/ode_function_factory.py | 2 +- .../solvers/ode/var_qte_ode_solver.py | 2 +- .../solvers/var_qte_linear_solver.py | 2 +- .../time_evolvers/variational/var_qite.py | 2 +- .../time_evolvers/variational/var_qrte.py | 2 +- .../time_evolvers/variational/var_qte.py | 2 +- .../variational/var_qte_result.py | 2 +- .../variational_principles/__init__.py | 2 +- .../imaginary_mc_lachlan_principle.py | 2 +- .../imaginary_variational_principle.py | 2 +- .../real_mc_lachlan_principle.py | 2 +- .../real_variational_principle.py | 2 +- .../variational_principle.py | 2 +- qiskit_algorithms/utils/__init__.py | 4 +-- qiskit_algorithms/utils/optionals.py | 4 +-- qiskit_algorithms/utils/set_batching.py | 4 +-- qiskit_algorithms/utils/validate_bounds.py | 4 +-- .../utils/validate_initial_point.py | 4 +-- qiskit_algorithms/variational_algorithm.py | 4 +-- qiskit_algorithms/version.py | 4 +-- setup.py | 34 +++++++++++-------- test/__init__.py | 4 +-- test/algorithms_test_case.py | 4 +-- test/eigensolvers/__init__.py | 4 +-- test/eigensolvers/test_numpy_eigensolver.py | 4 +-- test/eigensolvers/test_vqd.py | 4 +-- test/gradients/__init__.py | 4 +-- test/gradients/logging_primitives.py | 4 +-- test/gradients/test_estimator_gradient.py | 4 +-- test/gradients/test_qfi.py | 2 +- test/gradients/test_qgt.py | 2 +- test/gradients/test_sampler_gradient.py | 4 +-- test/minimum_eigensolvers/__init__.py | 4 +-- test/minimum_eigensolvers/test_adapt_vqe.py | 2 +- .../test_numpy_minimum_eigensolver.py | 4 +-- test/minimum_eigensolvers/test_qaoa.py | 2 +- test/minimum_eigensolvers/test_qaoa_opflow.py | 2 +- .../minimum_eigensolvers/test_sampling_vqe.py | 4 +-- test/minimum_eigensolvers/test_vqe.py | 2 +- test/optimizers/__init__.py | 4 +-- test/optimizers/test_gradient_descent.py | 2 +- test/optimizers/test_optimizer_aqgd.py | 2 +- test/optimizers/test_optimizer_nft.py | 2 +- test/optimizers/test_optimizers.py | 4 +-- .../optimizers/test_optimizers_scikitquant.py | 2 +- test/optimizers/test_spsa.py | 2 +- test/optimizers/test_umda.py | 4 +-- test/optimizers/utils/__init__.py | 4 +-- test/optimizers/utils/test_learning_rate.py | 4 +-- test/state_fidelities/__init__.py | 4 +-- .../test_compute_uncompute.py | 2 +- test/test_amplitude_estimators.py | 2 +- test/test_entangler_map.py | 4 +-- test/test_grover.py | 4 +-- test/test_phase_estimator.py | 2 +- test/test_skip_qobj_validation.py | 2 +- test/test_validation.py | 4 +-- test/time_evolvers/__init__.py | 4 +-- .../classical_methods/__init__.py | 4 +-- .../test_scipy_imaginary_evolver.py | 2 +- .../test_scipy_real_evolver.py | 4 +-- test/time_evolvers/test_pvqd.py | 4 +-- .../test_time_evolution_problem.py | 2 +- .../test_time_evolution_result.py | 4 +-- test/time_evolvers/test_trotter_qrte.py | 2 +- test/time_evolvers/variational/__init__.py | 2 +- .../variational/solvers/__init__.py | 2 +- .../solvers/expected_results/__init__.py | 2 +- .../test_varqte_linear_solver_expected_1.py | 2 +- .../variational/solvers/ode/__init__.py | 2 +- .../solvers/ode/test_forward_euler_solver.py | 2 +- .../solvers/ode/test_ode_function.py | 2 +- .../solvers/ode/test_var_qte_ode_solver.py | 2 +- .../solvers/test_varqte_linear_solver.py | 2 +- .../variational/test_var_qite.py | 2 +- .../variational/test_var_qrte.py | 2 +- .../time_evolvers/variational/test_var_qte.py | 2 +- .../variational_principles/__init__.py | 2 +- .../expected_results/__init__.py | 2 +- ...lachlan_variational_principle_expected1.py | 2 +- ...lachlan_variational_principle_expected2.py | 2 +- ...lachlan_variational_principle_expected3.py | 2 +- .../imaginary/__init__.py | 2 +- .../test_imaginary_mc_lachlan_principle.py | 2 +- .../variational_principles/real/__init__.py | 2 +- .../real/test_real_mc_lachlan_principle.py | 2 +- test/utils/__init__.py | 4 +-- test/utils/test_validate_bounds.py | 4 +-- test/utils/test_validate_initial_point.py | 4 +-- tools/check_copyright.py | 2 +- tools/find_stray_release_notes.py | 4 +-- tools/ignore_untagged_notes.sh | 2 +- tools/verify_headers.py | 8 ++--- 226 files changed, 382 insertions(+), 378 deletions(-) diff --git a/.editorconfig b/.editorconfig index 1d2b572e..4daf0bce 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-algorithms/action.yml b/.github/actions/install-algorithms/action.yml index 23caf77a..17f23191 100644 --- a/.github/actions/install-algorithms/action.yml +++ b/.github/actions/install-algorithms/action.yml @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2021. # diff --git a/.github/actions/install-main-dependencies/action.yml b/.github/actions/install-main-dependencies/action.yml index 23663700..b93b62a1 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 107700ba..9b264950 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. # diff --git a/.github/workflows/deploy-code.yml b/.github/workflows/deploy-code.yml index 3256eb69..2b16647f 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, 2022. # diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a1b26578..a578bcb0 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 d60fd19a..bcd230e5 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 diff --git a/qiskit_algorithms/__init__.py b/qiskit_algorithms/__init__.py index 2056559f..c9949c82 100644 --- a/qiskit_algorithms/__init__.py +++ b/qiskit_algorithms/__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/qiskit_algorithms/algorithm_job.py b/qiskit_algorithms/algorithm_job.py index 16db4df9..7c588a49 100644 --- a/qiskit_algorithms/algorithm_job.py +++ b/qiskit_algorithms/algorithm_job.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/algorithm_result.py b/qiskit_algorithms/algorithm_result.py index 0804303a..695bab74 100644 --- a/qiskit_algorithms/algorithm_result.py +++ b/qiskit_algorithms/algorithm_result.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_algorithms/amplitude_amplifiers/__init__.py b/qiskit_algorithms/amplitude_amplifiers/__init__.py index bc45f181..3e045052 100644 --- a/qiskit_algorithms/amplitude_amplifiers/__init__.py +++ b/qiskit_algorithms/amplitude_amplifiers/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020. +# (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_algorithms/amplitude_amplifiers/amplification_problem.py b/qiskit_algorithms/amplitude_amplifiers/amplification_problem.py index 67b20751..76e85842 100644 --- a/qiskit_algorithms/amplitude_amplifiers/amplification_problem.py +++ b/qiskit_algorithms/amplitude_amplifiers/amplification_problem.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_algorithms/amplitude_amplifiers/amplitude_amplifier.py b/qiskit_algorithms/amplitude_amplifiers/amplitude_amplifier.py index 33ef90cb..b2a35aa0 100644 --- a/qiskit_algorithms/amplitude_amplifiers/amplitude_amplifier.py +++ b/qiskit_algorithms/amplitude_amplifiers/amplitude_amplifier.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_algorithms/amplitude_amplifiers/grover.py b/qiskit_algorithms/amplitude_amplifiers/grover.py index 54447639..2d3c815c 100644 --- a/qiskit_algorithms/amplitude_amplifiers/grover.py +++ b/qiskit_algorithms/amplitude_amplifiers/grover.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_algorithms/amplitude_estimators/__init__.py b/qiskit_algorithms/amplitude_estimators/__init__.py index 764f8863..cd78d9c4 100644 --- a/qiskit_algorithms/amplitude_estimators/__init__.py +++ b/qiskit_algorithms/amplitude_estimators/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020. +# (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_algorithms/amplitude_estimators/ae.py b/qiskit_algorithms/amplitude_estimators/ae.py index 6dc7dd2e..b2bda65c 100644 --- a/qiskit_algorithms/amplitude_estimators/ae.py +++ b/qiskit_algorithms/amplitude_estimators/ae.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_algorithms/amplitude_estimators/ae_utils.py b/qiskit_algorithms/amplitude_estimators/ae_utils.py index 6c628872..85ebf998 100644 --- a/qiskit_algorithms/amplitude_estimators/ae_utils.py +++ b/qiskit_algorithms/amplitude_estimators/ae_utils.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/amplitude_estimators/amplitude_estimator.py b/qiskit_algorithms/amplitude_estimators/amplitude_estimator.py index 613827c6..529c49d1 100644 --- a/qiskit_algorithms/amplitude_estimators/amplitude_estimator.py +++ b/qiskit_algorithms/amplitude_estimators/amplitude_estimator.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_algorithms/amplitude_estimators/estimation_problem.py b/qiskit_algorithms/amplitude_estimators/estimation_problem.py index 72e9418f..ecf0f001 100644 --- a/qiskit_algorithms/amplitude_estimators/estimation_problem.py +++ b/qiskit_algorithms/amplitude_estimators/estimation_problem.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020. +# (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_algorithms/amplitude_estimators/fae.py b/qiskit_algorithms/amplitude_estimators/fae.py index 76688545..64e4d8c3 100644 --- a/qiskit_algorithms/amplitude_estimators/fae.py +++ b/qiskit_algorithms/amplitude_estimators/fae.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_algorithms/amplitude_estimators/iae.py b/qiskit_algorithms/amplitude_estimators/iae.py index e420b76e..852e6520 100644 --- a/qiskit_algorithms/amplitude_estimators/iae.py +++ b/qiskit_algorithms/amplitude_estimators/iae.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_algorithms/amplitude_estimators/mlae.py b/qiskit_algorithms/amplitude_estimators/mlae.py index 8c96c434..85638c16 100644 --- a/qiskit_algorithms/amplitude_estimators/mlae.py +++ b/qiskit_algorithms/amplitude_estimators/mlae.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_algorithms/eigensolvers/__init__.py b/qiskit_algorithms/eigensolvers/__init__.py index ae3a8c4c..584374e0 100644 --- a/qiskit_algorithms/eigensolvers/__init__.py +++ b/qiskit_algorithms/eigensolvers/__init__.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/eigensolvers/eigensolver.py b/qiskit_algorithms/eigensolvers/eigensolver.py index 30fb7c48..856eb1d7 100644 --- a/qiskit_algorithms/eigensolvers/eigensolver.py +++ b/qiskit_algorithms/eigensolvers/eigensolver.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/eigensolvers/numpy_eigensolver.py b/qiskit_algorithms/eigensolvers/numpy_eigensolver.py index a42ffb85..2ccb5088 100644 --- a/qiskit_algorithms/eigensolvers/numpy_eigensolver.py +++ b/qiskit_algorithms/eigensolvers/numpy_eigensolver.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/eigensolvers/vqd.py b/qiskit_algorithms/eigensolvers/vqd.py index 990c6df8..750f6930 100644 --- a/qiskit_algorithms/eigensolvers/vqd.py +++ b/qiskit_algorithms/eigensolvers/vqd.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/qiskit_algorithms/exceptions.py b/qiskit_algorithms/exceptions.py index 1f830a3c..7eda309e 100644 --- a/qiskit_algorithms/exceptions.py +++ b/qiskit_algorithms/exceptions.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2017, 2018. +# (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_algorithms/gradients/__init__.py b/qiskit_algorithms/gradients/__init__.py index 2f63514c..e2936543 100644 --- a/qiskit_algorithms/gradients/__init__.py +++ b/qiskit_algorithms/gradients/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023 # diff --git a/qiskit_algorithms/gradients/base/__init__.py b/qiskit_algorithms/gradients/base/__init__.py index 8f5fd2a3..adb31296 100644 --- a/qiskit_algorithms/gradients/base/__init__.py +++ b/qiskit_algorithms/gradients/base/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023 # diff --git a/qiskit_algorithms/gradients/base/base_estimator_gradient.py b/qiskit_algorithms/gradients/base/base_estimator_gradient.py index 0cbf478f..1b145f8c 100644 --- a/qiskit_algorithms/gradients/base/base_estimator_gradient.py +++ b/qiskit_algorithms/gradients/base/base_estimator_gradient.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023 # diff --git a/qiskit_algorithms/gradients/base/base_qgt.py b/qiskit_algorithms/gradients/base/base_qgt.py index f2999a8f..9d71436e 100644 --- a/qiskit_algorithms/gradients/base/base_qgt.py +++ b/qiskit_algorithms/gradients/base/base_qgt.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/qiskit_algorithms/gradients/base/base_sampler_gradient.py b/qiskit_algorithms/gradients/base/base_sampler_gradient.py index b4947365..c3cbfdce 100644 --- a/qiskit_algorithms/gradients/base/base_sampler_gradient.py +++ b/qiskit_algorithms/gradients/base/base_sampler_gradient.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023 # diff --git a/qiskit_algorithms/gradients/base/estimator_gradient_result.py b/qiskit_algorithms/gradients/base/estimator_gradient_result.py index ada3bdb2..a01759f0 100644 --- a/qiskit_algorithms/gradients/base/estimator_gradient_result.py +++ b/qiskit_algorithms/gradients/base/estimator_gradient_result.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/gradients/base/qgt_result.py b/qiskit_algorithms/gradients/base/qgt_result.py index f110e1c6..3ab600fb 100644 --- a/qiskit_algorithms/gradients/base/qgt_result.py +++ b/qiskit_algorithms/gradients/base/qgt_result.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/qiskit_algorithms/gradients/base/sampler_gradient_result.py b/qiskit_algorithms/gradients/base/sampler_gradient_result.py index b78b468f..4efc75d5 100644 --- a/qiskit_algorithms/gradients/base/sampler_gradient_result.py +++ b/qiskit_algorithms/gradients/base/sampler_gradient_result.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/gradients/finite_diff/__init__.py b/qiskit_algorithms/gradients/finite_diff/__init__.py index 8f5fd2a3..adb31296 100644 --- a/qiskit_algorithms/gradients/finite_diff/__init__.py +++ b/qiskit_algorithms/gradients/finite_diff/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023 # diff --git a/qiskit_algorithms/gradients/finite_diff/finite_diff_estimator_gradient.py b/qiskit_algorithms/gradients/finite_diff/finite_diff_estimator_gradient.py index ea1b987c..710dd8d2 100644 --- a/qiskit_algorithms/gradients/finite_diff/finite_diff_estimator_gradient.py +++ b/qiskit_algorithms/gradients/finite_diff/finite_diff_estimator_gradient.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/gradients/finite_diff/finite_diff_sampler_gradient.py b/qiskit_algorithms/gradients/finite_diff/finite_diff_sampler_gradient.py index bc250286..7203c68f 100644 --- a/qiskit_algorithms/gradients/finite_diff/finite_diff_sampler_gradient.py +++ b/qiskit_algorithms/gradients/finite_diff/finite_diff_sampler_gradient.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/gradients/lin_comb/__init__.py b/qiskit_algorithms/gradients/lin_comb/__init__.py index 8f5fd2a3..adb31296 100644 --- a/qiskit_algorithms/gradients/lin_comb/__init__.py +++ b/qiskit_algorithms/gradients/lin_comb/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023 # diff --git a/qiskit_algorithms/gradients/lin_comb/lin_comb_estimator_gradient.py b/qiskit_algorithms/gradients/lin_comb/lin_comb_estimator_gradient.py index 93deb48b..f04fe870 100644 --- a/qiskit_algorithms/gradients/lin_comb/lin_comb_estimator_gradient.py +++ b/qiskit_algorithms/gradients/lin_comb/lin_comb_estimator_gradient.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/qiskit_algorithms/gradients/lin_comb/lin_comb_qgt.py b/qiskit_algorithms/gradients/lin_comb/lin_comb_qgt.py index 0a9e05a9..77c88fdc 100644 --- a/qiskit_algorithms/gradients/lin_comb/lin_comb_qgt.py +++ b/qiskit_algorithms/gradients/lin_comb/lin_comb_qgt.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/qiskit_algorithms/gradients/lin_comb/lin_comb_sampler_gradient.py b/qiskit_algorithms/gradients/lin_comb/lin_comb_sampler_gradient.py index 759e77d4..17e34c4e 100644 --- a/qiskit_algorithms/gradients/lin_comb/lin_comb_sampler_gradient.py +++ b/qiskit_algorithms/gradients/lin_comb/lin_comb_sampler_gradient.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/gradients/param_shift/__init__.py b/qiskit_algorithms/gradients/param_shift/__init__.py index 8f5fd2a3..adb31296 100644 --- a/qiskit_algorithms/gradients/param_shift/__init__.py +++ b/qiskit_algorithms/gradients/param_shift/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023 # diff --git a/qiskit_algorithms/gradients/param_shift/param_shift_estimator_gradient.py b/qiskit_algorithms/gradients/param_shift/param_shift_estimator_gradient.py index ef334a29..1cae95bc 100644 --- a/qiskit_algorithms/gradients/param_shift/param_shift_estimator_gradient.py +++ b/qiskit_algorithms/gradients/param_shift/param_shift_estimator_gradient.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/gradients/param_shift/param_shift_sampler_gradient.py b/qiskit_algorithms/gradients/param_shift/param_shift_sampler_gradient.py index 642f4b00..b27d6487 100644 --- a/qiskit_algorithms/gradients/param_shift/param_shift_sampler_gradient.py +++ b/qiskit_algorithms/gradients/param_shift/param_shift_sampler_gradient.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/gradients/qfi.py b/qiskit_algorithms/gradients/qfi.py index 94aa86fd..4a53b20d 100644 --- a/qiskit_algorithms/gradients/qfi.py +++ b/qiskit_algorithms/gradients/qfi.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023 # diff --git a/qiskit_algorithms/gradients/qfi_result.py b/qiskit_algorithms/gradients/qfi_result.py index 47a04021..9486c990 100644 --- a/qiskit_algorithms/gradients/qfi_result.py +++ b/qiskit_algorithms/gradients/qfi_result.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/gradients/reverse/__init__.py b/qiskit_algorithms/gradients/reverse/__init__.py index fdb172d3..ee39256f 100644 --- a/qiskit_algorithms/gradients/reverse/__init__.py +++ b/qiskit_algorithms/gradients/reverse/__init__.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/gradients/reverse/bind.py b/qiskit_algorithms/gradients/reverse/bind.py index 5380090b..c9a2c949 100644 --- a/qiskit_algorithms/gradients/reverse/bind.py +++ b/qiskit_algorithms/gradients/reverse/bind.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/qiskit_algorithms/gradients/reverse/derive_circuit.py b/qiskit_algorithms/gradients/reverse/derive_circuit.py index 96a2bead..57774fc3 100644 --- a/qiskit_algorithms/gradients/reverse/derive_circuit.py +++ b/qiskit_algorithms/gradients/reverse/derive_circuit.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/qiskit_algorithms/gradients/reverse/reverse_gradient.py b/qiskit_algorithms/gradients/reverse/reverse_gradient.py index c3bf8005..ea4c3d58 100644 --- a/qiskit_algorithms/gradients/reverse/reverse_gradient.py +++ b/qiskit_algorithms/gradients/reverse/reverse_gradient.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/gradients/reverse/reverse_qgt.py b/qiskit_algorithms/gradients/reverse/reverse_qgt.py index 09dfcac7..78bd8342 100644 --- a/qiskit_algorithms/gradients/reverse/reverse_qgt.py +++ b/qiskit_algorithms/gradients/reverse/reverse_qgt.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/gradients/reverse/split_circuits.py b/qiskit_algorithms/gradients/reverse/split_circuits.py index b2bdf2b5..c5b44463 100644 --- a/qiskit_algorithms/gradients/reverse/split_circuits.py +++ b/qiskit_algorithms/gradients/reverse/split_circuits.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/gradients/spsa/__init__.py b/qiskit_algorithms/gradients/spsa/__init__.py index 8f5fd2a3..adb31296 100644 --- a/qiskit_algorithms/gradients/spsa/__init__.py +++ b/qiskit_algorithms/gradients/spsa/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023 # diff --git a/qiskit_algorithms/gradients/spsa/spsa_estimator_gradient.py b/qiskit_algorithms/gradients/spsa/spsa_estimator_gradient.py index 021bcb58..aa324a60 100644 --- a/qiskit_algorithms/gradients/spsa/spsa_estimator_gradient.py +++ b/qiskit_algorithms/gradients/spsa/spsa_estimator_gradient.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/gradients/spsa/spsa_sampler_gradient.py b/qiskit_algorithms/gradients/spsa/spsa_sampler_gradient.py index be23274d..8a83a64a 100644 --- a/qiskit_algorithms/gradients/spsa/spsa_sampler_gradient.py +++ b/qiskit_algorithms/gradients/spsa/spsa_sampler_gradient.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/gradients/utils.py b/qiskit_algorithms/gradients/utils.py index fa2433f9..d9207683 100644 --- a/qiskit_algorithms/gradients/utils.py +++ b/qiskit_algorithms/gradients/utils.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/qiskit_algorithms/list_or_dict.py b/qiskit_algorithms/list_or_dict.py index 95314dd7..658459b0 100644 --- a/qiskit_algorithms/list_or_dict.py +++ b/qiskit_algorithms/list_or_dict.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/minimum_eigensolvers/__init__.py b/qiskit_algorithms/minimum_eigensolvers/__init__.py index 58d06e9c..d312f590 100644 --- a/qiskit_algorithms/minimum_eigensolvers/__init__.py +++ b/qiskit_algorithms/minimum_eigensolvers/__init__.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/minimum_eigensolvers/adapt_vqe.py b/qiskit_algorithms/minimum_eigensolvers/adapt_vqe.py index a78fd52a..c272d927 100644 --- a/qiskit_algorithms/minimum_eigensolvers/adapt_vqe.py +++ b/qiskit_algorithms/minimum_eigensolvers/adapt_vqe.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/qiskit_algorithms/minimum_eigensolvers/diagonal_estimator.py b/qiskit_algorithms/minimum_eigensolvers/diagonal_estimator.py index 69de3ef7..fc7ac84b 100644 --- a/qiskit_algorithms/minimum_eigensolvers/diagonal_estimator.py +++ b/qiskit_algorithms/minimum_eigensolvers/diagonal_estimator.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/minimum_eigensolvers/minimum_eigensolver.py b/qiskit_algorithms/minimum_eigensolvers/minimum_eigensolver.py index 26087c05..a1f4463f 100644 --- a/qiskit_algorithms/minimum_eigensolvers/minimum_eigensolver.py +++ b/qiskit_algorithms/minimum_eigensolvers/minimum_eigensolver.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/minimum_eigensolvers/numpy_minimum_eigensolver.py b/qiskit_algorithms/minimum_eigensolvers/numpy_minimum_eigensolver.py index 93dc328b..2cc40915 100644 --- a/qiskit_algorithms/minimum_eigensolvers/numpy_minimum_eigensolver.py +++ b/qiskit_algorithms/minimum_eigensolvers/numpy_minimum_eigensolver.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/minimum_eigensolvers/qaoa.py b/qiskit_algorithms/minimum_eigensolvers/qaoa.py index b36f1fdd..d53882c6 100644 --- a/qiskit_algorithms/minimum_eigensolvers/qaoa.py +++ b/qiskit_algorithms/minimum_eigensolvers/qaoa.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/minimum_eigensolvers/sampling_mes.py b/qiskit_algorithms/minimum_eigensolvers/sampling_mes.py index e193f53c..b42f6cdb 100644 --- a/qiskit_algorithms/minimum_eigensolvers/sampling_mes.py +++ b/qiskit_algorithms/minimum_eigensolvers/sampling_mes.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/minimum_eigensolvers/sampling_vqe.py b/qiskit_algorithms/minimum_eigensolvers/sampling_vqe.py index dfe40d2d..5562e726 100644 --- a/qiskit_algorithms/minimum_eigensolvers/sampling_vqe.py +++ b/qiskit_algorithms/minimum_eigensolvers/sampling_vqe.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/minimum_eigensolvers/vqe.py b/qiskit_algorithms/minimum_eigensolvers/vqe.py index 1ad07c81..f81827f3 100644 --- a/qiskit_algorithms/minimum_eigensolvers/vqe.py +++ b/qiskit_algorithms/minimum_eigensolvers/vqe.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/observables_evaluator.py b/qiskit_algorithms/observables_evaluator.py index 90fd5885..714ef81e 100644 --- a/qiskit_algorithms/observables_evaluator.py +++ b/qiskit_algorithms/observables_evaluator.py @@ -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/qiskit_algorithms/optimizers/__init__.py b/qiskit_algorithms/optimizers/__init__.py index f1046e50..b40144c9 100644 --- a/qiskit_algorithms/optimizers/__init__.py +++ b/qiskit_algorithms/optimizers/__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/qiskit_algorithms/optimizers/adam_amsgrad.py b/qiskit_algorithms/optimizers/adam_amsgrad.py index f72a6ec0..6deb5c0f 100644 --- a/qiskit_algorithms/optimizers/adam_amsgrad.py +++ b/qiskit_algorithms/optimizers/adam_amsgrad.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_algorithms/optimizers/aqgd.py b/qiskit_algorithms/optimizers/aqgd.py index bedc5230..060345eb 100644 --- a/qiskit_algorithms/optimizers/aqgd.py +++ b/qiskit_algorithms/optimizers/aqgd.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_algorithms/optimizers/bobyqa.py b/qiskit_algorithms/optimizers/bobyqa.py index 96822d02..0cb1ea7a 100644 --- a/qiskit_algorithms/optimizers/bobyqa.py +++ b/qiskit_algorithms/optimizers/bobyqa.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2020. +# (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_algorithms/optimizers/cg.py b/qiskit_algorithms/optimizers/cg.py index 670b4ac3..e6976166 100644 --- a/qiskit_algorithms/optimizers/cg.py +++ b/qiskit_algorithms/optimizers/cg.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/cobyla.py b/qiskit_algorithms/optimizers/cobyla.py index 72a09383..f5eaa040 100644 --- a/qiskit_algorithms/optimizers/cobyla.py +++ b/qiskit_algorithms/optimizers/cobyla.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/gradient_descent.py b/qiskit_algorithms/optimizers/gradient_descent.py index 0f744639..8ac10fe9 100644 --- a/qiskit_algorithms/optimizers/gradient_descent.py +++ b/qiskit_algorithms/optimizers/gradient_descent.py @@ -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/qiskit_algorithms/optimizers/gsls.py b/qiskit_algorithms/optimizers/gsls.py index 6c1446f8..c5832c4d 100644 --- a/qiskit_algorithms/optimizers/gsls.py +++ b/qiskit_algorithms/optimizers/gsls.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_algorithms/optimizers/imfil.py b/qiskit_algorithms/optimizers/imfil.py index 12cd0945..c4d183bc 100644 --- a/qiskit_algorithms/optimizers/imfil.py +++ b/qiskit_algorithms/optimizers/imfil.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2020. +# (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_algorithms/optimizers/l_bfgs_b.py b/qiskit_algorithms/optimizers/l_bfgs_b.py index 3c2d7a61..1c529e0a 100644 --- a/qiskit_algorithms/optimizers/l_bfgs_b.py +++ b/qiskit_algorithms/optimizers/l_bfgs_b.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/nelder_mead.py b/qiskit_algorithms/optimizers/nelder_mead.py index ff9d8708..a8c3a264 100644 --- a/qiskit_algorithms/optimizers/nelder_mead.py +++ b/qiskit_algorithms/optimizers/nelder_mead.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/nft.py b/qiskit_algorithms/optimizers/nft.py index 07827007..504e5f73 100644 --- a/qiskit_algorithms/optimizers/nft.py +++ b/qiskit_algorithms/optimizers/nft.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2020. +# (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_algorithms/optimizers/nlopts/__init__.py b/qiskit_algorithms/optimizers/nlopts/__init__.py index e3165bc0..8aea0aea 100644 --- a/qiskit_algorithms/optimizers/nlopts/__init__.py +++ b/qiskit_algorithms/optimizers/nlopts/__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/qiskit_algorithms/optimizers/nlopts/crs.py b/qiskit_algorithms/optimizers/nlopts/crs.py index 77eb67b2..ec30e236 100644 --- a/qiskit_algorithms/optimizers/nlopts/crs.py +++ b/qiskit_algorithms/optimizers/nlopts/crs.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/nlopts/direct_l.py b/qiskit_algorithms/optimizers/nlopts/direct_l.py index e7ed9be3..9ee35067 100644 --- a/qiskit_algorithms/optimizers/nlopts/direct_l.py +++ b/qiskit_algorithms/optimizers/nlopts/direct_l.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/nlopts/direct_l_rand.py b/qiskit_algorithms/optimizers/nlopts/direct_l_rand.py index 15172ef0..3c4a90da 100644 --- a/qiskit_algorithms/optimizers/nlopts/direct_l_rand.py +++ b/qiskit_algorithms/optimizers/nlopts/direct_l_rand.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/nlopts/esch.py b/qiskit_algorithms/optimizers/nlopts/esch.py index 7e754f94..f2687902 100644 --- a/qiskit_algorithms/optimizers/nlopts/esch.py +++ b/qiskit_algorithms/optimizers/nlopts/esch.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/nlopts/isres.py b/qiskit_algorithms/optimizers/nlopts/isres.py index 1c37a940..1af1f501 100644 --- a/qiskit_algorithms/optimizers/nlopts/isres.py +++ b/qiskit_algorithms/optimizers/nlopts/isres.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/nlopts/nloptimizer.py b/qiskit_algorithms/optimizers/nlopts/nloptimizer.py index b03ef8a5..22bbf85f 100644 --- a/qiskit_algorithms/optimizers/nlopts/nloptimizer.py +++ b/qiskit_algorithms/optimizers/nlopts/nloptimizer.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/optimizer.py b/qiskit_algorithms/optimizers/optimizer.py index 601f8d98..cf6ef062 100644 --- a/qiskit_algorithms/optimizers/optimizer.py +++ b/qiskit_algorithms/optimizers/optimizer.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/optimizer_utils/__init__.py b/qiskit_algorithms/optimizers/optimizer_utils/__init__.py index 3e476318..faa3f6d5 100644 --- a/qiskit_algorithms/optimizers/optimizer_utils/__init__.py +++ b/qiskit_algorithms/optimizers/optimizer_utils/__init__.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/optimizers/optimizer_utils/learning_rate.py b/qiskit_algorithms/optimizers/optimizer_utils/learning_rate.py index 7bfea636..3cb07077 100644 --- a/qiskit_algorithms/optimizers/optimizer_utils/learning_rate.py +++ b/qiskit_algorithms/optimizers/optimizer_utils/learning_rate.py @@ -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/qiskit_algorithms/optimizers/p_bfgs.py b/qiskit_algorithms/optimizers/p_bfgs.py index b06e5f70..93a10a37 100644 --- a/qiskit_algorithms/optimizers/p_bfgs.py +++ b/qiskit_algorithms/optimizers/p_bfgs.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_algorithms/optimizers/powell.py b/qiskit_algorithms/optimizers/powell.py index de8cbb1b..1b53131d 100644 --- a/qiskit_algorithms/optimizers/powell.py +++ b/qiskit_algorithms/optimizers/powell.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/qnspsa.py b/qiskit_algorithms/optimizers/qnspsa.py index 3e3a9838..a3acc121 100644 --- a/qiskit_algorithms/optimizers/qnspsa.py +++ b/qiskit_algorithms/optimizers/qnspsa.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_algorithms/optimizers/scipy_optimizer.py b/qiskit_algorithms/optimizers/scipy_optimizer.py index 4c628a4a..e2de3960 100644 --- a/qiskit_algorithms/optimizers/scipy_optimizer.py +++ b/qiskit_algorithms/optimizers/scipy_optimizer.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/slsqp.py b/qiskit_algorithms/optimizers/slsqp.py index d02eb790..20eb49ef 100644 --- a/qiskit_algorithms/optimizers/slsqp.py +++ b/qiskit_algorithms/optimizers/slsqp.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/snobfit.py b/qiskit_algorithms/optimizers/snobfit.py index ccc25f48..faf54a99 100644 --- a/qiskit_algorithms/optimizers/snobfit.py +++ b/qiskit_algorithms/optimizers/snobfit.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2020. +# (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_algorithms/optimizers/spsa.py b/qiskit_algorithms/optimizers/spsa.py index 6814b99b..562e0656 100644 --- a/qiskit_algorithms/optimizers/spsa.py +++ b/qiskit_algorithms/optimizers/spsa.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_algorithms/optimizers/steppable_optimizer.py b/qiskit_algorithms/optimizers/steppable_optimizer.py index 6c6105af..26c9331b 100644 --- a/qiskit_algorithms/optimizers/steppable_optimizer.py +++ b/qiskit_algorithms/optimizers/steppable_optimizer.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/optimizers/tnc.py b/qiskit_algorithms/optimizers/tnc.py index 06174e51..1d9665b5 100644 --- a/qiskit_algorithms/optimizers/tnc.py +++ b/qiskit_algorithms/optimizers/tnc.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/optimizers/umda.py b/qiskit_algorithms/optimizers/umda.py index 4ed463f1..e350cbf5 100644 --- a/qiskit_algorithms/optimizers/umda.py +++ b/qiskit_algorithms/optimizers/umda.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2018, 2020. +# (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_algorithms/phase_estimators/__init__.py b/qiskit_algorithms/phase_estimators/__init__.py index 2ef5b089..6cbd6193 100644 --- a/qiskit_algorithms/phase_estimators/__init__.py +++ b/qiskit_algorithms/phase_estimators/__init__.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020. +# (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_algorithms/phase_estimators/hamiltonian_phase_estimation.py b/qiskit_algorithms/phase_estimators/hamiltonian_phase_estimation.py index d6bb8646..9f11c2b3 100644 --- a/qiskit_algorithms/phase_estimators/hamiltonian_phase_estimation.py +++ b/qiskit_algorithms/phase_estimators/hamiltonian_phase_estimation.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_algorithms/phase_estimators/hamiltonian_phase_estimation_result.py b/qiskit_algorithms/phase_estimators/hamiltonian_phase_estimation_result.py index 28ebe320..4dab6e97 100644 --- a/qiskit_algorithms/phase_estimators/hamiltonian_phase_estimation_result.py +++ b/qiskit_algorithms/phase_estimators/hamiltonian_phase_estimation_result.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020. +# (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_algorithms/phase_estimators/ipe.py b/qiskit_algorithms/phase_estimators/ipe.py index 60472477..8bc14094 100644 --- a/qiskit_algorithms/phase_estimators/ipe.py +++ b/qiskit_algorithms/phase_estimators/ipe.py @@ -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/qiskit_algorithms/phase_estimators/phase_estimation.py b/qiskit_algorithms/phase_estimators/phase_estimation.py index 03fa1b51..1e10405b 100644 --- a/qiskit_algorithms/phase_estimators/phase_estimation.py +++ b/qiskit_algorithms/phase_estimators/phase_estimation.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_algorithms/phase_estimators/phase_estimation_result.py b/qiskit_algorithms/phase_estimators/phase_estimation_result.py index 8d87571a..83b5c347 100644 --- a/qiskit_algorithms/phase_estimators/phase_estimation_result.py +++ b/qiskit_algorithms/phase_estimators/phase_estimation_result.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020. +# (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_algorithms/phase_estimators/phase_estimation_scale.py b/qiskit_algorithms/phase_estimators/phase_estimation_scale.py index 13206009..76b96874 100644 --- a/qiskit_algorithms/phase_estimators/phase_estimation_scale.py +++ b/qiskit_algorithms/phase_estimators/phase_estimation_scale.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2020. +# (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_algorithms/phase_estimators/phase_estimator.py b/qiskit_algorithms/phase_estimators/phase_estimator.py index 884307fb..1f0f5002 100644 --- a/qiskit_algorithms/phase_estimators/phase_estimator.py +++ b/qiskit_algorithms/phase_estimators/phase_estimator.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_algorithms/state_fidelities/__init__.py b/qiskit_algorithms/state_fidelities/__init__.py index df97b09b..9354ce30 100644 --- a/qiskit_algorithms/state_fidelities/__init__.py +++ b/qiskit_algorithms/state_fidelities/__init__.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/state_fidelities/base_state_fidelity.py b/qiskit_algorithms/state_fidelities/base_state_fidelity.py index 9395889b..fc98febb 100644 --- a/qiskit_algorithms/state_fidelities/base_state_fidelity.py +++ b/qiskit_algorithms/state_fidelities/base_state_fidelity.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/state_fidelities/compute_uncompute.py b/qiskit_algorithms/state_fidelities/compute_uncompute.py index be0879fa..1b41346b 100644 --- a/qiskit_algorithms/state_fidelities/compute_uncompute.py +++ b/qiskit_algorithms/state_fidelities/compute_uncompute.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/qiskit_algorithms/state_fidelities/state_fidelity_result.py b/qiskit_algorithms/state_fidelities/state_fidelity_result.py index 88dca035..6dc26dbf 100644 --- a/qiskit_algorithms/state_fidelities/state_fidelity_result.py +++ b/qiskit_algorithms/state_fidelities/state_fidelity_result.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/time_evolvers/__init__.py b/qiskit_algorithms/time_evolvers/__init__.py index c2ad1fe7..ed30cf46 100644 --- a/qiskit_algorithms/time_evolvers/__init__.py +++ b/qiskit_algorithms/time_evolvers/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/qiskit_algorithms/time_evolvers/classical_methods/__init__.py b/qiskit_algorithms/time_evolvers/classical_methods/__init__.py index 266b349f..80de8257 100644 --- a/qiskit_algorithms/time_evolvers/classical_methods/__init__.py +++ b/qiskit_algorithms/time_evolvers/classical_methods/__init__.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/time_evolvers/classical_methods/evolve.py b/qiskit_algorithms/time_evolvers/classical_methods/evolve.py index c69437bf..3a58e1d3 100644 --- a/qiskit_algorithms/time_evolvers/classical_methods/evolve.py +++ b/qiskit_algorithms/time_evolvers/classical_methods/evolve.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/time_evolvers/classical_methods/scipy_imaginary_evolver.py b/qiskit_algorithms/time_evolvers/classical_methods/scipy_imaginary_evolver.py index f181da10..b4ca9f5b 100644 --- a/qiskit_algorithms/time_evolvers/classical_methods/scipy_imaginary_evolver.py +++ b/qiskit_algorithms/time_evolvers/classical_methods/scipy_imaginary_evolver.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/time_evolvers/classical_methods/scipy_real_evolver.py b/qiskit_algorithms/time_evolvers/classical_methods/scipy_real_evolver.py index b01c1620..63f2ce3e 100644 --- a/qiskit_algorithms/time_evolvers/classical_methods/scipy_real_evolver.py +++ b/qiskit_algorithms/time_evolvers/classical_methods/scipy_real_evolver.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/time_evolvers/imaginary_time_evolver.py b/qiskit_algorithms/time_evolvers/imaginary_time_evolver.py index e62d02e5..477dc8e4 100644 --- a/qiskit_algorithms/time_evolvers/imaginary_time_evolver.py +++ b/qiskit_algorithms/time_evolvers/imaginary_time_evolver.py @@ -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/qiskit_algorithms/time_evolvers/pvqd/__init__.py b/qiskit_algorithms/time_evolvers/pvqd/__init__.py index 9377ce63..6a868c13 100644 --- a/qiskit_algorithms/time_evolvers/pvqd/__init__.py +++ b/qiskit_algorithms/time_evolvers/pvqd/__init__.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/time_evolvers/pvqd/pvqd.py b/qiskit_algorithms/time_evolvers/pvqd/pvqd.py index 89a0a3fa..fea0a549 100644 --- a/qiskit_algorithms/time_evolvers/pvqd/pvqd.py +++ b/qiskit_algorithms/time_evolvers/pvqd/pvqd.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2022, 2023. +# (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_algorithms/time_evolvers/pvqd/pvqd_result.py b/qiskit_algorithms/time_evolvers/pvqd/pvqd_result.py index 65c2a8b1..8b1abc09 100644 --- a/qiskit_algorithms/time_evolvers/pvqd/pvqd_result.py +++ b/qiskit_algorithms/time_evolvers/pvqd/pvqd_result.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/time_evolvers/pvqd/utils.py b/qiskit_algorithms/time_evolvers/pvqd/utils.py index 9b3f330d..39c02cbb 100644 --- a/qiskit_algorithms/time_evolvers/pvqd/utils.py +++ b/qiskit_algorithms/time_evolvers/pvqd/utils.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/time_evolvers/real_time_evolver.py b/qiskit_algorithms/time_evolvers/real_time_evolver.py index 585da953..eee98193 100644 --- a/qiskit_algorithms/time_evolvers/real_time_evolver.py +++ b/qiskit_algorithms/time_evolvers/real_time_evolver.py @@ -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/qiskit_algorithms/time_evolvers/time_evolution_problem.py b/qiskit_algorithms/time_evolvers/time_evolution_problem.py index 4e58d350..1b91d517 100644 --- a/qiskit_algorithms/time_evolvers/time_evolution_problem.py +++ b/qiskit_algorithms/time_evolvers/time_evolution_problem.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/qiskit_algorithms/time_evolvers/time_evolution_result.py b/qiskit_algorithms/time_evolvers/time_evolution_result.py index ad142ddd..f3e62d81 100644 --- a/qiskit_algorithms/time_evolvers/time_evolution_result.py +++ b/qiskit_algorithms/time_evolvers/time_evolution_result.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/qiskit_algorithms/time_evolvers/trotterization/__init__.py b/qiskit_algorithms/time_evolvers/trotterization/__init__.py index 1287ec37..07ec3ba2 100644 --- a/qiskit_algorithms/time_evolvers/trotterization/__init__.py +++ b/qiskit_algorithms/time_evolvers/trotterization/__init__.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/time_evolvers/trotterization/trotter_qrte.py b/qiskit_algorithms/time_evolvers/trotterization/trotter_qrte.py index 19a66bc3..5d401f80 100644 --- a/qiskit_algorithms/time_evolvers/trotterization/trotter_qrte.py +++ b/qiskit_algorithms/time_evolvers/trotterization/trotter_qrte.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/qiskit_algorithms/time_evolvers/variational/__init__.py b/qiskit_algorithms/time_evolvers/variational/__init__.py index 67e7e528..0210fb92 100644 --- a/qiskit_algorithms/time_evolvers/variational/__init__.py +++ b/qiskit_algorithms/time_evolvers/variational/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/solvers/__init__.py b/qiskit_algorithms/time_evolvers/variational/solvers/__init__.py index 13b92ac2..5c4fb272 100644 --- a/qiskit_algorithms/time_evolvers/variational/solvers/__init__.py +++ b/qiskit_algorithms/time_evolvers/variational/solvers/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/solvers/ode/__init__.py b/qiskit_algorithms/time_evolvers/variational/solvers/ode/__init__.py index 06684cb2..da300035 100644 --- a/qiskit_algorithms/time_evolvers/variational/solvers/ode/__init__.py +++ b/qiskit_algorithms/time_evolvers/variational/solvers/ode/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/solvers/ode/abstract_ode_function.py b/qiskit_algorithms/time_evolvers/variational/solvers/ode/abstract_ode_function.py index b94ded55..05bfe6a3 100644 --- a/qiskit_algorithms/time_evolvers/variational/solvers/ode/abstract_ode_function.py +++ b/qiskit_algorithms/time_evolvers/variational/solvers/ode/abstract_ode_function.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/solvers/ode/forward_euler_solver.py b/qiskit_algorithms/time_evolvers/variational/solvers/ode/forward_euler_solver.py index d48ee5b6..1edde617 100644 --- a/qiskit_algorithms/time_evolvers/variational/solvers/ode/forward_euler_solver.py +++ b/qiskit_algorithms/time_evolvers/variational/solvers/ode/forward_euler_solver.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/solvers/ode/ode_function.py b/qiskit_algorithms/time_evolvers/variational/solvers/ode/ode_function.py index a7d8453c..db15e01c 100644 --- a/qiskit_algorithms/time_evolvers/variational/solvers/ode/ode_function.py +++ b/qiskit_algorithms/time_evolvers/variational/solvers/ode/ode_function.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/solvers/ode/ode_function_factory.py b/qiskit_algorithms/time_evolvers/variational/solvers/ode/ode_function_factory.py index 0d094c4b..6d48e8e4 100644 --- a/qiskit_algorithms/time_evolvers/variational/solvers/ode/ode_function_factory.py +++ b/qiskit_algorithms/time_evolvers/variational/solvers/ode/ode_function_factory.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/solvers/ode/var_qte_ode_solver.py b/qiskit_algorithms/time_evolvers/variational/solvers/ode/var_qte_ode_solver.py index aad1d961..583f5348 100644 --- a/qiskit_algorithms/time_evolvers/variational/solvers/ode/var_qte_ode_solver.py +++ b/qiskit_algorithms/time_evolvers/variational/solvers/ode/var_qte_ode_solver.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/solvers/var_qte_linear_solver.py b/qiskit_algorithms/time_evolvers/variational/solvers/var_qte_linear_solver.py index 6bd5cc84..c2c96c75 100644 --- a/qiskit_algorithms/time_evolvers/variational/solvers/var_qte_linear_solver.py +++ b/qiskit_algorithms/time_evolvers/variational/solvers/var_qte_linear_solver.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/var_qite.py b/qiskit_algorithms/time_evolvers/variational/var_qite.py index af771429..c44219ce 100644 --- a/qiskit_algorithms/time_evolvers/variational/var_qite.py +++ b/qiskit_algorithms/time_evolvers/variational/var_qite.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/var_qrte.py b/qiskit_algorithms/time_evolvers/variational/var_qrte.py index 7454cf10..21f8cce0 100644 --- a/qiskit_algorithms/time_evolvers/variational/var_qrte.py +++ b/qiskit_algorithms/time_evolvers/variational/var_qrte.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/var_qte.py b/qiskit_algorithms/time_evolvers/variational/var_qte.py index f0d33a6b..5ad157fc 100644 --- a/qiskit_algorithms/time_evolvers/variational/var_qte.py +++ b/qiskit_algorithms/time_evolvers/variational/var_qte.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/var_qte_result.py b/qiskit_algorithms/time_evolvers/variational/var_qte_result.py index 3efb5e7c..64d9a9e0 100644 --- a/qiskit_algorithms/time_evolvers/variational/var_qte_result.py +++ b/qiskit_algorithms/time_evolvers/variational/var_qte_result.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/variational_principles/__init__.py b/qiskit_algorithms/time_evolvers/variational/variational_principles/__init__.py index be04c03d..d659e52d 100644 --- a/qiskit_algorithms/time_evolvers/variational/variational_principles/__init__.py +++ b/qiskit_algorithms/time_evolvers/variational/variational_principles/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/variational_principles/imaginary_mc_lachlan_principle.py b/qiskit_algorithms/time_evolvers/variational/variational_principles/imaginary_mc_lachlan_principle.py index 09e1e03d..bfa29efb 100644 --- a/qiskit_algorithms/time_evolvers/variational/variational_principles/imaginary_mc_lachlan_principle.py +++ b/qiskit_algorithms/time_evolvers/variational/variational_principles/imaginary_mc_lachlan_principle.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/variational_principles/imaginary_variational_principle.py b/qiskit_algorithms/time_evolvers/variational/variational_principles/imaginary_variational_principle.py index 1255e52b..0faa07e9 100644 --- a/qiskit_algorithms/time_evolvers/variational/variational_principles/imaginary_variational_principle.py +++ b/qiskit_algorithms/time_evolvers/variational/variational_principles/imaginary_variational_principle.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/variational_principles/real_mc_lachlan_principle.py b/qiskit_algorithms/time_evolvers/variational/variational_principles/real_mc_lachlan_principle.py index d7a946b8..822e6cc9 100644 --- a/qiskit_algorithms/time_evolvers/variational/variational_principles/real_mc_lachlan_principle.py +++ b/qiskit_algorithms/time_evolvers/variational/variational_principles/real_mc_lachlan_principle.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/variational_principles/real_variational_principle.py b/qiskit_algorithms/time_evolvers/variational/variational_principles/real_variational_principle.py index a93c5067..37a8f4d8 100644 --- a/qiskit_algorithms/time_evolvers/variational/variational_principles/real_variational_principle.py +++ b/qiskit_algorithms/time_evolvers/variational/variational_principles/real_variational_principle.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/time_evolvers/variational/variational_principles/variational_principle.py b/qiskit_algorithms/time_evolvers/variational/variational_principles/variational_principle.py index be168491..8470eb5b 100644 --- a/qiskit_algorithms/time_evolvers/variational/variational_principles/variational_principle.py +++ b/qiskit_algorithms/time_evolvers/variational/variational_principles/variational_principle.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/qiskit_algorithms/utils/__init__.py b/qiskit_algorithms/utils/__init__.py index e44acec5..ef185f8f 100644 --- a/qiskit_algorithms/utils/__init__.py +++ b/qiskit_algorithms/utils/__init__.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/utils/optionals.py b/qiskit_algorithms/utils/optionals.py index 0a644985..472157be 100644 --- a/qiskit_algorithms/utils/optionals.py +++ b/qiskit_algorithms/utils/optionals.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/utils/set_batching.py b/qiskit_algorithms/utils/set_batching.py index 82b0da11..a3a45446 100644 --- a/qiskit_algorithms/utils/set_batching.py +++ b/qiskit_algorithms/utils/set_batching.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/utils/validate_bounds.py b/qiskit_algorithms/utils/validate_bounds.py index 747e68f7..f0a80121 100644 --- a/qiskit_algorithms/utils/validate_bounds.py +++ b/qiskit_algorithms/utils/validate_bounds.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/utils/validate_initial_point.py b/qiskit_algorithms/utils/validate_initial_point.py index 15e871cd..c486f9f4 100644 --- a/qiskit_algorithms/utils/validate_initial_point.py +++ b/qiskit_algorithms/utils/validate_initial_point.py @@ -1,6 +1,6 @@ -# 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/qiskit_algorithms/variational_algorithm.py b/qiskit_algorithms/variational_algorithm.py index 1b8b2ec6..88b19c7e 100644 --- a/qiskit_algorithms/variational_algorithm.py +++ b/qiskit_algorithms/variational_algorithm.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_algorithms/version.py b/qiskit_algorithms/version.py index 10039681..1d61d83f 100644 --- a/qiskit_algorithms/version.py +++ b/qiskit_algorithms/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 510453d0..d7e89838 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. # @@ -16,12 +16,16 @@ import os import re -with open('requirements.txt') as f: +with open("requirements.txt") as f: REQUIREMENTS = f.read().splitlines() -if not hasattr(setuptools, 'find_namespace_packages') or not inspect.ismethod(setuptools.find_namespace_packages): - print("Your setuptools version:'{}' does not support PEP 420 (find_namespace_packages). " - "Upgrade it to version >='40.1.0' and repeat install.".format(setuptools.__version__)) +if not hasattr(setuptools, "find_namespace_packages") or not inspect.ismethod( + setuptools.find_namespace_packages +): + print( + "Your setuptools version:'{}' does not support PEP 420 (find_namespace_packages). " + "Upgrade it to version >='40.1.0' and repeat install.".format(setuptools.__version__) + ) sys.exit(1) VERSION_PATH = os.path.join(os.path.dirname(__file__), "qiskit_algorithms", "VERSION.txt") @@ -39,15 +43,15 @@ ) setuptools.setup( - name='qiskit-algorithms', + name="qiskit-algorithms", version=VERSION, - description='Qiskit Algorithms: A library of quantum computing algorithms', + description="Qiskit Algorithms: A library of quantum computing algorithms", long_description=README, long_description_content_type="text/markdown", - url='https://github.com/qiskit-community/qiskit-algorithms', - author='Qiskit Algorithms Development Team', - author_email='hello@qiskit.org', - license='Apache-2.0', + url="https://github.com/qiskit-community/qiskit-algorithms", + author="Qiskit Algorithms Development Team", + author_email="hello@qiskit.org", + license="Apache-2.0", classifiers=[ "Environment :: Console", "License :: OSI Approved :: Apache Software License", @@ -61,10 +65,10 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", - "Topic :: Scientific/Engineering" + "Topic :: Scientific/Engineering", ], - keywords='qiskit sdk quantum algorithms', - packages=setuptools.find_packages(include=['qiskit_algorithms','qiskit_algorithms.*']), + keywords="qiskit sdk quantum algorithms", + packages=setuptools.find_packages(include=["qiskit_algorithms", "qiskit_algorithms.*"]), install_requires=REQUIREMENTS, include_package_data=True, python_requires=">=3.8", @@ -73,5 +77,5 @@ "Documentation": "https://qiskit.org/ecosystem/algorithms/", "Source Code": "https://github.com/qiskit-community/qiskit-algorithms", }, - zip_safe=False + zip_safe=False, ) diff --git a/test/__init__.py b/test/__init__.py index 5303c5b1..7c8e5483 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, 2020. +# (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/algorithms_test_case.py b/test/algorithms_test_case.py index 8fc9effd..3b26e767 100644 --- a/test/algorithms_test_case.py +++ b/test/algorithms_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, 2020. +# (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/eigensolvers/__init__.py b/test/eigensolvers/__init__.py index e2113e5c..d1d6944d 100644 --- a/test/eigensolvers/__init__.py +++ b/test/eigensolvers/__init__.py @@ -1,6 +1,6 @@ -# 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/test/eigensolvers/test_numpy_eigensolver.py b/test/eigensolvers/test_numpy_eigensolver.py index 2a49fd72..744c3875 100644 --- a/test/eigensolvers/test_numpy_eigensolver.py +++ b/test/eigensolvers/test_numpy_eigensolver.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/eigensolvers/test_vqd.py b/test/eigensolvers/test_vqd.py index 1cc10e52..ba7ee55b 100644 --- a/test/eigensolvers/test_vqd.py +++ b/test/eigensolvers/test_vqd.py @@ -1,6 +1,6 @@ -# 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/test/gradients/__init__.py b/test/gradients/__init__.py index 756b2a26..3f5bc214 100644 --- a/test/gradients/__init__.py +++ b/test/gradients/__init__.py @@ -1,6 +1,6 @@ -# 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/test/gradients/logging_primitives.py b/test/gradients/logging_primitives.py index ef2cad9e..e9a9f21c 100644 --- a/test/gradients/logging_primitives.py +++ b/test/gradients/logging_primitives.py @@ -1,6 +1,6 @@ -# 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/test/gradients/test_estimator_gradient.py b/test/gradients/test_estimator_gradient.py index 7705217a..cc05a741 100644 --- a/test/gradients/test_estimator_gradient.py +++ b/test/gradients/test_estimator_gradient.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/gradients/test_qfi.py b/test/gradients/test_qfi.py index 42705e10..70946a8e 100644 --- a/test/gradients/test_qfi.py +++ b/test/gradients/test_qfi.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/test/gradients/test_qgt.py b/test/gradients/test_qgt.py index 94e13bd7..91fc818a 100644 --- a/test/gradients/test_qgt.py +++ b/test/gradients/test_qgt.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/test/gradients/test_sampler_gradient.py b/test/gradients/test_sampler_gradient.py index 6bacdcb5..154e04cd 100644 --- a/test/gradients/test_sampler_gradient.py +++ b/test/gradients/test_sampler_gradient.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/minimum_eigensolvers/__init__.py b/test/minimum_eigensolvers/__init__.py index fdb172d3..ee39256f 100644 --- a/test/minimum_eigensolvers/__init__.py +++ b/test/minimum_eigensolvers/__init__.py @@ -1,6 +1,6 @@ -# 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/test/minimum_eigensolvers/test_adapt_vqe.py b/test/minimum_eigensolvers/test_adapt_vqe.py index b7395b9e..31807eae 100644 --- a/test/minimum_eigensolvers/test_adapt_vqe.py +++ b/test/minimum_eigensolvers/test_adapt_vqe.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/test/minimum_eigensolvers/test_numpy_minimum_eigensolver.py b/test/minimum_eigensolvers/test_numpy_minimum_eigensolver.py index 37206bc0..dcc63e36 100644 --- a/test/minimum_eigensolvers/test_numpy_minimum_eigensolver.py +++ b/test/minimum_eigensolvers/test_numpy_minimum_eigensolver.py @@ -1,6 +1,6 @@ -# 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/test/minimum_eigensolvers/test_qaoa.py b/test/minimum_eigensolvers/test_qaoa.py index aa92255d..42770278 100644 --- a/test/minimum_eigensolvers/test_qaoa.py +++ b/test/minimum_eigensolvers/test_qaoa.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/test/minimum_eigensolvers/test_qaoa_opflow.py b/test/minimum_eigensolvers/test_qaoa_opflow.py index 16555eb6..03be3937 100644 --- a/test/minimum_eigensolvers/test_qaoa_opflow.py +++ b/test/minimum_eigensolvers/test_qaoa_opflow.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/test/minimum_eigensolvers/test_sampling_vqe.py b/test/minimum_eigensolvers/test_sampling_vqe.py index f7e56629..ad6442ad 100644 --- a/test/minimum_eigensolvers/test_sampling_vqe.py +++ b/test/minimum_eigensolvers/test_sampling_vqe.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/test/minimum_eigensolvers/test_vqe.py b/test/minimum_eigensolvers/test_vqe.py index b0b6c7b8..0629a320 100644 --- a/test/minimum_eigensolvers/test_vqe.py +++ b/test/minimum_eigensolvers/test_vqe.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/test/optimizers/__init__.py b/test/optimizers/__init__.py index c6268f02..d68c9852 100644 --- a/test/optimizers/__init__.py +++ b/test/optimizers/__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/optimizers/test_gradient_descent.py b/test/optimizers/test_gradient_descent.py index ab2dc848..5396349c 100644 --- a/test/optimizers/test_gradient_descent.py +++ b/test/optimizers/test_gradient_descent.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/optimizers/test_optimizer_aqgd.py b/test/optimizers/test_optimizer_aqgd.py index 2599326c..8a350f25 100644 --- a/test/optimizers/test_optimizer_aqgd.py +++ b/test/optimizers/test_optimizer_aqgd.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/optimizers/test_optimizer_nft.py b/test/optimizers/test_optimizer_nft.py index 02e3bcf9..5324fd95 100644 --- a/test/optimizers/test_optimizer_nft.py +++ b/test/optimizers/test_optimizer_nft.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/test/optimizers/test_optimizers.py b/test/optimizers/test_optimizers.py index 3f7a3fbc..ae7530ef 100644 --- a/test/optimizers/test_optimizers.py +++ b/test/optimizers/test_optimizers.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/test/optimizers/test_optimizers_scikitquant.py b/test/optimizers/test_optimizers_scikitquant.py index 05d41da5..9e58c8cc 100644 --- a/test/optimizers/test_optimizers_scikitquant.py +++ b/test/optimizers/test_optimizers_scikitquant.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/test/optimizers/test_spsa.py b/test/optimizers/test_spsa.py index 2aae4986..00500501 100644 --- a/test/optimizers/test_spsa.py +++ b/test/optimizers/test_spsa.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/optimizers/test_umda.py b/test/optimizers/test_umda.py index ea107e7f..8722db08 100644 --- a/test/optimizers/test_umda.py +++ b/test/optimizers/test_umda.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/optimizers/utils/__init__.py b/test/optimizers/utils/__init__.py index f3adc3e3..a8e8b1a0 100644 --- a/test/optimizers/utils/__init__.py +++ b/test/optimizers/utils/__init__.py @@ -1,6 +1,6 @@ -# 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/test/optimizers/utils/test_learning_rate.py b/test/optimizers/utils/test_learning_rate.py index d5b5fc3f..067d54d0 100644 --- a/test/optimizers/utils/test_learning_rate.py +++ b/test/optimizers/utils/test_learning_rate.py @@ -1,6 +1,6 @@ -# 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/test/state_fidelities/__init__.py b/test/state_fidelities/__init__.py index d8b7d587..3e84d2ea 100644 --- a/test/state_fidelities/__init__.py +++ b/test/state_fidelities/__init__.py @@ -1,6 +1,6 @@ -# 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/test/state_fidelities/test_compute_uncompute.py b/test/state_fidelities/test_compute_uncompute.py index 6628a834..94124cf6 100644 --- a/test/state_fidelities/test_compute_uncompute.py +++ b/test/state_fidelities/test_compute_uncompute.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/test/test_amplitude_estimators.py b/test/test_amplitude_estimators.py index febad950..52ca9346 100644 --- a/test/test_amplitude_estimators.py +++ b/test/test_amplitude_estimators.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/test/test_entangler_map.py b/test/test_entangler_map.py index e414da8f..9976e0a0 100644 --- a/test/test_entangler_map.py +++ b/test/test_entangler_map.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2020. +# (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/test_grover.py b/test/test_grover.py index b99cf709..0fa4c540 100644 --- a/test/test_grover.py +++ b/test/test_grover.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_phase_estimator.py b/test/test_phase_estimator.py index b7046fb9..b9361f24 100644 --- a/test/test_phase_estimator.py +++ b/test/test_phase_estimator.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/test/test_skip_qobj_validation.py b/test/test_skip_qobj_validation.py index 048795e3..9d52bcb2 100644 --- a/test/test_skip_qobj_validation.py +++ b/test/test_skip_qobj_validation.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/test_validation.py b/test/test_validation.py index d74fc2fe..23053c94 100644 --- a/test/test_validation.py +++ b/test/test_validation.py @@ -1,6 +1,6 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # -# (C) Copyright IBM 2019, 2020. +# (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/time_evolvers/__init__.py b/test/time_evolvers/__init__.py index fdb172d3..ee39256f 100644 --- a/test/time_evolvers/__init__.py +++ b/test/time_evolvers/__init__.py @@ -1,6 +1,6 @@ -# 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/test/time_evolvers/classical_methods/__init__.py b/test/time_evolvers/classical_methods/__init__.py index fdb172d3..ee39256f 100644 --- a/test/time_evolvers/classical_methods/__init__.py +++ b/test/time_evolvers/classical_methods/__init__.py @@ -1,6 +1,6 @@ -# 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/test/time_evolvers/classical_methods/test_scipy_imaginary_evolver.py b/test/time_evolvers/classical_methods/test_scipy_imaginary_evolver.py index 39ff2fde..4e830719 100644 --- a/test/time_evolvers/classical_methods/test_scipy_imaginary_evolver.py +++ b/test/time_evolvers/classical_methods/test_scipy_imaginary_evolver.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/test/time_evolvers/classical_methods/test_scipy_real_evolver.py b/test/time_evolvers/classical_methods/test_scipy_real_evolver.py index f91c4ad0..6da6328a 100644 --- a/test/time_evolvers/classical_methods/test_scipy_real_evolver.py +++ b/test/time_evolvers/classical_methods/test_scipy_real_evolver.py @@ -1,6 +1,6 @@ -# 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/test/time_evolvers/test_pvqd.py b/test/time_evolvers/test_pvqd.py index b103012d..7916b04c 100644 --- a/test/time_evolvers/test_pvqd.py +++ b/test/time_evolvers/test_pvqd.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/time_evolvers/test_time_evolution_problem.py b/test/time_evolvers/test_time_evolution_problem.py index 86ad507b..eb7499d2 100644 --- a/test/time_evolvers/test_time_evolution_problem.py +++ b/test/time_evolvers/test_time_evolution_problem.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2022, 2023. # diff --git a/test/time_evolvers/test_time_evolution_result.py b/test/time_evolvers/test_time_evolution_result.py index 9b0c92b5..19084b35 100644 --- a/test/time_evolvers/test_time_evolution_result.py +++ b/test/time_evolvers/test_time_evolution_result.py @@ -1,6 +1,6 @@ -# 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/test/time_evolvers/test_trotter_qrte.py b/test/time_evolvers/test_trotter_qrte.py index a6bc7611..3fddc984 100644 --- a/test/time_evolvers/test_trotter_qrte.py +++ b/test/time_evolvers/test_trotter_qrte.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/time_evolvers/variational/__init__.py b/test/time_evolvers/variational/__init__.py index 26f7536d..efbf4c58 100644 --- a/test/time_evolvers/variational/__init__.py +++ b/test/time_evolvers/variational/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/solvers/__init__.py b/test/time_evolvers/variational/solvers/__init__.py index 26f7536d..efbf4c58 100644 --- a/test/time_evolvers/variational/solvers/__init__.py +++ b/test/time_evolvers/variational/solvers/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/solvers/expected_results/__init__.py b/test/time_evolvers/variational/solvers/expected_results/__init__.py index 62ef1f76..1273cf5f 100644 --- a/test/time_evolvers/variational/solvers/expected_results/__init__.py +++ b/test/time_evolvers/variational/solvers/expected_results/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/solvers/expected_results/test_varqte_linear_solver_expected_1.py b/test/time_evolvers/variational/solvers/expected_results/test_varqte_linear_solver_expected_1.py index aba6b400..1f01d1b8 100644 --- a/test/time_evolvers/variational/solvers/expected_results/test_varqte_linear_solver_expected_1.py +++ b/test/time_evolvers/variational/solvers/expected_results/test_varqte_linear_solver_expected_1.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/solvers/ode/__init__.py b/test/time_evolvers/variational/solvers/ode/__init__.py index 26f7536d..efbf4c58 100644 --- a/test/time_evolvers/variational/solvers/ode/__init__.py +++ b/test/time_evolvers/variational/solvers/ode/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/solvers/ode/test_forward_euler_solver.py b/test/time_evolvers/variational/solvers/ode/test_forward_euler_solver.py index 101b76d7..577aaadc 100644 --- a/test/time_evolvers/variational/solvers/ode/test_forward_euler_solver.py +++ b/test/time_evolvers/variational/solvers/ode/test_forward_euler_solver.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/solvers/ode/test_ode_function.py b/test/time_evolvers/variational/solvers/ode/test_ode_function.py index 1fb3baa6..42f14871 100644 --- a/test/time_evolvers/variational/solvers/ode/test_ode_function.py +++ b/test/time_evolvers/variational/solvers/ode/test_ode_function.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/solvers/ode/test_var_qte_ode_solver.py b/test/time_evolvers/variational/solvers/ode/test_var_qte_ode_solver.py index 58724547..9b669192 100644 --- a/test/time_evolvers/variational/solvers/ode/test_var_qte_ode_solver.py +++ b/test/time_evolvers/variational/solvers/ode/test_var_qte_ode_solver.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/solvers/test_varqte_linear_solver.py b/test/time_evolvers/variational/solvers/test_varqte_linear_solver.py index 373ad999..18fcb20b 100644 --- a/test/time_evolvers/variational/solvers/test_varqte_linear_solver.py +++ b/test/time_evolvers/variational/solvers/test_varqte_linear_solver.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/test_var_qite.py b/test/time_evolvers/variational/test_var_qite.py index 39d41821..83381b6e 100644 --- a/test/time_evolvers/variational/test_var_qite.py +++ b/test/time_evolvers/variational/test_var_qite.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/test_var_qrte.py b/test/time_evolvers/variational/test_var_qrte.py index 06387228..18d6abe1 100644 --- a/test/time_evolvers/variational/test_var_qrte.py +++ b/test/time_evolvers/variational/test_var_qrte.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/test_var_qte.py b/test/time_evolvers/variational/test_var_qte.py index 6e235b13..84967176 100644 --- a/test/time_evolvers/variational/test_var_qte.py +++ b/test/time_evolvers/variational/test_var_qte.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/variational_principles/__init__.py b/test/time_evolvers/variational/variational_principles/__init__.py index 26f7536d..efbf4c58 100644 --- a/test/time_evolvers/variational/variational_principles/__init__.py +++ b/test/time_evolvers/variational/variational_principles/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/variational_principles/expected_results/__init__.py b/test/time_evolvers/variational/variational_principles/expected_results/__init__.py index 62ef1f76..1273cf5f 100644 --- a/test/time_evolvers/variational/variational_principles/expected_results/__init__.py +++ b/test/time_evolvers/variational/variational_principles/expected_results/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/variational_principles/expected_results/test_imaginary_mc_lachlan_variational_principle_expected1.py b/test/time_evolvers/variational/variational_principles/expected_results/test_imaginary_mc_lachlan_variational_principle_expected1.py index a26cb1b8..3565fea1 100644 --- a/test/time_evolvers/variational/variational_principles/expected_results/test_imaginary_mc_lachlan_variational_principle_expected1.py +++ b/test/time_evolvers/variational/variational_principles/expected_results/test_imaginary_mc_lachlan_variational_principle_expected1.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/variational_principles/expected_results/test_imaginary_mc_lachlan_variational_principle_expected2.py b/test/time_evolvers/variational/variational_principles/expected_results/test_imaginary_mc_lachlan_variational_principle_expected2.py index 3a46f371..757682cd 100644 --- a/test/time_evolvers/variational/variational_principles/expected_results/test_imaginary_mc_lachlan_variational_principle_expected2.py +++ b/test/time_evolvers/variational/variational_principles/expected_results/test_imaginary_mc_lachlan_variational_principle_expected2.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/variational_principles/expected_results/test_imaginary_mc_lachlan_variational_principle_expected3.py b/test/time_evolvers/variational/variational_principles/expected_results/test_imaginary_mc_lachlan_variational_principle_expected3.py index 4790482e..320ebe48 100644 --- a/test/time_evolvers/variational/variational_principles/expected_results/test_imaginary_mc_lachlan_variational_principle_expected3.py +++ b/test/time_evolvers/variational/variational_principles/expected_results/test_imaginary_mc_lachlan_variational_principle_expected3.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/variational_principles/imaginary/__init__.py b/test/time_evolvers/variational/variational_principles/imaginary/__init__.py index 26f7536d..efbf4c58 100644 --- a/test/time_evolvers/variational/variational_principles/imaginary/__init__.py +++ b/test/time_evolvers/variational/variational_principles/imaginary/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/variational_principles/imaginary/test_imaginary_mc_lachlan_principle.py b/test/time_evolvers/variational/variational_principles/imaginary/test_imaginary_mc_lachlan_principle.py index cefd4ffd..9d8c54fa 100644 --- a/test/time_evolvers/variational/variational_principles/imaginary/test_imaginary_mc_lachlan_principle.py +++ b/test/time_evolvers/variational/variational_principles/imaginary/test_imaginary_mc_lachlan_principle.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/variational_principles/real/__init__.py b/test/time_evolvers/variational/variational_principles/real/__init__.py index 26f7536d..efbf4c58 100644 --- a/test/time_evolvers/variational/variational_principles/real/__init__.py +++ b/test/time_evolvers/variational/variational_principles/real/__init__.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/time_evolvers/variational/variational_principles/real/test_real_mc_lachlan_principle.py b/test/time_evolvers/variational/variational_principles/real/test_real_mc_lachlan_principle.py index f5d5fafd..40195d16 100644 --- a/test/time_evolvers/variational/variational_principles/real/test_real_mc_lachlan_principle.py +++ b/test/time_evolvers/variational/variational_principles/real/test_real_mc_lachlan_principle.py @@ -1,4 +1,4 @@ -# This code is part of Qiskit. +# This code is part of a Qiskit project. # # (C) Copyright IBM 2023. # diff --git a/test/utils/__init__.py b/test/utils/__init__.py index fdb172d3..ee39256f 100644 --- a/test/utils/__init__.py +++ b/test/utils/__init__.py @@ -1,6 +1,6 @@ -# 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/test/utils/test_validate_bounds.py b/test/utils/test_validate_bounds.py index 21b8a3d3..83799d8d 100644 --- a/test/utils/test_validate_bounds.py +++ b/test/utils/test_validate_bounds.py @@ -1,6 +1,6 @@ -# 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/test/utils/test_validate_initial_point.py b/test/utils/test_validate_initial_point.py index 7390dc49..6badcb7b 100644 --- a/test/utils/test_validate_initial_point.py +++ b/test/utils/test_validate_initial_point.py @@ -1,6 +1,6 @@ -# 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/check_copyright.py b/tools/check_copyright.py index 003437e3..6085e0a1 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/find_stray_release_notes.py b/tools/find_stray_release_notes.py index d694e0d8..f1f75e88 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/ignore_untagged_notes.sh b/tools/ignore_untagged_notes.sh index b31071b0..ad7d5a03 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 edaca651..d750c545 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: