Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copyright notice in code #56

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# ##############################################################################
# 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.
#
# 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
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
#############################################################################
# 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.
#
# 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.


#############################################################################

###############################################################################
# BUILD
###############################################################################
Expand Down
16 changes: 16 additions & 0 deletions fast_pauli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
#############################################################################
# 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.
#
# 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.


#############################################################################

"""Fast Pauli and helpers."""

from ._fast_pauli import ( # noqa: F401
Expand Down
16 changes: 16 additions & 0 deletions fast_pauli/cpp/examples/01_pauli_op.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#include <algorithm>
#include <random>

Expand Down
16 changes: 16 additions & 0 deletions fast_pauli/cpp/examples/02_pauli_op_multistate.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#include <algorithm>
#include <experimental/mdspan>
#include <random>
Expand Down
16 changes: 16 additions & 0 deletions fast_pauli/cpp/examples/03_summed_pauli_op.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#include <algorithm>
#include <experimental/mdspan>
#include <random>
Expand Down
15 changes: 15 additions & 0 deletions fast_pauli/cpp/examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# ##############################################################################
# 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.
#
# 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
16 changes: 16 additions & 0 deletions fast_pauli/cpp/include/__factory.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#ifndef __FAST_PAULI_FACTORY_HPP
#define __FAST_PAULI_FACTORY_HPP

Expand Down
16 changes: 16 additions & 0 deletions fast_pauli/cpp/include/__nb_helpers.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#ifndef __NB_HELPERS_HPP
#define __NB_HELPERS_HPP

Expand Down
16 changes: 16 additions & 0 deletions fast_pauli/cpp/include/__pauli.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#ifndef __PAULI_HPP
#define __PAULI_HPP

Expand Down
16 changes: 16 additions & 0 deletions fast_pauli/cpp/include/__pauli_helpers.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#ifndef __PAULI_HELPERS_HPP
#define __PAULI_HELPERS_HPP

Expand Down
16 changes: 16 additions & 0 deletions fast_pauli/cpp/include/__pauli_op.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#ifndef __PAULI_OP_HPP
#define __PAULI_OP_HPP

Expand Down
16 changes: 16 additions & 0 deletions fast_pauli/cpp/include/__pauli_string.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#ifndef __PAULI_STRING_HPP
#define __PAULI_STRING_HPP

Expand Down
16 changes: 16 additions & 0 deletions fast_pauli/cpp/include/__summed_pauli_op.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#ifndef __SUMMED_PAULI_OP_HPP
#define __SUMMED_PAULI_OP_HPP

Expand Down
16 changes: 16 additions & 0 deletions fast_pauli/cpp/include/__type_traits.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#ifndef __FP_TYPE_TRAITS_HPP
#define __FP_TYPE_TRAITS_HPP

Expand Down
16 changes: 16 additions & 0 deletions fast_pauli/cpp/include/fast_pauli.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#ifndef FAST_PAULI_HPP
#define FAST_PAULI_HPP

Expand Down
15 changes: 15 additions & 0 deletions fast_pauli/cpp/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# ##############################################################################
# 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.
#
# 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
# for more information on the nanobind_add_module command
Expand Down
16 changes: 16 additions & 0 deletions fast_pauli/cpp/src/fast_pauli.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#include "fast_pauli.hpp"

#include <nanobind/nanobind.h>
Expand Down
15 changes: 15 additions & 0 deletions fast_pauli/cpp/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# ##############################################################################
# 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.
#
# 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
16 changes: 16 additions & 0 deletions fast_pauli/cpp/tests/test_factory.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* 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.
*
* 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.


*/

#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

#include <doctest/doctest.h>
Expand Down
Loading
Loading