fulqrum 0.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fulqrum-0.4.2/LICENSE.txt +203 -0
- fulqrum-0.4.2/MANIFEST.in +12 -0
- fulqrum-0.4.2/PKG-INFO +12 -0
- fulqrum-0.4.2/README.md +133 -0
- fulqrum-0.4.2/benchmarks/__init__.py +17 -0
- fulqrum-0.4.2/benchmarks/config.py +52 -0
- fulqrum-0.4.2/benchmarks/conftest.py +48 -0
- fulqrum-0.4.2/fulqrum/__init__.py +56 -0
- fulqrum-0.4.2/fulqrum/convert/__init__.py +32 -0
- fulqrum-0.4.2/fulqrum/convert/integrals.cpp +35316 -0
- fulqrum-0.4.2/fulqrum/convert/integrals.pxd +21 -0
- fulqrum-0.4.2/fulqrum/convert/integrals.pyx +90 -0
- fulqrum-0.4.2/fulqrum/convert/openfermion.cpp +12291 -0
- fulqrum-0.4.2/fulqrum/convert/openfermion.pyx +141 -0
- fulqrum-0.4.2/fulqrum/convert/qiskit.cpp +10698 -0
- fulqrum-0.4.2/fulqrum/convert/qiskit.pyx +76 -0
- fulqrum-0.4.2/fulqrum/convert/src/integrals.hpp +211 -0
- fulqrum-0.4.2/fulqrum/core/.ipynb_checkpoints/subspace-checkpoint.pyx +393 -0
- fulqrum-0.4.2/fulqrum/core/__init__.py +75 -0
- fulqrum-0.4.2/fulqrum/core/bitset.cpp +40483 -0
- fulqrum-0.4.2/fulqrum/core/bitset.pxd +60 -0
- fulqrum-0.4.2/fulqrum/core/bitset.pyx +230 -0
- fulqrum-0.4.2/fulqrum/core/bitset_hashmap.pxd +27 -0
- fulqrum-0.4.2/fulqrum/core/bitset_hashmap.pyx +33 -0
- fulqrum-0.4.2/fulqrum/core/bitset_view.cpp +12103 -0
- fulqrum-0.4.2/fulqrum/core/bitset_view.pxd +19 -0
- fulqrum-0.4.2/fulqrum/core/bitset_view.pyx +74 -0
- fulqrum-0.4.2/fulqrum/core/constants.cpp +5342 -0
- fulqrum-0.4.2/fulqrum/core/constants.pxd +20 -0
- fulqrum-0.4.2/fulqrum/core/constants.pyx +22 -0
- fulqrum-0.4.2/fulqrum/core/csr.cpp +35670 -0
- fulqrum-0.4.2/fulqrum/core/csr.pyx +32 -0
- fulqrum-0.4.2/fulqrum/core/csrlike.cpp +39289 -0
- fulqrum-0.4.2/fulqrum/core/csrlike.pxd +26 -0
- fulqrum-0.4.2/fulqrum/core/csrlike.pyx +238 -0
- fulqrum-0.4.2/fulqrum/core/diag.pyx +39 -0
- fulqrum-0.4.2/fulqrum/core/fermi_operator.cpp +48981 -0
- fulqrum-0.4.2/fulqrum/core/fermi_operator.pxd +19 -0
- fulqrum-0.4.2/fulqrum/core/fermi_operator.pyx +557 -0
- fulqrum-0.4.2/fulqrum/core/includes/base_header.pxi +122 -0
- fulqrum-0.4.2/fulqrum/core/includes/bitset_hashmap_header.pxi +23 -0
- fulqrum-0.4.2/fulqrum/core/includes/bitset_utils_header.pxi +42 -0
- fulqrum-0.4.2/fulqrum/core/includes/converters.pxi +20 -0
- fulqrum-0.4.2/fulqrum/core/includes/csr2_header.pxi +36 -0
- fulqrum-0.4.2/fulqrum/core/includes/csr_header.pxi +37 -0
- fulqrum-0.4.2/fulqrum/core/includes/csr_utils_header.pxi +16 -0
- fulqrum-0.4.2/fulqrum/core/includes/csrlike_builder2_header.pxi +36 -0
- fulqrum-0.4.2/fulqrum/core/includes/csrlike_builder_header.pxi +32 -0
- fulqrum-0.4.2/fulqrum/core/includes/csrlike_header.pxi +51 -0
- fulqrum-0.4.2/fulqrum/core/includes/diag_header.pxi +34 -0
- fulqrum-0.4.2/fulqrum/core/includes/elements_header.pxi +25 -0
- fulqrum-0.4.2/fulqrum/core/includes/grouping_header.pxi +34 -0
- fulqrum-0.4.2/fulqrum/core/includes/io.pxi +13 -0
- fulqrum-0.4.2/fulqrum/core/includes/matvec2_header.pxi +32 -0
- fulqrum-0.4.2/fulqrum/core/includes/matvec_header.pxi +29 -0
- fulqrum-0.4.2/fulqrum/core/includes/offdiag_grouping_header.pxi +25 -0
- fulqrum-0.4.2/fulqrum/core/includes/types.pxi +22 -0
- fulqrum-0.4.2/fulqrum/core/linear_operator.py +358 -0
- fulqrum-0.4.2/fulqrum/core/qubit_operator.cpp +55866 -0
- fulqrum-0.4.2/fulqrum/core/qubit_operator.pxd +20 -0
- fulqrum-0.4.2/fulqrum/core/qubit_operator.pyx +985 -0
- fulqrum-0.4.2/fulqrum/core/spmv.cpp +53679 -0
- fulqrum-0.4.2/fulqrum/core/spmv.pxd +44 -0
- fulqrum-0.4.2/fulqrum/core/spmv.pyx +671 -0
- fulqrum-0.4.2/fulqrum/core/sqd.cpp +37121 -0
- fulqrum-0.4.2/fulqrum/core/sqd.pxd +39 -0
- fulqrum-0.4.2/fulqrum/core/sqd.pyx +267 -0
- fulqrum-0.4.2/fulqrum/core/src/base.hpp +21 -0
- fulqrum-0.4.2/fulqrum/core/src/bitset_hashmap.hpp +277 -0
- fulqrum-0.4.2/fulqrum/core/src/bitset_utils.hpp +231 -0
- fulqrum-0.4.2/fulqrum/core/src/constants.hpp +81 -0
- fulqrum-0.4.2/fulqrum/core/src/csr.hpp +260 -0
- fulqrum-0.4.2/fulqrum/core/src/csr2.hpp +277 -0
- fulqrum-0.4.2/fulqrum/core/src/csr_utils.hpp +98 -0
- fulqrum-0.4.2/fulqrum/core/src/csrlike.hpp +164 -0
- fulqrum-0.4.2/fulqrum/core/src/csrlike_builder.hpp +210 -0
- fulqrum-0.4.2/fulqrum/core/src/csrlike_builder2.hpp +269 -0
- fulqrum-0.4.2/fulqrum/core/src/diag.hpp +445 -0
- fulqrum-0.4.2/fulqrum/core/src/elements.hpp +94 -0
- fulqrum-0.4.2/fulqrum/core/src/external/hash_set8.hpp +1762 -0
- fulqrum-0.4.2/fulqrum/core/src/external/hash_table8.hpp +1961 -0
- fulqrum-0.4.2/fulqrum/core/src/external/json.hpp +25526 -0
- fulqrum-0.4.2/fulqrum/core/src/external/pstream.h +2451 -0
- fulqrum-0.4.2/fulqrum/core/src/external/rapidhash.h +574 -0
- fulqrum-0.4.2/fulqrum/core/src/fermi_oper.hpp +494 -0
- fulqrum-0.4.2/fulqrum/core/src/fermi_term.hpp +295 -0
- fulqrum-0.4.2/fulqrum/core/src/io.hpp +341 -0
- fulqrum-0.4.2/fulqrum/core/src/matvec.hpp +217 -0
- fulqrum-0.4.2/fulqrum/core/src/matvec2.hpp +231 -0
- fulqrum-0.4.2/fulqrum/core/src/offdiag_grouping.hpp +142 -0
- fulqrum-0.4.2/fulqrum/core/src/oper_utils.hpp +148 -0
- fulqrum-0.4.2/fulqrum/core/src/qubit_oper.hpp +1191 -0
- fulqrum-0.4.2/fulqrum/core/src/qubit_term.hpp +167 -0
- fulqrum-0.4.2/fulqrum/core/src/sqd.hpp +64 -0
- fulqrum-0.4.2/fulqrum/core/src/subspace.hpp +31 -0
- fulqrum-0.4.2/fulqrum/core/src/term_utils.hpp +39 -0
- fulqrum-0.4.2/fulqrum/core/src/type2_group_table.hpp +894 -0
- fulqrum-0.4.2/fulqrum/core/src/version.hpp +17 -0
- fulqrum-0.4.2/fulqrum/core/subspace.cpp +44071 -0
- fulqrum-0.4.2/fulqrum/core/subspace.pxd +19 -0
- fulqrum-0.4.2/fulqrum/core/subspace.pyx +420 -0
- fulqrum-0.4.2/fulqrum/exceptions.py +26 -0
- fulqrum-0.4.2/fulqrum/include/boost/assert/source_location.hpp +204 -0
- fulqrum-0.4.2/fulqrum/include/boost/assert.hpp +91 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/abi/borland_prefix.hpp +27 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/abi/borland_suffix.hpp +12 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/abi/msvc_prefix.hpp +22 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/abi/msvc_suffix.hpp +8 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/abi_prefix.hpp +25 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/abi_suffix.hpp +25 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/assert_cxx03.hpp +211 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/assert_cxx11.hpp +212 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/assert_cxx14.hpp +47 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/assert_cxx17.hpp +65 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/assert_cxx20.hpp +59 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/assert_cxx23.hpp +41 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/assert_cxx98.hpp +23 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/auto_link.hpp +525 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/borland.hpp +342 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/clang.hpp +370 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/clang_version.hpp +89 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/codegear.hpp +389 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/comeau.hpp +59 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/common_edg.hpp +185 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/compaq_cxx.hpp +19 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/cray.hpp +446 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/diab.hpp +26 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/digitalmars.hpp +146 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/gcc.hpp +386 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/gcc_xml.hpp +115 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/greenhills.hpp +28 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/hp_acc.hpp +153 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/intel.hpp +577 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/kai.hpp +33 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/metrowerks.hpp +201 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/mpw.hpp +143 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/nvcc.hpp +64 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/pathscale.hpp +141 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/pgi.hpp +23 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/sgi_mipspro.hpp +29 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/sunpro_cc.hpp +225 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/vacpp.hpp +189 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/visualc.hpp +398 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/xlcpp.hpp +303 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/compiler/xlcpp_zos.hpp +174 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/detail/cxx_composite.hpp +218 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/detail/posix_features.hpp +95 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/detail/select_compiler_config.hpp +157 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/detail/select_platform_config.hpp +147 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/detail/select_stdlib_config.hpp +121 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/detail/suffix.hpp +1334 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/header_deprecated.hpp +26 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/helper_macros.hpp +37 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/no_tr1/cmath.hpp +28 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/no_tr1/complex.hpp +28 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/no_tr1/functional.hpp +28 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/no_tr1/memory.hpp +28 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/no_tr1/utility.hpp +28 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/aix.hpp +33 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/amigaos.hpp +15 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/beos.hpp +26 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/bsd.hpp +83 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/cloudabi.hpp +18 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/cray.hpp +18 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/cygwin.hpp +71 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/haiku.hpp +31 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/hpux.hpp +87 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/irix.hpp +31 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/linux.hpp +106 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/macos.hpp +87 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/qnxnto.hpp +31 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/solaris.hpp +31 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/symbian.hpp +97 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/vms.hpp +25 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/vxworks.hpp +422 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/wasm.hpp +23 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/win32.hpp +90 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/platform/zos.hpp +32 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/pragma_message.hpp +31 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/requires_threads.hpp +92 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/stdlib/dinkumware.hpp +324 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/stdlib/libcomo.hpp +93 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/stdlib/libcpp.hpp +185 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/stdlib/libstdcpp3.hpp +482 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/stdlib/modena.hpp +79 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/stdlib/msl.hpp +98 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/stdlib/roguewave.hpp +208 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/stdlib/sgi.hpp +168 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/stdlib/stlport.hpp +258 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/stdlib/vacpp.hpp +74 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/stdlib/xlcpp_zos.hpp +61 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/user.hpp +133 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/warning_disable.hpp +47 -0
- fulqrum-0.4.2/fulqrum/include/boost/config/workaround.hpp +305 -0
- fulqrum-0.4.2/fulqrum/include/boost/config.hpp +67 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/detail/hash_integral.hpp +146 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/detail/hash_mix.hpp +113 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/detail/hash_range.hpp +408 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/detail/hash_tuple_like.hpp +62 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/detail/limits.hpp +19 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/detail/mulx.hpp +79 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/detail/requires_cxx11.hpp +22 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/extensions.hpp +10 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/hash.hpp +573 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/hash_fwd.hpp +39 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/hash_is_avalanching.hpp +57 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/is_contiguous_range.hpp +98 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/is_described_class.hpp +37 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/is_range.hpp +41 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/is_tuple_like.hpp +36 -0
- fulqrum-0.4.2/fulqrum/include/boost/container_hash/is_unordered_range.hpp +38 -0
- fulqrum-0.4.2/fulqrum/include/boost/core/addressof.hpp +274 -0
- fulqrum-0.4.2/fulqrum/include/boost/core/allocator_access.hpp +834 -0
- fulqrum-0.4.2/fulqrum/include/boost/core/bit.hpp +954 -0
- fulqrum-0.4.2/fulqrum/include/boost/core/enable_if.hpp +128 -0
- fulqrum-0.4.2/fulqrum/include/boost/core/no_exceptions_support.hpp +56 -0
- fulqrum-0.4.2/fulqrum/include/boost/core/pointer_traits.hpp +285 -0
- fulqrum-0.4.2/fulqrum/include/boost/cstdint.hpp +556 -0
- fulqrum-0.4.2/fulqrum/include/boost/current_function.hpp +75 -0
- fulqrum-0.4.2/fulqrum/include/boost/describe/bases.hpp +50 -0
- fulqrum-0.4.2/fulqrum/include/boost/describe/detail/bases.hpp +50 -0
- fulqrum-0.4.2/fulqrum/include/boost/describe/detail/compute_base_modifiers.hpp +73 -0
- fulqrum-0.4.2/fulqrum/include/boost/describe/detail/config.hpp +40 -0
- fulqrum-0.4.2/fulqrum/include/boost/describe/detail/cx_streq.hpp +30 -0
- fulqrum-0.4.2/fulqrum/include/boost/describe/detail/list.hpp +27 -0
- fulqrum-0.4.2/fulqrum/include/boost/describe/detail/members.hpp +84 -0
- fulqrum-0.4.2/fulqrum/include/boost/describe/detail/pp_for_each.hpp +122 -0
- fulqrum-0.4.2/fulqrum/include/boost/describe/detail/pp_utilities.hpp +92 -0
- fulqrum-0.4.2/fulqrum/include/boost/describe/detail/void_t.hpp +32 -0
- fulqrum-0.4.2/fulqrum/include/boost/describe/members.hpp +161 -0
- fulqrum-0.4.2/fulqrum/include/boost/describe/modifiers.hpp +33 -0
- fulqrum-0.4.2/fulqrum/include/boost/detail/workaround.hpp +10 -0
- fulqrum-0.4.2/fulqrum/include/boost/dynamic_bitset/config.hpp +72 -0
- fulqrum-0.4.2/fulqrum/include/boost/dynamic_bitset/detail/dynamic_bitset.hpp +307 -0
- fulqrum-0.4.2/fulqrum/include/boost/dynamic_bitset/detail/lowest_bit.hpp +39 -0
- fulqrum-0.4.2/fulqrum/include/boost/dynamic_bitset/dynamic_bitset.hpp +2170 -0
- fulqrum-0.4.2/fulqrum/include/boost/dynamic_bitset/serialization.hpp +46 -0
- fulqrum-0.4.2/fulqrum/include/boost/dynamic_bitset.hpp +17 -0
- fulqrum-0.4.2/fulqrum/include/boost/dynamic_bitset_fwd.hpp +25 -0
- fulqrum-0.4.2/fulqrum/include/boost/exception/exception.hpp +569 -0
- fulqrum-0.4.2/fulqrum/include/boost/functional/hash/extensions.hpp +6 -0
- fulqrum-0.4.2/fulqrum/include/boost/functional/hash/hash.hpp +6 -0
- fulqrum-0.4.2/fulqrum/include/boost/functional/hash/hash_fwd.hpp +6 -0
- fulqrum-0.4.2/fulqrum/include/boost/integer/integer_log2.hpp +117 -0
- fulqrum-0.4.2/fulqrum/include/boost/limits.hpp +146 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/algo/move.hpp +159 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/algorithm.hpp +166 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/core.hpp +515 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/detail/addressof.hpp +61 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/detail/config_begin.hpp +21 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/detail/config_end.hpp +12 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/detail/iterator_to_raw_pointer.hpp +59 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/detail/iterator_traits.hpp +177 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/detail/meta_utils.hpp +544 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/detail/meta_utils_core.hpp +152 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/detail/pointer_element.hpp +168 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/detail/std_ns_begin.hpp +40 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/detail/std_ns_end.hpp +19 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/detail/to_raw_pointer.hpp +45 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/detail/type_traits.hpp +1357 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/detail/workaround.hpp +156 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/iterator.hpp +311 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/move.hpp +35 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/traits.hpp +77 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/utility.hpp +150 -0
- fulqrum-0.4.2/fulqrum/include/boost/move/utility_core.hpp +323 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/algorithm.hpp +1353 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/bind.hpp +120 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/config.hpp +149 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_append.hpp +321 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_copy_if.hpp +48 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_count.hpp +147 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_defer.hpp +119 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_fold.hpp +166 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_front.hpp +50 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_is_list.hpp +39 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_is_value_list.hpp +41 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_list.hpp +24 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_list_v.hpp +27 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_map_find.hpp +121 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_min_element.hpp +51 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_plus.hpp +84 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_remove_if.hpp +48 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_rename.hpp +54 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_value.hpp +25 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_void.hpp +32 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mp_with_index.hpp +385 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/detail/mpl_common.hpp +160 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/function.hpp +222 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/integer_sequence.hpp +121 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/integral.hpp +51 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/lambda.hpp +199 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/list.hpp +481 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/map.hpp +119 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/mpl.hpp +14 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/mpl_list.hpp +28 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/mpl_tuple.hpp +29 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/set.hpp +220 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/tuple.hpp +183 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/utility.hpp +169 -0
- fulqrum-0.4.2/fulqrum/include/boost/mp11/version.hpp +16 -0
- fulqrum-0.4.2/fulqrum/include/boost/sort/pdqsort/pdqsort.hpp +618 -0
- fulqrum-0.4.2/fulqrum/include/boost/static_assert.hpp +181 -0
- fulqrum-0.4.2/fulqrum/include/boost/throw_exception.hpp +278 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/add_const.hpp +52 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/add_cv.hpp +47 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/add_lvalue_reference.hpp +33 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/add_pointer.hpp +67 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/add_reference.hpp +66 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/add_rvalue_reference.hpp +70 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/add_volatile.hpp +46 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/aligned_storage.hpp +138 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/alignment_of.hpp +119 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/alignment_traits.hpp +15 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/arithmetic_traits.hpp +20 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/array_traits.hpp +15 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/broken_compiler_spec.hpp +21 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/common_type.hpp +152 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/composite_traits.hpp +29 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/conditional.hpp +28 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/config.hpp +21 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/conjunction.hpp +40 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/conversion_traits.hpp +17 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/copy_cv.hpp +40 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/copy_cv_ref.hpp +31 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/copy_reference.hpp +35 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/cv_traits.hpp +24 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/decay.hpp +49 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/declval.hpp +44 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/bool_trait_def.hpp +179 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/bool_trait_undef.hpp +28 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/common_arithmetic_type.hpp +220 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/common_type_impl.hpp +107 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/composite_member_pointer_type.hpp +113 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/composite_pointer_type.hpp +153 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/config.hpp +116 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/detector.hpp +37 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/has_binary_operator.hpp +279 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/has_postfix_operator.hpp +250 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/has_prefix_operator.hpp +280 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/ice_and.hpp +42 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/ice_eq.hpp +43 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/ice_not.hpp +38 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/ice_or.hpp +41 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/is_function_cxx_03.hpp +108 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/is_function_cxx_11.hpp +676 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/is_function_msvc10_fix.hpp +30 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/is_function_ptr_helper.hpp +444 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/is_function_ptr_tester.hpp +609 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/is_likely_lambda.hpp +95 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp +1328 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp +1603 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/is_member_function_pointer_cxx_03.hpp +117 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +697 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/is_rvalue_reference_msvc10_fix.hpp +43 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/is_swappable_cxx_11.hpp +70 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/mp_defer.hpp +56 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/template_arity_spec.hpp +16 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detail/yes_no_type.hpp +26 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detected.hpp +24 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/detected_or.hpp +25 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/disjunction.hpp +40 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/enable_if.hpp +37 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/extent.hpp +139 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/floating_point_promotion.hpp +28 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/function_traits.hpp +174 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_bit_and.hpp +49 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_bit_and_assign.hpp +55 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_bit_or.hpp +49 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_bit_or_assign.hpp +55 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_bit_xor.hpp +49 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_bit_xor_assign.hpp +55 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_complement.hpp +32 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_dereference.hpp +375 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_divides.hpp +40 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_divides_assign.hpp +47 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_equal_to.hpp +52 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_greater.hpp +52 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_greater_equal.hpp +52 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_left_shift.hpp +49 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_left_shift_assign.hpp +55 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_less.hpp +52 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_less_equal.hpp +52 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_logical_and.hpp +40 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_logical_not.hpp +32 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_logical_or.hpp +40 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_minus.hpp +158 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_minus_assign.hpp +163 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_modulus.hpp +49 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_modulus_assign.hpp +55 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_multiplies.hpp +40 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_multiplies_assign.hpp +47 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_negate.hpp +25 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_new_operator.hpp +147 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_not_equal_to.hpp +52 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_nothrow_assign.hpp +84 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_nothrow_constructor.hpp +73 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_nothrow_copy.hpp +82 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_nothrow_destructor.hpp +56 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_operator.hpp +51 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_plus.hpp +54 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_plus_assign.hpp +161 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_post_decrement.hpp +65 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_post_increment.hpp +65 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_pre_decrement.hpp +65 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_pre_increment.hpp +66 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_right_shift.hpp +49 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_right_shift_assign.hpp +55 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_trivial_assign.hpp +52 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_trivial_constructor.hpp +57 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_trivial_copy.hpp +63 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_trivial_destructor.hpp +48 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_trivial_move_assign.hpp +73 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_trivial_move_constructor.hpp +79 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_unary_minus.hpp +25 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_unary_plus.hpp +23 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/has_virtual_destructor.hpp +26 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/ice.hpp +20 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/integral_constant.hpp +99 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/integral_promotion.hpp +187 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/intrinsics.hpp +405 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_abstract.hpp +150 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_arithmetic.hpp +22 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_array.hpp +43 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_assignable.hpp +85 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_base_and_derived.hpp +244 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_base_of.hpp +39 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_base_of_tr1.hpp +37 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_bounded_array.hpp +42 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_class.hpp +114 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_complete.hpp +114 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_complex.hpp +25 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_compound.hpp +24 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_const.hpp +47 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_constructible.hpp +90 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_convertible.hpp +506 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_copy_assignable.hpp +140 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_copy_constructible.hpp +185 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_default_constructible.hpp +98 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_destructible.hpp +69 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_detected.hpp +29 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_detected_convertible.hpp +29 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_detected_exact.hpp +29 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_empty.hpp +120 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_enum.hpp +166 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_final.hpp +30 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_float.hpp +20 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_floating_point.hpp +52 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_function.hpp +27 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_fundamental.hpp +26 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_integral.hpp +92 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_list_constructible.hpp +48 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_lvalue_reference.hpp +50 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_member_function_pointer.hpp +26 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_member_object_pointer.hpp +24 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_member_pointer.hpp +45 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_noncopyable.hpp +39 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_nothrow_move_assignable.hpp +92 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_nothrow_move_constructible.hpp +97 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_nothrow_swappable.hpp +47 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_object.hpp +28 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_pod.hpp +59 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_pointer.hpp +47 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_polymorphic.hpp +122 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_reference.hpp +30 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_rvalue_reference.hpp +29 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_same.hpp +41 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_scalar.hpp +27 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_scoped_enum.hpp +26 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_signed.hpp +163 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_stateless.hpp +33 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_swappable.hpp +92 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_trivially_copyable.hpp +31 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_unbounded_array.hpp +41 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_union.hpp +31 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_unscoped_enum.hpp +25 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_unsigned.hpp +163 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_virtual_base_of.hpp +146 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_void.hpp +26 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/is_volatile.hpp +46 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/make_signed.hpp +137 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/make_unsigned.hpp +136 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/make_void.hpp +52 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/negation.hpp +23 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/nonesuch.hpp +35 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/object_traits.hpp +33 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/promote.hpp +26 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/rank.hpp +87 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/reference_traits.hpp +15 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/remove_all_extents.hpp +41 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/remove_bounds.hpp +28 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/remove_const.hpp +39 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/remove_cv.hpp +45 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/remove_cv_ref.hpp +30 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/remove_extent.hpp +41 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/remove_pointer.hpp +84 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/remove_reference.hpp +59 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/remove_volatile.hpp +39 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/same_traits.hpp +15 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/transform_traits.hpp +21 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/type_identity.hpp +31 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits/type_with_alignment.hpp +260 -0
- fulqrum-0.4.2/fulqrum/include/boost/type_traits.hpp +164 -0
- fulqrum-0.4.2/fulqrum/include/boost/version.hpp +32 -0
- fulqrum-0.4.2/fulqrum/include/fulqrum.hpp +18 -0
- fulqrum-0.4.2/fulqrum/ramps/__init__.py +31 -0
- fulqrum-0.4.2/fulqrum/ramps/includes/open_header.pxi +35 -0
- fulqrum-0.4.2/fulqrum/ramps/includes/simple_header.pxi +37 -0
- fulqrum-0.4.2/fulqrum/ramps/open.cpp +30798 -0
- fulqrum-0.4.2/fulqrum/ramps/open.pyx +76 -0
- fulqrum-0.4.2/fulqrum/ramps/simple.cpp +30780 -0
- fulqrum-0.4.2/fulqrum/ramps/simple.pyx +77 -0
- fulqrum-0.4.2/fulqrum/ramps/src/open.hpp +269 -0
- fulqrum-0.4.2/fulqrum/ramps/src/simple.hpp +282 -0
- fulqrum-0.4.2/fulqrum/test/__init__.py +11 -0
- fulqrum-0.4.2/fulqrum/test/data/h2.json +1 -0
- fulqrum-0.4.2/fulqrum/test/data/h2o.json +1 -0
- fulqrum-0.4.2/fulqrum/test/data/lih.json +1 -0
- fulqrum-0.4.2/fulqrum/test/test_bitset.py +107 -0
- fulqrum-0.4.2/fulqrum/test/test_convert.py +186 -0
- fulqrum-0.4.2/fulqrum/test/test_csr.py +392 -0
- fulqrum-0.4.2/fulqrum/test/test_csrlike_tocsr.py +351 -0
- fulqrum-0.4.2/fulqrum/test/test_diag.py +71 -0
- fulqrum-0.4.2/fulqrum/test/test_eigen.py +381 -0
- fulqrum-0.4.2/fulqrum/test/test_eigen_H2.py +260 -0
- fulqrum-0.4.2/fulqrum/test/test_eigen_H20.py +172 -0
- fulqrum-0.4.2/fulqrum/test/test_eigen_LiH.py +363 -0
- fulqrum-0.4.2/fulqrum/test/test_fermiop_basics.py +131 -0
- fulqrum-0.4.2/fulqrum/test/test_fermiop_collapse.py +222 -0
- fulqrum-0.4.2/fulqrum/test/test_fermiop_index_ordering.py +66 -0
- fulqrum-0.4.2/fulqrum/test/test_fermiop_jw.py +378 -0
- fulqrum-0.4.2/fulqrum/test/test_grouping.py +473 -0
- fulqrum-0.4.2/fulqrum/test/test_interpret_vector.py +43 -0
- fulqrum-0.4.2/fulqrum/test/test_ladder_ops.py +96 -0
- fulqrum-0.4.2/fulqrum/test/test_linear_operator.py +53 -0
- fulqrum-0.4.2/fulqrum/test/test_matrix_elements.py +129 -0
- fulqrum-0.4.2/fulqrum/test/test_matvec.py +277 -0
- fulqrum-0.4.2/fulqrum/test/test_offdiag_weights.py +102 -0
- fulqrum-0.4.2/fulqrum/test/test_operator_io.py +89 -0
- fulqrum-0.4.2/fulqrum/test/test_primme.py +53 -0
- fulqrum-0.4.2/fulqrum/test/test_projector.py +114 -0
- fulqrum-0.4.2/fulqrum/test/test_qubitop_basics.py +251 -0
- fulqrum-0.4.2/fulqrum/test/test_qubitop_combine.py +40 -0
- fulqrum-0.4.2/fulqrum/test/test_ramps.py +81 -0
- fulqrum-0.4.2/fulqrum/test/test_real.py +55 -0
- fulqrum-0.4.2/fulqrum/test/test_sqd.py +193 -0
- fulqrum-0.4.2/fulqrum/test/test_subspace.py +228 -0
- fulqrum-0.4.2/fulqrum/test/test_subspacehamiltonian.py +46 -0
- fulqrum-0.4.2/fulqrum/test/test_type2_spin_order.py +296 -0
- fulqrum-0.4.2/fulqrum/test/test_worst_case.py +77 -0
- fulqrum-0.4.2/fulqrum/utils/__init__.py +31 -0
- fulqrum-0.4.2/fulqrum/utils/io.py +69 -0
- fulqrum-0.4.2/fulqrum/utils/matrix.cpp +13323 -0
- fulqrum-0.4.2/fulqrum/utils/matrix.pyx +79 -0
- fulqrum-0.4.2/fulqrum.egg-info/PKG-INFO +12 -0
- fulqrum-0.4.2/fulqrum.egg-info/SOURCES.txt +569 -0
- fulqrum-0.4.2/fulqrum.egg-info/dependency_links.txt +1 -0
- fulqrum-0.4.2/fulqrum.egg-info/not-zip-safe +1 -0
- fulqrum-0.4.2/fulqrum.egg-info/requires.txt +5 -0
- fulqrum-0.4.2/fulqrum.egg-info/top_level.txt +2 -0
- fulqrum-0.4.2/pyproject.toml +16 -0
- fulqrum-0.4.2/qiskit-addon-sqd-hpc/include/qiskit/addon/sqd/configuration_recovery.hpp +276 -0
- fulqrum-0.4.2/qiskit-addon-sqd-hpc/include/qiskit/addon/sqd/internal/concepts.hpp +33 -0
- fulqrum-0.4.2/qiskit-addon-sqd-hpc/include/qiskit/addon/sqd/internal/exception-macros.hpp +41 -0
- fulqrum-0.4.2/qiskit-addon-sqd-hpc/include/qiskit/addon/sqd/internal/sample-without-replacement.hpp +133 -0
- fulqrum-0.4.2/qiskit-addon-sqd-hpc/include/qiskit/addon/sqd/postselection.hpp +157 -0
- fulqrum-0.4.2/qiskit-addon-sqd-hpc/include/qiskit/addon/sqd/subsampling.hpp +210 -0
- fulqrum-0.4.2/requirements.txt +5 -0
- fulqrum-0.4.2/setup.cfg +16 -0
- fulqrum-0.4.2/setup.py +163 -0
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
Copyright 2024 IBM and its contributors
|
|
2
|
+
|
|
3
|
+
Apache License
|
|
4
|
+
Version 2.0, January 2004
|
|
5
|
+
http://www.apache.org/licenses/
|
|
6
|
+
|
|
7
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
8
|
+
|
|
9
|
+
1. Definitions.
|
|
10
|
+
|
|
11
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
12
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
13
|
+
|
|
14
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
15
|
+
the copyright owner that is granting the License.
|
|
16
|
+
|
|
17
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
18
|
+
other entities that control, are controlled by, or are under common
|
|
19
|
+
control with that entity. For the purposes of this definition,
|
|
20
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
21
|
+
direction or management of such entity, whether by contract or
|
|
22
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
23
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
24
|
+
|
|
25
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
26
|
+
exercising permissions granted by this License.
|
|
27
|
+
|
|
28
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
29
|
+
including but not limited to software source code, documentation
|
|
30
|
+
source, and configuration files.
|
|
31
|
+
|
|
32
|
+
"Object" form shall mean any form resulting from mechanical
|
|
33
|
+
transformation or translation of a Source form, including but
|
|
34
|
+
not limited to compiled object code, generated documentation,
|
|
35
|
+
and conversions to other media types.
|
|
36
|
+
|
|
37
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
38
|
+
Object form, made available under the License, as indicated by a
|
|
39
|
+
copyright notice that is included in or attached to the work
|
|
40
|
+
(an example is provided in the Appendix below).
|
|
41
|
+
|
|
42
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
43
|
+
form, that is based on (or derived from) the Work and for which the
|
|
44
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
45
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
46
|
+
of this License, Derivative Works shall not include works that remain
|
|
47
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
48
|
+
the Work and Derivative Works thereof.
|
|
49
|
+
|
|
50
|
+
"Contribution" shall mean any work of authorship, including
|
|
51
|
+
the original version of the Work and any modifications or additions
|
|
52
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
53
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
54
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
55
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
56
|
+
means any form of electronic, verbal, or written communication sent
|
|
57
|
+
to the Licensor or its representatives, including but not limited to
|
|
58
|
+
communication on electronic mailing lists, source code control systems,
|
|
59
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
60
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
61
|
+
excluding communication that is conspicuously marked or otherwise
|
|
62
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
63
|
+
|
|
64
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
65
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
66
|
+
subsequently incorporated within the Work.
|
|
67
|
+
|
|
68
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
69
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
70
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
71
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
72
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
73
|
+
Work and such Derivative Works in Source or Object form.
|
|
74
|
+
|
|
75
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
76
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
77
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
78
|
+
(except as stated in this section) patent license to make, have made,
|
|
79
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
80
|
+
where such license applies only to those patent claims licensable
|
|
81
|
+
by such Contributor that are necessarily infringed by their
|
|
82
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
83
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
84
|
+
institute patent litigation against any entity (including a
|
|
85
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
86
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
87
|
+
or contributory patent infringement, then any patent licenses
|
|
88
|
+
granted to You under this License for that Work shall terminate
|
|
89
|
+
as of the date such litigation is filed.
|
|
90
|
+
|
|
91
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
92
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
93
|
+
modifications, and in Source or Object form, provided that You
|
|
94
|
+
meet the following conditions:
|
|
95
|
+
|
|
96
|
+
(a) You must give any other recipients of the Work or
|
|
97
|
+
Derivative Works a copy of this License; and
|
|
98
|
+
|
|
99
|
+
(b) You must cause any modified files to carry prominent notices
|
|
100
|
+
stating that You changed the files; and
|
|
101
|
+
|
|
102
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
103
|
+
that You distribute, all copyright, patent, trademark, and
|
|
104
|
+
attribution notices from the Source form of the Work,
|
|
105
|
+
excluding those notices that do not pertain to any part of
|
|
106
|
+
the Derivative Works; and
|
|
107
|
+
|
|
108
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
109
|
+
distribution, then any Derivative Works that You distribute must
|
|
110
|
+
include a readable copy of the attribution notices contained
|
|
111
|
+
within such NOTICE file, excluding those notices that do not
|
|
112
|
+
pertain to any part of the Derivative Works, in at least one
|
|
113
|
+
of the following places: within a NOTICE text file distributed
|
|
114
|
+
as part of the Derivative Works; within the Source form or
|
|
115
|
+
documentation, if provided along with the Derivative Works; or,
|
|
116
|
+
within a display generated by the Derivative Works, if and
|
|
117
|
+
wherever such third-party notices normally appear. The contents
|
|
118
|
+
of the NOTICE file are for informational purposes only and
|
|
119
|
+
do not modify the License. You may add Your own attribution
|
|
120
|
+
notices within Derivative Works that You distribute, alongside
|
|
121
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
122
|
+
that such additional attribution notices cannot be construed
|
|
123
|
+
as modifying the License.
|
|
124
|
+
|
|
125
|
+
You may add Your own copyright statement to Your modifications and
|
|
126
|
+
may provide additional or different license terms and conditions
|
|
127
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
128
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
129
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
130
|
+
the conditions stated in this License.
|
|
131
|
+
|
|
132
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
133
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
134
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
135
|
+
this License, without any additional terms or conditions.
|
|
136
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
137
|
+
the terms of any separate license agreement you may have executed
|
|
138
|
+
with Licensor regarding such Contributions.
|
|
139
|
+
|
|
140
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
141
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
142
|
+
except as required for reasonable and customary use in describing the
|
|
143
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
144
|
+
|
|
145
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
146
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
147
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
148
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
149
|
+
implied, including, without limitation, any warranties or conditions
|
|
150
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
151
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
152
|
+
appropriateness of using or redistributing the Work and assume any
|
|
153
|
+
risks associated with Your exercise of permissions under this License.
|
|
154
|
+
|
|
155
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
156
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
157
|
+
unless required by applicable law (such as deliberate and grossly
|
|
158
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
159
|
+
liable to You for damages, including any direct, indirect, special,
|
|
160
|
+
incidental, or consequential damages of any character arising as a
|
|
161
|
+
result of this License or out of the use or inability to use the
|
|
162
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
163
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
164
|
+
other commercial damages or losses), even if such Contributor
|
|
165
|
+
has been advised of the possibility of such damages.
|
|
166
|
+
|
|
167
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
168
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
169
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
170
|
+
or other liability obligations and/or rights consistent with this
|
|
171
|
+
License. However, in accepting such obligations, You may act only
|
|
172
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
173
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
174
|
+
defend, and hold each Contributor harmless for any liability
|
|
175
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
176
|
+
of your accepting any such warranty or additional liability.
|
|
177
|
+
|
|
178
|
+
END OF TERMS AND CONDITIONS
|
|
179
|
+
|
|
180
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
181
|
+
|
|
182
|
+
To apply the Apache License to your work, attach the following
|
|
183
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
184
|
+
replaced with your own identifying information. (Don't include
|
|
185
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
186
|
+
comment syntax for the file format. We also recommend that a
|
|
187
|
+
file or class name and description of purpose be included on the
|
|
188
|
+
same "printed page" as the copyright notice for easier
|
|
189
|
+
identification within third-party archives.
|
|
190
|
+
|
|
191
|
+
Copyright 2017 IBM and its contributors.
|
|
192
|
+
|
|
193
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
194
|
+
you may not use this file except in compliance with the License.
|
|
195
|
+
You may obtain a copy of the License at
|
|
196
|
+
|
|
197
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
198
|
+
|
|
199
|
+
Unless required by applicable law or agreed to in writing, software
|
|
200
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
201
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
202
|
+
See the License for the specific language governing permissions and
|
|
203
|
+
limitations under the License.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
include LICENSE.txt
|
|
2
|
+
include README.md
|
|
3
|
+
include requirements.txt
|
|
4
|
+
recursive-include fulqrum *.pxi
|
|
5
|
+
recursive-include fulqrum *.pxd
|
|
6
|
+
recursive-include fulqrum *.pyx
|
|
7
|
+
recursive-include fulqrum/core/src *.hpp
|
|
8
|
+
recursive-include fulqrum/test/data *.json
|
|
9
|
+
recursive-include fulqrum/include *.hpp
|
|
10
|
+
recursive-include fulqrum/core/src/external *.hpp
|
|
11
|
+
recursive-include fulqrum/core/src/external *.h
|
|
12
|
+
recursive-include qiskit-addon-sqd-hpc/include *.hpp
|
fulqrum-0.4.2/PKG-INFO
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: fulqrum
|
|
3
|
+
Version: 0.4.2
|
|
4
|
+
Requires-Python: >=3.10
|
|
5
|
+
License-File: LICENSE.txt
|
|
6
|
+
Requires-Dist: cython>=3.0.5
|
|
7
|
+
Requires-Dist: numpy>=2.0
|
|
8
|
+
Requires-Dist: orjson
|
|
9
|
+
Requires-Dist: psutil
|
|
10
|
+
Requires-Dist: scipy>=1.14.1
|
|
11
|
+
Dynamic: license-file
|
|
12
|
+
Dynamic: requires-dist
|
fulqrum-0.4.2/README.md
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# Fulqrum
|
|
6
|
+
|
|
7
|
+
A generalized framework for quantum subspace eigensolving.
|
|
8
|
+
|
|
9
|
+
Fulqrum is a set of tools for enabling the solution to large-scale Hamiltonian subspace eigenproblems over extended alphabets. Fulqrum was designed specifically with the goals of: (1) Providing a unified code base for solving both spin and fermionic systems. (2) Working for arbitrary numbers of qubits. (3) Reducing memory consumption, as compared to existing methods. And finally, (4) Decoupling operator construction from eigensolving itself. In addition to satisfying these goals, Fulqrum is performant, and beats other eigensolvers in terms of total runtime.
|
|
10
|
+
|
|
11
|
+
In addition to eigensolving itself, Fulqrum provides tools for generating compact subspaces that yield accurate solutions while potentially using orders of magnitude fewer bit-strings than standard quantum subspace methods alone.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## Documentation
|
|
15
|
+
|
|
16
|
+
Development docs: https://qiskit-community.github.io/fulqrum/dev/
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Requirements
|
|
23
|
+
|
|
24
|
+
Outside of standard Python packages Fulqrum requires some Boost headers and OpenMP 3+.
|
|
25
|
+
|
|
26
|
+
Required Boost header files are included in the ``third-party/boost`` directory, and therefore, no explicit installation of Boost is needed.
|
|
27
|
+
|
|
28
|
+
### Git submodule
|
|
29
|
+
|
|
30
|
+
Fulqrum uses [`qiskit-addon-sqd-hpc`](https://github.com/Qiskit/qiskit-addon-sqd-hpc) as a Git submodule. Therefore, we can do either of the following to get actual and required files from that repo:
|
|
31
|
+
|
|
32
|
+
Clone Fulqrum with `--recurse-submodules` flag, and it will also clone files from the submodule.
|
|
33
|
+
```bash
|
|
34
|
+
git clone --recurse-submodules https://github.com/qiskit-community/fulqrum.git
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
OR
|
|
38
|
+
|
|
39
|
+
After cloning Fulqrum normally, do a submodule update.
|
|
40
|
+
```bash
|
|
41
|
+
git clone https://github.com/qiskit-community/fulqrum.git
|
|
42
|
+
cd fulqrum
|
|
43
|
+
git submodule update --init --recursive
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Building files locally
|
|
47
|
+
|
|
48
|
+
In order to run the unittests locally, it is only necessary to build the Cython files inplace:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
python setup.py build_ext --inplace
|
|
52
|
+
```
|
|
53
|
+
you can add also use env flags such as `CC=clang CXX=clang++` or set the target architecture using `FQ_ARCH=znver4` (or whatever you have)
|
|
54
|
+
|
|
55
|
+
### Installation on Linux
|
|
56
|
+
|
|
57
|
+
Installation on Linux is simple:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
pip install .
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Installation on OSX
|
|
64
|
+
|
|
65
|
+
On OSX, to get OpenMP, one should install llvm using homebrew:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
brew install llvm
|
|
69
|
+
```
|
|
70
|
+
and the following, or something similar, added to the users `.zshrc` file:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
|
|
74
|
+
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
|
|
75
|
+
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Then installation of Fulqrum with openmp can be accomplished using a call like:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
CC=clang CXX=clang++ pip install .
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Parallel build
|
|
85
|
+
|
|
86
|
+
You can turn on parallel compilation by setting the environment variable
|
|
87
|
+
`FQ_BUILD_PARALLEL=<num threads>`, which can accelerate the build time. Example
|
|
88
|
+
with `8` parallel threads:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
# OSX
|
|
92
|
+
FQ_BUILD_PARALLEL=8 CC=clang CXX=clang++ pip install .
|
|
93
|
+
|
|
94
|
+
# Linux
|
|
95
|
+
FQ_BUILD_PARALLEL=8 pip install .
|
|
96
|
+
|
|
97
|
+
# local
|
|
98
|
+
FQ_BUILD_PARALLEL=8 python setup.py build_ext --inplace
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Runtime performance tuning
|
|
102
|
+
|
|
103
|
+
The type-2 build/matvec scripts (`csrlike_builder2`, `csr2`,
|
|
104
|
+
`matvec2`) allows two optional **runtime** environment variables for tuning. Both have defaults and are read at run time (no rebuild needed), so they are safe to leave unset.
|
|
105
|
+
|
|
106
|
+
| Variable | Default | Description |
|
|
107
|
+
| --- | --- | --- |
|
|
108
|
+
| `FQ_BLK` | `128` | The number of rows in a block of rows. FQ_BLK number of rows reuses a chunk of group_ladder_ptrs. Larger blocks give more reuse but risk overflowing the per-core cache; smaller blocks reduce reuse. `128` is a good middle ground. Values `<= 0` are ignored. |
|
|
109
|
+
| `FQ_LADDER_WIDTH` | `2` | Number of ladder bits used to bucket each group's terms, giving `2^FQ_LADDER_WIDTH` bins per group (so `2` → 4 bins, `4` → 16 bins). |
|
|
110
|
+
|
|
111
|
+
Both variables tune the speed only. They change no result.
|
|
112
|
+
|
|
113
|
+
Example: run a workload with a larger row block and finer ladder bucketing:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
FQ_BLK=256 FQ_LADDER_WIDTH=4 python your_workload.py
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## Running benchmarks
|
|
120
|
+
|
|
121
|
+
See the README.md in the `benchmarks` directory.
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
## Notes on `Subspace` input format
|
|
125
|
+
|
|
126
|
+
Two modes of input to subspace is supported:
|
|
127
|
+
1. **Half-string mode:** In this mode, the input `subspace_strs` to the `Subspace()` is a length-2
|
|
128
|
+
`tuple[list[str], list[str]]`, where the first element represents _alpha_ strings, and the second
|
|
129
|
+
one represents _beta_ strings. Internally, `fulqrum` will sort each list and perform a Cartesian product between the two lists to construct the full subspace. A full bitstring will be represented by `beta half str + alpha half str`, and the final length of subspace bitstring will be `len(beta half string) + len(alpha half string)`. For example, `[['100', '001, '010'], ['110', '000']]` is a valid input `subspace_strs` in half-string mode. The final subspace size will be `2 * 3 = 6`, with each bitstrings with `3 + 3 = 6` characters/bits. This mode is useful for chemistry applications. For instance, many popular chemistry packages such as PySCF takes alpha and beta strings separately and extends the subspace by taking Cartesian product. This mode enables PySCF-like functionality and keeps the memory requirement in check.
|
|
130
|
+
|
|
131
|
+
2. **Full-string mode:** In this mode, `subspace_strs` has to be length-1 `tuple[list[str]]`. In this mode, no Cartesian product is taken internally, and the supplied _full_ bitstrings are used as is after sorting.
|
|
132
|
+
|
|
133
|
+
**Note:** There is no special flag to denote half-string vs. full-string mode. `Fulqrum` will compute the length of the input `subspace_strs` and detect half-string or full-string mode automatically to construct the subspace. If `subspace_strs` has a different length other than 1 or 2 or its element(s) is not `list[str]`, it will throw an `TypeError`.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# This code is a Qiskit project.
|
|
2
|
+
#
|
|
3
|
+
# (C) Copyright IBM 2024.
|
|
4
|
+
#
|
|
5
|
+
# This code is licensed under the Apache License, Version 2.0. You may
|
|
6
|
+
# obtain a copy of this license in the LICENSE.txt file in the root directory
|
|
7
|
+
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
|
|
8
|
+
#
|
|
9
|
+
# Any modifications or derivative works of this code must retain this
|
|
10
|
+
# copyright notice, and modified files need to carry a notice indicating
|
|
11
|
+
# that they have been altered from the originals.
|
|
12
|
+
import os
|
|
13
|
+
|
|
14
|
+
os.environ["OPENBLAS_NUM_THREADS"] = "1"
|
|
15
|
+
from .config import Configuration
|
|
16
|
+
|
|
17
|
+
__all__ = ["Configuration"]
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# This code is a Qiskit project.
|
|
2
|
+
#
|
|
3
|
+
# (C) Copyright IBM 2024.
|
|
4
|
+
#
|
|
5
|
+
# This code is licensed under the Apache License, Version 2.0. You may
|
|
6
|
+
# obtain a copy of this license in the LICENSE.txt file in the root directory
|
|
7
|
+
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
|
|
8
|
+
#
|
|
9
|
+
# Any modifications or derivative works of this code must retain this
|
|
10
|
+
# copyright notice, and modified files need to carry a notice indicating
|
|
11
|
+
# that they have been altered from the originals.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
"""Utils for reading a config file"""
|
|
15
|
+
|
|
16
|
+
import configparser
|
|
17
|
+
import os
|
|
18
|
+
from ast import literal_eval
|
|
19
|
+
|
|
20
|
+
DEFAULT_FILENAME = os.path.abspath(
|
|
21
|
+
os.path.join(os.path.dirname(__file__), "default.conf")
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class FulqrumConfig:
|
|
26
|
+
"""Class representing a user config file
|
|
27
|
+
|
|
28
|
+
The config file format should be in a form that looks like
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
def __init__(self, filename=None):
|
|
32
|
+
"""Create a FulqrumConfig
|
|
33
|
+
|
|
34
|
+
Args:
|
|
35
|
+
filename (str): The path to the user config file. If one isn't
|
|
36
|
+
specified the `default.config` file in the parent dir is used
|
|
37
|
+
"""
|
|
38
|
+
if filename is None:
|
|
39
|
+
self.filename = DEFAULT_FILENAME
|
|
40
|
+
else:
|
|
41
|
+
self.filename = filename
|
|
42
|
+
self.options = {}
|
|
43
|
+
self.config_parser = configparser.ConfigParser()
|
|
44
|
+
# read file
|
|
45
|
+
self.config_parser.read(self.filename)
|
|
46
|
+
for sec in self.config_parser.sections():
|
|
47
|
+
self.options[sec] = {}
|
|
48
|
+
for item in list(self.config_parser.items(sec)):
|
|
49
|
+
self.options[sec][item[0]] = literal_eval(item[1])
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
Configuration = FulqrumConfig()
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# This code is a Qiskit project.
|
|
2
|
+
#
|
|
3
|
+
# (C) Copyright IBM 2024.
|
|
4
|
+
#
|
|
5
|
+
# This code is licensed under the Apache License, Version 2.0. You may
|
|
6
|
+
# obtain a copy of this license in the LICENSE.txt file in the root directory
|
|
7
|
+
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
|
|
8
|
+
#
|
|
9
|
+
# Any modifications or derivative works of this code must retain this
|
|
10
|
+
# copyright notice, and modified files need to carry a notice indicating
|
|
11
|
+
# that they have been altered from the originals.
|
|
12
|
+
# conftest.py
|
|
13
|
+
import time
|
|
14
|
+
import numpy
|
|
15
|
+
import scipy
|
|
16
|
+
import pytest
|
|
17
|
+
import fulqrum
|
|
18
|
+
from packaging.version import parse
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# function executed right after test items collected but before test run
|
|
22
|
+
def pytest_collection_modifyitems(config, items):
|
|
23
|
+
if not config.getoption("-m"):
|
|
24
|
+
skip_me = pytest.mark.skip(reason="use `-m long` to run this test")
|
|
25
|
+
for item in items:
|
|
26
|
+
if "long" in item.keywords:
|
|
27
|
+
item.add_marker(skip_me)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def pytest_benchmark_update_json(config, benchmarks, output_json):
|
|
31
|
+
"""Adds custom sections to the pytest-benchmark report"""
|
|
32
|
+
reporter = config.pluginmanager.get_plugin("terminalreporter")
|
|
33
|
+
|
|
34
|
+
# 8.4.0 changed the internal attribute and type that session start
|
|
35
|
+
# is recorded at. There does not seem to be a public api for it on
|
|
36
|
+
# the terminal reporter so this lets us support both 8.4.0 or older
|
|
37
|
+
# versions
|
|
38
|
+
pytest_version = parse(pytest.__version__)
|
|
39
|
+
if pytest_version.release >= (8, 4, 0):
|
|
40
|
+
output_json["total_duration"] = time.time() - reporter._session_start.time
|
|
41
|
+
else:
|
|
42
|
+
output_json["total_duration"] = time.time() - reporter._sessionstarttime
|
|
43
|
+
|
|
44
|
+
output_json["env_info"] = {
|
|
45
|
+
"fulqrum": str(fulqrum.__version__),
|
|
46
|
+
"numpy": str(numpy.__version__),
|
|
47
|
+
"scipy": str(scipy.__version__),
|
|
48
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# This code is a part of Fulqrum.
|
|
2
|
+
#
|
|
3
|
+
# (C) Copyright IBM 2024.
|
|
4
|
+
#
|
|
5
|
+
# This code is licensed under the Apache License, Version 2.0. You may
|
|
6
|
+
# obtain a copy of this license in the LICENSE.txt file in the root directory
|
|
7
|
+
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
|
|
8
|
+
#
|
|
9
|
+
# Any modifications or derivative works of this code must retain this
|
|
10
|
+
# copyright notice, and modified files need to carry a notice indicating
|
|
11
|
+
# that they have been altered from the originals.
|
|
12
|
+
|
|
13
|
+
"""Fulqrum"""
|
|
14
|
+
|
|
15
|
+
__version__ = "0.4.2"
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from .core import (
|
|
19
|
+
QubitOperator,
|
|
20
|
+
Subspace,
|
|
21
|
+
SubspaceHamiltonian,
|
|
22
|
+
FermionicOperator,
|
|
23
|
+
Bitset,
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
import fulqrum.core.constants as constants
|
|
27
|
+
|
|
28
|
+
__all__ = [
|
|
29
|
+
"QubitOperator",
|
|
30
|
+
"Subspace",
|
|
31
|
+
"SubspaceHamiltonian",
|
|
32
|
+
"FermionicOperator",
|
|
33
|
+
"Bitset",
|
|
34
|
+
"constants",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def about():
|
|
39
|
+
"""About Fulqrum"""
|
|
40
|
+
print("")
|
|
41
|
+
print("███████ ██ ██ ██ ██████ ██████ ██ ██ ████ ████")
|
|
42
|
+
print("██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██")
|
|
43
|
+
print("█████ ██ ██ ██ ██ ██ ██████ ██ ██ ██ ████ ██")
|
|
44
|
+
print("██ ██ ██ ██ ██ ▄▄ ██ ██ ██ ██ ██ ██ ████ ██")
|
|
45
|
+
print("██ ██████ ███████ ██████ ██ ██ ██████ ██ ████ ██")
|
|
46
|
+
print("")
|
|
47
|
+
print("(C) Copyright IBM 2024")
|
|
48
|
+
print("Paul D. Nation, Abdullah Saki, and Hwajung Kang")
|
|
49
|
+
print(f"Fulqrum version: {__version__}")
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def get_include():
|
|
53
|
+
import os
|
|
54
|
+
|
|
55
|
+
dir_path = os.path.dirname(os.path.realpath(__file__))
|
|
56
|
+
return dir_path + os.sep + "include"
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# This code is a part of Fulqrum.
|
|
2
|
+
#
|
|
3
|
+
# (C) Copyright IBM 2024.
|
|
4
|
+
#
|
|
5
|
+
# This code is licensed under the Apache License, Version 2.0. You may
|
|
6
|
+
# obtain a copy of this license in the LICENSE.txt file in the root directory
|
|
7
|
+
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
|
|
8
|
+
#
|
|
9
|
+
# Any modifications or derivative works of this code must retain this
|
|
10
|
+
# copyright notice, and modified files need to carry a notice indicating
|
|
11
|
+
# that they have been altered from the originals.
|
|
12
|
+
|
|
13
|
+
"""Conversion utilities"""
|
|
14
|
+
|
|
15
|
+
from .openfermion import (
|
|
16
|
+
openfermion_fermi_op_to_fulqrum,
|
|
17
|
+
openfermion_qubit_op_to_fulqrum,
|
|
18
|
+
)
|
|
19
|
+
from .qiskit import (
|
|
20
|
+
sparsepauli_to_fulqrum,
|
|
21
|
+
qiskit_nature_fermi_op_to_fulqrum,
|
|
22
|
+
)
|
|
23
|
+
from .integrals import integrals_to_fq_fermionic_op, fcidump_to_fq_fermionic_op
|
|
24
|
+
|
|
25
|
+
__all__ = [
|
|
26
|
+
"openfermion_fermi_op_to_fulqrum",
|
|
27
|
+
"openfermion_qubit_op_to_fulqrum",
|
|
28
|
+
"sparsepauli_to_fulqrum",
|
|
29
|
+
"qiskit_nature_fermi_op_to_fulqrum",
|
|
30
|
+
"integrals_to_fq_fermionic_op",
|
|
31
|
+
"fcidump_to_fq_fermionic_op",
|
|
32
|
+
]
|