Skip to content

Commit

Permalink
format fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastroy committed Oct 4, 2024
1 parent 9f029d0 commit 6a4ba7a
Show file tree
Hide file tree
Showing 23 changed files with 32 additions and 55 deletions.
17 changes: 8 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/examples/01_pauli_op.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#include <algorithm>
#include <random>

Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/examples/02_pauli_op_multistate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#include <algorithm>
#include <experimental/mdspan>
#include <random>
Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/examples/03_summed_pauli_op.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#include <algorithm>
#include <experimental/mdspan>
#include <random>
Expand Down
17 changes: 8 additions & 9 deletions fast_pauli/cpp/examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/include/__factory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#ifndef __FAST_PAULI_FACTORY_HPP
#define __FAST_PAULI_FACTORY_HPP

Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/include/__nb_helpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#ifndef __NB_HELPERS_HPP
#define __NB_HELPERS_HPP

Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/include/__pauli.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#ifndef __PAULI_HPP
#define __PAULI_HPP

Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/include/__pauli_helpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#ifndef __PAULI_HELPERS_HPP
#define __PAULI_HELPERS_HPP

Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/include/__pauli_op.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#ifndef __PAULI_OP_HPP
#define __PAULI_OP_HPP

Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/include/__pauli_string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#ifndef __PAULI_STRING_HPP
#define __PAULI_STRING_HPP

Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/include/__summed_pauli_op.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#ifndef __SUMMED_PAULI_OP_HPP
#define __SUMMED_PAULI_OP_HPP

Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/include/__type_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#ifndef __FP_TYPE_TRAITS_HPP
#define __FP_TYPE_TRAITS_HPP

Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/include/fast_pauli.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#ifndef FAST_PAULI_HPP
#define FAST_PAULI_HPP

Expand Down
17 changes: 8 additions & 9 deletions fast_pauli/cpp/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/src/fast_pauli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#include "fast_pauli.hpp"

#include <nanobind/nanobind.h>
Expand Down
17 changes: 8 additions & 9 deletions fast_pauli/cpp/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/tests/test_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

#include <doctest/doctest.h>
Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/tests/test_pauli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include <doctest/doctest.h>
#include <fmt/core.h>
Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/tests/test_pauli_helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

#include <doctest/doctest.h>
Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/tests/test_pauli_op.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include <doctest/doctest.h>
#include <fmt/core.h>
Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/tests/test_pauli_string.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

#include <doctest/doctest.h>
Expand Down
1 change: 0 additions & 1 deletion fast_pauli/cpp/tests/test_summed_pauli_op.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* that they have been altered from the originals.
*/


#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include <doctest/doctest.h>
#include <fmt/core.h>
Expand Down

0 comments on commit 6a4ba7a

Please sign in to comment.