diff --git a/CMakeLists.txt b/CMakeLists.txt index 2007269..d451339 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,17 +1,16 @@ -############################################################################# +# ############################################################################## # This code is part of Fast Pauli. # # (C) Copyright Qognitive Inc 2024. # -# This code is licensed under the BSD 2-Clause License. You may -# obtain a copy of this license in the LICENSE.txt file in the root directory -# of this source tree. +# This code is licensed under the BSD 2-Clause License. You may obtain a copy of +# this license in the LICENSE.txt file in the root directory of this source +# tree. # -# Any modifications or derivative works of this code must retain this -# copyright notice, and modified files need to carry a notice indicating -# that they have been altered from the originals. -############################################################################# - +# Any modifications or derivative works of this code must retain this copyright +# notice, and modified files need to carry a notice indicating that they have +# been altered from the originals. +# ############################################################################## # # Boilerplate CMakeLists.txt for C++ projects diff --git a/fast_pauli/cpp/examples/01_pauli_op.cpp b/fast_pauli/cpp/examples/01_pauli_op.cpp index 7378fe3..f09cd9e 100644 --- a/fast_pauli/cpp/examples/01_pauli_op.cpp +++ b/fast_pauli/cpp/examples/01_pauli_op.cpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #include #include diff --git a/fast_pauli/cpp/examples/02_pauli_op_multistate.cpp b/fast_pauli/cpp/examples/02_pauli_op_multistate.cpp index 72319e4..e9ca62f 100644 --- a/fast_pauli/cpp/examples/02_pauli_op_multistate.cpp +++ b/fast_pauli/cpp/examples/02_pauli_op_multistate.cpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #include #include #include diff --git a/fast_pauli/cpp/examples/03_summed_pauli_op.cpp b/fast_pauli/cpp/examples/03_summed_pauli_op.cpp index 063f971..e347e0a 100644 --- a/fast_pauli/cpp/examples/03_summed_pauli_op.cpp +++ b/fast_pauli/cpp/examples/03_summed_pauli_op.cpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #include #include #include diff --git a/fast_pauli/cpp/examples/CMakeLists.txt b/fast_pauli/cpp/examples/CMakeLists.txt index e05d3a4..2780e42 100644 --- a/fast_pauli/cpp/examples/CMakeLists.txt +++ b/fast_pauli/cpp/examples/CMakeLists.txt @@ -1,17 +1,16 @@ -############################################################################# +# ############################################################################## # This code is part of Fast Pauli. # # (C) Copyright Qognitive Inc 2024. # -# This code is licensed under the BSD 2-Clause License. You may -# obtain a copy of this license in the LICENSE.txt file in the root directory -# of this source tree. +# This code is licensed under the BSD 2-Clause License. You may obtain a copy of +# this license in the LICENSE.txt file in the root directory of this source +# tree. # -# Any modifications or derivative works of this code must retain this -# copyright notice, and modified files need to carry a notice indicating -# that they have been altered from the originals. -############################################################################# - +# Any modifications or derivative works of this code must retain this copyright +# notice, and modified files need to carry a notice indicating that they have +# been altered from the originals. +# ############################################################################## # Grab all *.cpp files in the directory file(GLOB EXAMPLE CONFIGURE_DEPENDS "*.cpp") diff --git a/fast_pauli/cpp/include/__factory.hpp b/fast_pauli/cpp/include/__factory.hpp index 9991941..a949275 100644 --- a/fast_pauli/cpp/include/__factory.hpp +++ b/fast_pauli/cpp/include/__factory.hpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #ifndef __FAST_PAULI_FACTORY_HPP #define __FAST_PAULI_FACTORY_HPP diff --git a/fast_pauli/cpp/include/__nb_helpers.hpp b/fast_pauli/cpp/include/__nb_helpers.hpp index ea2c72d..cd34f89 100644 --- a/fast_pauli/cpp/include/__nb_helpers.hpp +++ b/fast_pauli/cpp/include/__nb_helpers.hpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #ifndef __NB_HELPERS_HPP #define __NB_HELPERS_HPP diff --git a/fast_pauli/cpp/include/__pauli.hpp b/fast_pauli/cpp/include/__pauli.hpp index e10c111..5f54875 100644 --- a/fast_pauli/cpp/include/__pauli.hpp +++ b/fast_pauli/cpp/include/__pauli.hpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #ifndef __PAULI_HPP #define __PAULI_HPP diff --git a/fast_pauli/cpp/include/__pauli_helpers.hpp b/fast_pauli/cpp/include/__pauli_helpers.hpp index 37a0915..5ecea4b 100644 --- a/fast_pauli/cpp/include/__pauli_helpers.hpp +++ b/fast_pauli/cpp/include/__pauli_helpers.hpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #ifndef __PAULI_HELPERS_HPP #define __PAULI_HELPERS_HPP diff --git a/fast_pauli/cpp/include/__pauli_op.hpp b/fast_pauli/cpp/include/__pauli_op.hpp index 642247d..85d1cbc 100644 --- a/fast_pauli/cpp/include/__pauli_op.hpp +++ b/fast_pauli/cpp/include/__pauli_op.hpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #ifndef __PAULI_OP_HPP #define __PAULI_OP_HPP diff --git a/fast_pauli/cpp/include/__pauli_string.hpp b/fast_pauli/cpp/include/__pauli_string.hpp index 83b78d4..dc07cf4 100644 --- a/fast_pauli/cpp/include/__pauli_string.hpp +++ b/fast_pauli/cpp/include/__pauli_string.hpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #ifndef __PAULI_STRING_HPP #define __PAULI_STRING_HPP diff --git a/fast_pauli/cpp/include/__summed_pauli_op.hpp b/fast_pauli/cpp/include/__summed_pauli_op.hpp index ca2eac1..a9d63fa 100644 --- a/fast_pauli/cpp/include/__summed_pauli_op.hpp +++ b/fast_pauli/cpp/include/__summed_pauli_op.hpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #ifndef __SUMMED_PAULI_OP_HPP #define __SUMMED_PAULI_OP_HPP diff --git a/fast_pauli/cpp/include/__type_traits.hpp b/fast_pauli/cpp/include/__type_traits.hpp index a05512f..3366e6a 100644 --- a/fast_pauli/cpp/include/__type_traits.hpp +++ b/fast_pauli/cpp/include/__type_traits.hpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #ifndef __FP_TYPE_TRAITS_HPP #define __FP_TYPE_TRAITS_HPP diff --git a/fast_pauli/cpp/include/fast_pauli.hpp b/fast_pauli/cpp/include/fast_pauli.hpp index 5448c27..4fa7dad 100644 --- a/fast_pauli/cpp/include/fast_pauli.hpp +++ b/fast_pauli/cpp/include/fast_pauli.hpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #ifndef FAST_PAULI_HPP #define FAST_PAULI_HPP diff --git a/fast_pauli/cpp/src/CMakeLists.txt b/fast_pauli/cpp/src/CMakeLists.txt index 9b0520e..6cd1a82 100644 --- a/fast_pauli/cpp/src/CMakeLists.txt +++ b/fast_pauli/cpp/src/CMakeLists.txt @@ -1,17 +1,16 @@ -############################################################################# +# ############################################################################## # This code is part of Fast Pauli. # # (C) Copyright Qognitive Inc 2024. # -# This code is licensed under the BSD 2-Clause License. You may -# obtain a copy of this license in the LICENSE.txt file in the root directory -# of this source tree. +# This code is licensed under the BSD 2-Clause License. You may obtain a copy of +# this license in the LICENSE.txt file in the root directory of this source +# tree. # -# Any modifications or derivative works of this code must retain this -# copyright notice, and modified files need to carry a notice indicating -# that they have been altered from the originals. -############################################################################# - +# Any modifications or derivative works of this code must retain this copyright +# notice, and modified files need to carry a notice indicating that they have +# been altered from the originals. +# ############################################################################## # See # https://nanobind.readthedocs.io/en/latest/api_cmake.html#command:nanobind_add_module diff --git a/fast_pauli/cpp/src/fast_pauli.cpp b/fast_pauli/cpp/src/fast_pauli.cpp index f52728c..2019087 100644 --- a/fast_pauli/cpp/src/fast_pauli.cpp +++ b/fast_pauli/cpp/src/fast_pauli.cpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #include "fast_pauli.hpp" #include diff --git a/fast_pauli/cpp/tests/CMakeLists.txt b/fast_pauli/cpp/tests/CMakeLists.txt index 81f586c..6667c35 100644 --- a/fast_pauli/cpp/tests/CMakeLists.txt +++ b/fast_pauli/cpp/tests/CMakeLists.txt @@ -1,17 +1,16 @@ -############################################################################# +# ############################################################################## # This code is part of Fast Pauli. # # (C) Copyright Qognitive Inc 2024. # -# This code is licensed under the BSD 2-Clause License. You may -# obtain a copy of this license in the LICENSE.txt file in the root directory -# of this source tree. +# This code is licensed under the BSD 2-Clause License. You may obtain a copy of +# this license in the LICENSE.txt file in the root directory of this source +# tree. # -# Any modifications or derivative works of this code must retain this -# copyright notice, and modified files need to carry a notice indicating -# that they have been altered from the originals. -############################################################################# - +# Any modifications or derivative works of this code must retain this copyright +# notice, and modified files need to carry a notice indicating that they have +# been altered from the originals. +# ############################################################################## # Grab all *.cpp files in the directory file(GLOB TEST_SRC CONFIGURE_DEPENDS "*.cpp") diff --git a/fast_pauli/cpp/tests/test_factory.cpp b/fast_pauli/cpp/tests/test_factory.cpp index af1bfbf..948ee33 100644 --- a/fast_pauli/cpp/tests/test_factory.cpp +++ b/fast_pauli/cpp/tests/test_factory.cpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include diff --git a/fast_pauli/cpp/tests/test_pauli.cpp b/fast_pauli/cpp/tests/test_pauli.cpp index 469cf57..68d467c 100644 --- a/fast_pauli/cpp/tests/test_pauli.cpp +++ b/fast_pauli/cpp/tests/test_pauli.cpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include #include diff --git a/fast_pauli/cpp/tests/test_pauli_helpers.cpp b/fast_pauli/cpp/tests/test_pauli_helpers.cpp index 38514b1..bd75ce5 100644 --- a/fast_pauli/cpp/tests/test_pauli_helpers.cpp +++ b/fast_pauli/cpp/tests/test_pauli_helpers.cpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include diff --git a/fast_pauli/cpp/tests/test_pauli_op.cpp b/fast_pauli/cpp/tests/test_pauli_op.cpp index da01f75..436df56 100644 --- a/fast_pauli/cpp/tests/test_pauli_op.cpp +++ b/fast_pauli/cpp/tests/test_pauli_op.cpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include #include diff --git a/fast_pauli/cpp/tests/test_pauli_string.cpp b/fast_pauli/cpp/tests/test_pauli_string.cpp index 615fa42..b7063e6 100644 --- a/fast_pauli/cpp/tests/test_pauli_string.cpp +++ b/fast_pauli/cpp/tests/test_pauli_string.cpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include diff --git a/fast_pauli/cpp/tests/test_summed_pauli_op.cpp b/fast_pauli/cpp/tests/test_summed_pauli_op.cpp index dc0782a..a09832b 100644 --- a/fast_pauli/cpp/tests/test_summed_pauli_op.cpp +++ b/fast_pauli/cpp/tests/test_summed_pauli_op.cpp @@ -12,7 +12,6 @@ * that they have been altered from the originals. */ - #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include #include