├── .clang-format ├── .github └── workflows │ ├── deploy_docs.yml │ ├── linux.yml │ └── macos.yml ├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── LICENSE ├── NEWS.md ├── README.md ├── config ├── FindScaLAPACK.cmake ├── TeNeSConfig.cmake.in ├── check_omp.cpp ├── check_openmpi.cpp ├── check_sgimpt.cpp └── openmp.cmake ├── deps └── boost │ └── include │ └── boost │ ├── assert.hpp │ ├── assert │ └── source_location.hpp │ ├── config.hpp │ ├── config │ ├── abi │ │ ├── borland_prefix.hpp │ │ ├── borland_suffix.hpp │ │ ├── msvc_prefix.hpp │ │ └── msvc_suffix.hpp │ ├── abi_prefix.hpp │ ├── abi_suffix.hpp │ ├── assert_cxx03.hpp │ ├── assert_cxx11.hpp │ ├── assert_cxx14.hpp │ ├── assert_cxx17.hpp │ ├── assert_cxx20.hpp │ ├── assert_cxx98.hpp │ ├── auto_link.hpp │ ├── compiler │ │ ├── borland.hpp │ │ ├── clang.hpp │ │ ├── clang_version.hpp │ │ ├── codegear.hpp │ │ ├── comeau.hpp │ │ ├── common_edg.hpp │ │ ├── compaq_cxx.hpp │ │ ├── cray.hpp │ │ ├── diab.hpp │ │ ├── digitalmars.hpp │ │ ├── gcc.hpp │ │ ├── gcc_xml.hpp │ │ ├── greenhills.hpp │ │ ├── hp_acc.hpp │ │ ├── intel.hpp │ │ ├── kai.hpp │ │ ├── metrowerks.hpp │ │ ├── mpw.hpp │ │ ├── nvcc.hpp │ │ ├── pathscale.hpp │ │ ├── pgi.hpp │ │ ├── sgi_mipspro.hpp │ │ ├── sunpro_cc.hpp │ │ ├── vacpp.hpp │ │ ├── visualc.hpp │ │ ├── xlcpp.hpp │ │ └── xlcpp_zos.hpp │ ├── detail │ │ ├── cxx_composite.hpp │ │ ├── posix_features.hpp │ │ ├── select_compiler_config.hpp │ │ ├── select_platform_config.hpp │ │ ├── select_stdlib_config.hpp │ │ └── suffix.hpp │ ├── header_deprecated.hpp │ ├── helper_macros.hpp │ ├── no_tr1 │ │ ├── cmath.hpp │ │ ├── complex.hpp │ │ ├── functional.hpp │ │ ├── memory.hpp │ │ └── utility.hpp │ ├── platform │ │ ├── aix.hpp │ │ ├── amigaos.hpp │ │ ├── beos.hpp │ │ ├── bsd.hpp │ │ ├── cloudabi.hpp │ │ ├── cray.hpp │ │ ├── cygwin.hpp │ │ ├── haiku.hpp │ │ ├── hpux.hpp │ │ ├── irix.hpp │ │ ├── linux.hpp │ │ ├── macos.hpp │ │ ├── qnxnto.hpp │ │ ├── solaris.hpp │ │ ├── symbian.hpp │ │ ├── vms.hpp │ │ ├── vxworks.hpp │ │ ├── wasm.hpp │ │ ├── win32.hpp │ │ └── zos.hpp │ ├── pragma_message.hpp │ ├── requires_threads.hpp │ ├── stdlib │ │ ├── dinkumware.hpp │ │ ├── libcomo.hpp │ │ ├── libcpp.hpp │ │ ├── libstdcpp3.hpp │ │ ├── modena.hpp │ │ ├── msl.hpp │ │ ├── roguewave.hpp │ │ ├── sgi.hpp │ │ ├── stlport.hpp │ │ ├── vacpp.hpp │ │ └── xlcpp_zos.hpp │ ├── user.hpp │ ├── warning_disable.hpp │ └── workaround.hpp │ ├── core │ ├── addressof.hpp │ ├── demangle.hpp │ ├── enable_if.hpp │ ├── explicit_operator_bool.hpp │ └── swap.hpp │ ├── cstdint.hpp │ ├── current_function.hpp │ ├── detail │ ├── reference_content.hpp │ └── workaround.hpp │ ├── exception │ └── exception.hpp │ ├── limits.hpp │ ├── move │ ├── core.hpp │ ├── detail │ │ ├── addressof.hpp │ │ ├── config_begin.hpp │ │ ├── config_end.hpp │ │ ├── meta_utils.hpp │ │ ├── meta_utils_core.hpp │ │ ├── type_traits.hpp │ │ └── workaround.hpp │ ├── traits.hpp │ ├── utility.hpp │ └── utility_core.hpp │ ├── none.hpp │ ├── none_t.hpp │ ├── optional.hpp │ ├── optional │ ├── bad_optional_access.hpp │ ├── detail │ │ ├── experimental_traits.hpp │ │ ├── old_optional_implementation.hpp │ │ ├── optional_aligned_storage.hpp │ │ ├── optional_config.hpp │ │ ├── optional_factory_support.hpp │ │ ├── optional_hash.hpp │ │ ├── optional_reference_spec.hpp │ │ ├── optional_relops.hpp │ │ ├── optional_swap.hpp │ │ └── optional_trivially_copyable_base.hpp │ ├── optional.hpp │ ├── optional_fwd.hpp │ └── optional_io.hpp │ ├── predef.h │ ├── predef │ ├── architecture.h │ ├── architecture │ │ ├── alpha.h │ │ ├── arm.h │ │ ├── blackfin.h │ │ ├── convex.h │ │ ├── e2k.h │ │ ├── ia64.h │ │ ├── loongarch.h │ │ ├── m68k.h │ │ ├── mips.h │ │ ├── parisc.h │ │ ├── ppc.h │ │ ├── ptx.h │ │ ├── pyramid.h │ │ ├── riscv.h │ │ ├── rs6k.h │ │ ├── sparc.h │ │ ├── superh.h │ │ ├── sys370.h │ │ ├── sys390.h │ │ ├── x86.h │ │ ├── x86 │ │ │ ├── 32.h │ │ │ └── 64.h │ │ └── z.h │ ├── compiler.h │ ├── compiler │ │ ├── borland.h │ │ ├── clang.h │ │ ├── comeau.h │ │ ├── compaq.h │ │ ├── diab.h │ │ ├── digitalmars.h │ │ ├── dignus.h │ │ ├── edg.h │ │ ├── ekopath.h │ │ ├── gcc.h │ │ ├── gcc_xml.h │ │ ├── greenhills.h │ │ ├── hp_acc.h │ │ ├── iar.h │ │ ├── ibm.h │ │ ├── intel.h │ │ ├── kai.h │ │ ├── llvm.h │ │ ├── metaware.h │ │ ├── metrowerks.h │ │ ├── microtec.h │ │ ├── mpw.h │ │ ├── nvcc.h │ │ ├── palm.h │ │ ├── pgi.h │ │ ├── sgi_mipspro.h │ │ ├── sunpro.h │ │ ├── tendra.h │ │ ├── visualc.h │ │ └── watcom.h │ ├── detail │ │ ├── _cassert.h │ │ ├── _exception.h │ │ ├── comp_detected.h │ │ ├── os_detected.h │ │ ├── platform_detected.h │ │ └── test.h │ ├── hardware.h │ ├── hardware │ │ ├── simd.h │ │ └── simd │ │ │ ├── arm.h │ │ │ ├── arm │ │ │ └── versions.h │ │ │ ├── ppc.h │ │ │ ├── ppc │ │ │ └── versions.h │ │ │ ├── x86.h │ │ │ ├── x86 │ │ │ └── versions.h │ │ │ ├── x86_amd.h │ │ │ └── x86_amd │ │ │ └── versions.h │ ├── language.h │ ├── language │ │ ├── cuda.h │ │ ├── objc.h │ │ ├── stdc.h │ │ └── stdcpp.h │ ├── library.h │ ├── library │ │ ├── c.h │ │ ├── c │ │ │ ├── _prefix.h │ │ │ ├── cloudabi.h │ │ │ ├── gnu.h │ │ │ ├── uc.h │ │ │ ├── vms.h │ │ │ └── zos.h │ │ ├── std.h │ │ └── std │ │ │ ├── _prefix.h │ │ │ ├── cxx.h │ │ │ ├── dinkumware.h │ │ │ ├── libcomo.h │ │ │ ├── modena.h │ │ │ ├── msl.h │ │ │ ├── roguewave.h │ │ │ ├── sgi.h │ │ │ ├── stdcpp3.h │ │ │ ├── stlport.h │ │ │ └── vacpp.h │ ├── make.h │ ├── os.h │ ├── os │ │ ├── aix.h │ │ ├── amigaos.h │ │ ├── beos.h │ │ ├── bsd.h │ │ ├── bsd │ │ │ ├── bsdi.h │ │ │ ├── dragonfly.h │ │ │ ├── free.h │ │ │ ├── net.h │ │ │ └── open.h │ │ ├── cygwin.h │ │ ├── haiku.h │ │ ├── hpux.h │ │ ├── ios.h │ │ ├── irix.h │ │ ├── linux.h │ │ ├── macos.h │ │ ├── os400.h │ │ ├── qnxnto.h │ │ ├── solaris.h │ │ ├── unix.h │ │ ├── vms.h │ │ └── windows.h │ ├── other.h │ ├── other │ │ ├── endian.h │ │ ├── wordsize.h │ │ └── workaround.h │ ├── platform.h │ ├── platform │ │ ├── android.h │ │ ├── cloudabi.h │ │ ├── ios.h │ │ ├── mingw.h │ │ ├── mingw32.h │ │ ├── mingw64.h │ │ ├── windows_desktop.h │ │ ├── windows_phone.h │ │ ├── windows_runtime.h │ │ ├── windows_server.h │ │ ├── windows_store.h │ │ ├── windows_system.h │ │ └── windows_uwp.h │ ├── version.h │ └── version_number.h │ ├── preprocessor │ ├── arithmetic │ │ ├── dec.hpp │ │ ├── inc.hpp │ │ └── limits │ │ │ ├── dec_1024.hpp │ │ │ ├── dec_256.hpp │ │ │ ├── dec_512.hpp │ │ │ ├── inc_1024.hpp │ │ │ ├── inc_256.hpp │ │ │ └── inc_512.hpp │ ├── array │ │ ├── data.hpp │ │ ├── elem.hpp │ │ └── size.hpp │ ├── cat.hpp │ ├── config │ │ ├── config.hpp │ │ └── limits.hpp │ ├── control │ │ ├── if.hpp │ │ └── iif.hpp │ ├── debug │ │ └── error.hpp │ ├── detail │ │ ├── auto_rec.hpp │ │ ├── dmc │ │ │ └── auto_rec.hpp │ │ └── limits │ │ │ ├── auto_rec_1024.hpp │ │ │ ├── auto_rec_256.hpp │ │ │ └── auto_rec_512.hpp │ ├── facilities │ │ ├── check_empty.hpp │ │ ├── detail │ │ │ └── is_empty.hpp │ │ ├── empty.hpp │ │ ├── expand.hpp │ │ ├── intercept.hpp │ │ ├── is_1.hpp │ │ ├── is_empty.hpp │ │ ├── is_empty_variadic.hpp │ │ ├── limits │ │ │ ├── intercept_1024.hpp │ │ │ ├── intercept_256.hpp │ │ │ └── intercept_512.hpp │ │ └── overload.hpp │ ├── iteration │ │ └── iterate.hpp │ ├── logical │ │ ├── bool.hpp │ │ └── limits │ │ │ ├── bool_1024.hpp │ │ │ ├── bool_256.hpp │ │ │ └── bool_512.hpp │ ├── punctuation │ │ ├── comma.hpp │ │ ├── comma_if.hpp │ │ ├── detail │ │ │ └── is_begin_parens.hpp │ │ └── is_begin_parens.hpp │ ├── repetition │ │ ├── enum_binary_params.hpp │ │ ├── enum_params.hpp │ │ ├── enum_shifted_params.hpp │ │ ├── enum_trailing_params.hpp │ │ ├── limits │ │ │ ├── repeat_1024.hpp │ │ │ ├── repeat_256.hpp │ │ │ └── repeat_512.hpp │ │ └── repeat.hpp │ ├── slot │ │ ├── detail │ │ │ ├── counter.hpp │ │ │ ├── def.hpp │ │ │ ├── shared.hpp │ │ │ ├── slot1.hpp │ │ │ ├── slot2.hpp │ │ │ ├── slot3.hpp │ │ │ ├── slot4.hpp │ │ │ └── slot5.hpp │ │ └── slot.hpp │ ├── tuple │ │ ├── detail │ │ │ └── is_single_return.hpp │ │ ├── eat.hpp │ │ ├── elem.hpp │ │ ├── rem.hpp │ │ └── size.hpp │ └── variadic │ │ ├── detail │ │ └── has_opt.hpp │ │ ├── elem.hpp │ │ ├── has_opt.hpp │ │ ├── limits │ │ ├── elem_128.hpp │ │ ├── elem_256.hpp │ │ ├── elem_64.hpp │ │ ├── size_128.hpp │ │ ├── size_256.hpp │ │ └── size_64.hpp │ │ └── size.hpp │ ├── static_assert.hpp │ ├── throw_exception.hpp │ ├── type.hpp │ ├── type_traits.hpp │ ├── type_traits │ ├── add_const.hpp │ ├── add_cv.hpp │ ├── add_lvalue_reference.hpp │ ├── add_pointer.hpp │ ├── add_reference.hpp │ ├── add_rvalue_reference.hpp │ ├── add_volatile.hpp │ ├── aligned_storage.hpp │ ├── alignment_of.hpp │ ├── common_type.hpp │ ├── conditional.hpp │ ├── conjunction.hpp │ ├── copy_cv.hpp │ ├── copy_cv_ref.hpp │ ├── copy_reference.hpp │ ├── decay.hpp │ ├── declval.hpp │ ├── detail │ │ ├── common_arithmetic_type.hpp │ │ ├── common_type_impl.hpp │ │ ├── composite_member_pointer_type.hpp │ │ ├── composite_pointer_type.hpp │ │ ├── config.hpp │ │ ├── has_binary_operator.hpp │ │ ├── has_postfix_operator.hpp │ │ ├── has_prefix_operator.hpp │ │ ├── is_function_cxx_03.hpp │ │ ├── is_function_cxx_11.hpp │ │ ├── is_function_msvc10_fix.hpp │ │ ├── is_function_ptr_helper.hpp │ │ ├── is_function_ptr_tester.hpp │ │ ├── is_likely_lambda.hpp │ │ ├── is_mem_fun_pointer_impl.hpp │ │ ├── is_mem_fun_pointer_tester.hpp │ │ ├── is_member_function_pointer_cxx_03.hpp │ │ ├── is_member_function_pointer_cxx_11.hpp │ │ ├── is_rvalue_reference_msvc10_fix.hpp │ │ ├── mp_defer.hpp │ │ └── yes_no_type.hpp │ ├── disjunction.hpp │ ├── enable_if.hpp │ ├── extent.hpp │ ├── floating_point_promotion.hpp │ ├── function_traits.hpp │ ├── has_bit_and.hpp │ ├── has_bit_and_assign.hpp │ ├── has_bit_or.hpp │ ├── has_bit_or_assign.hpp │ ├── has_bit_xor.hpp │ ├── has_bit_xor_assign.hpp │ ├── has_complement.hpp │ ├── has_dereference.hpp │ ├── has_divides.hpp │ ├── has_divides_assign.hpp │ ├── has_equal_to.hpp │ ├── has_greater.hpp │ ├── has_greater_equal.hpp │ ├── has_left_shift.hpp │ ├── has_left_shift_assign.hpp │ ├── has_less.hpp │ ├── has_less_equal.hpp │ ├── has_logical_and.hpp │ ├── has_logical_not.hpp │ ├── has_logical_or.hpp │ ├── has_minus.hpp │ ├── has_minus_assign.hpp │ ├── has_modulus.hpp │ ├── has_modulus_assign.hpp │ ├── has_multiplies.hpp │ ├── has_multiplies_assign.hpp │ ├── has_negate.hpp │ ├── has_new_operator.hpp │ ├── has_not_equal_to.hpp │ ├── has_nothrow_assign.hpp │ ├── has_nothrow_constructor.hpp │ ├── has_nothrow_copy.hpp │ ├── has_nothrow_destructor.hpp │ ├── has_plus.hpp │ ├── has_plus_assign.hpp │ ├── has_post_decrement.hpp │ ├── has_post_increment.hpp │ ├── has_pre_decrement.hpp │ ├── has_pre_increment.hpp │ ├── has_right_shift.hpp │ ├── has_right_shift_assign.hpp │ ├── has_trivial_assign.hpp │ ├── has_trivial_constructor.hpp │ ├── has_trivial_copy.hpp │ ├── has_trivial_destructor.hpp │ ├── has_trivial_move_assign.hpp │ ├── has_trivial_move_constructor.hpp │ ├── has_unary_minus.hpp │ ├── has_unary_plus.hpp │ ├── has_virtual_destructor.hpp │ ├── integral_constant.hpp │ ├── integral_promotion.hpp │ ├── intrinsics.hpp │ ├── is_abstract.hpp │ ├── is_arithmetic.hpp │ ├── is_array.hpp │ ├── is_assignable.hpp │ ├── is_base_and_derived.hpp │ ├── is_base_of.hpp │ ├── is_class.hpp │ ├── is_complete.hpp │ ├── is_complex.hpp │ ├── is_compound.hpp │ ├── is_const.hpp │ ├── is_constructible.hpp │ ├── is_convertible.hpp │ ├── is_copy_assignable.hpp │ ├── is_copy_constructible.hpp │ ├── is_default_constructible.hpp │ ├── is_destructible.hpp │ ├── is_empty.hpp │ ├── is_enum.hpp │ ├── is_final.hpp │ ├── is_float.hpp │ ├── is_floating_point.hpp │ ├── is_function.hpp │ ├── is_fundamental.hpp │ ├── is_integral.hpp │ ├── is_list_constructible.hpp │ ├── is_lvalue_reference.hpp │ ├── is_member_function_pointer.hpp │ ├── is_member_object_pointer.hpp │ ├── is_member_pointer.hpp │ ├── is_noncopyable.hpp │ ├── is_nothrow_move_assignable.hpp │ ├── is_nothrow_move_constructible.hpp │ ├── is_nothrow_swappable.hpp │ ├── is_object.hpp │ ├── is_pod.hpp │ ├── is_pointer.hpp │ ├── is_polymorphic.hpp │ ├── is_reference.hpp │ ├── is_rvalue_reference.hpp │ ├── is_same.hpp │ ├── is_scalar.hpp │ ├── is_scoped_enum.hpp │ ├── is_signed.hpp │ ├── is_stateless.hpp │ ├── is_trivially_copyable.hpp │ ├── is_union.hpp │ ├── is_unscoped_enum.hpp │ ├── is_unsigned.hpp │ ├── is_virtual_base_of.hpp │ ├── is_void.hpp │ ├── is_volatile.hpp │ ├── make_signed.hpp │ ├── make_unsigned.hpp │ ├── make_void.hpp │ ├── negation.hpp │ ├── promote.hpp │ ├── rank.hpp │ ├── remove_all_extents.hpp │ ├── remove_bounds.hpp │ ├── remove_const.hpp │ ├── remove_cv.hpp │ ├── remove_cv_ref.hpp │ ├── remove_extent.hpp │ ├── remove_pointer.hpp │ ├── remove_reference.hpp │ ├── remove_volatile.hpp │ ├── type_identity.hpp │ └── type_with_alignment.hpp │ ├── utility │ ├── compare_pointees.hpp │ ├── detail │ │ ├── result_of_iterate.hpp │ │ └── result_of_variadic.hpp │ └── result_of.hpp │ └── version.hpp ├── docs ├── doxygen │ └── Doxyfile └── sphinx │ ├── .gitignore │ ├── CMakeLists.txt │ ├── en │ ├── CMakeLists.txt │ ├── about │ │ ├── index.rst │ │ └── info.rst │ ├── acknowledge │ │ └── index.rst │ ├── algorithm │ │ ├── algorithms.rst │ │ └── index.rst │ ├── conf.py │ ├── contact │ │ └── index.rst │ ├── faq.rst │ ├── file_specification │ │ ├── correlation_length_section.rst │ │ ├── correlation_section.rst │ │ ├── expert_format.rst │ │ ├── index.rst │ │ ├── input_summary.rst │ │ ├── observable_section.rst │ │ ├── output_format.rst │ │ ├── parameter_section.rst │ │ ├── simple_format.rst │ │ ├── standard_format.rst │ │ └── tensor_section.rst │ ├── how_to_use │ │ ├── expert_usage.rst │ │ ├── index.rst │ │ ├── simple_usage.rst │ │ └── standard_usage.rst │ ├── index.rst │ ├── install.rst │ └── tutorial │ │ ├── 01_transverse_field_ising.rst │ │ ├── 02_time_evolution.rst │ │ ├── 03_finite_temperature.rst │ │ ├── 04_magnetization.rst │ │ ├── 05_hardcore_boson_triangular.rst │ │ ├── 06_std_model.rst │ │ └── index.rst │ ├── img │ ├── CTM.pdf │ ├── CTM.png │ ├── CandE.pdf │ ├── CandE.png │ ├── Copy.pdf │ ├── Copy.png │ ├── HoneycombLattice.pdf │ ├── HoneycombLattice.png │ ├── J.pdf │ ├── J.png │ ├── KagomeLattice.pdf │ ├── KagomeLattice.png │ ├── LeftMove.pdf │ ├── LeftMove.png │ ├── MPO.pdf │ ├── MPO.png │ ├── MPS.pdf │ ├── MPS.png │ ├── Simple_opt.pdf │ ├── Simple_opt.png │ ├── Simple_update.pdf │ ├── Simple_update.png │ ├── SquareLattice.pdf │ ├── SquareLattice.png │ ├── Sz.pdf │ ├── Sz.png │ ├── SzSz.pdf │ ├── SzSz.png │ ├── TeNeS_logo.ai │ ├── TeNeS_logo.jpg │ ├── TeNeS_logo.pdf │ ├── TeNeS_logo.png │ ├── TeNeS_logo_banner.jpg │ ├── TeNeS_logo_banner.pdf │ ├── TeNeS_logo_banner.png │ ├── TriangularLattice.pdf │ ├── TriangularLattice.png │ ├── double_tensor.pdf │ ├── double_tensor.png │ ├── en_tutorial_1_Hamiltonian.pdf │ ├── en_tutorial_1_Hamiltonian.png │ ├── en_tutorial_1_Observable.pdf │ ├── en_tutorial_1_Observable.png │ ├── en_tutorial_1_Tensor.pdf │ ├── en_tutorial_1_Tensor.png │ ├── iMPO.pdf │ ├── iMPO.png │ ├── iMPO_ITE_local.pdf │ ├── iMPO_ITE_local.png │ ├── iMPO_T0.pdf │ ├── iMPO_T0.png │ ├── iMPS.pdf │ ├── iMPS.png │ ├── iMPS_ITE.pdf │ ├── iMPS_ITE.png │ ├── iMPS_ITE_iMPS.pdf │ ├── iMPS_ITE_iMPS.png │ ├── iMPS_ITE_local.pdf │ ├── iMPS_ITE_local.png │ ├── iTPO.pdf │ ├── iTPO.png │ ├── iTPS.pdf │ ├── iTPS.png │ ├── iTPS_braket.pdf │ ├── iTPS_braket.png │ ├── ja_tutorial_1_Hamiltonian.pdf │ ├── ja_tutorial_1_Hamiltonian.png │ ├── ja_tutorial_1_Observable.pdf │ ├── ja_tutorial_1_Observable.png │ ├── ja_tutorial_1_Tensor.pdf │ ├── ja_tutorial_1_Tensor.png │ ├── obs_sec_fig1.pdf │ ├── obs_sec_fig1.png │ ├── tenes_flow.pdf │ ├── tenes_flow.png │ ├── tensor_sec_fig1.pdf │ ├── tensor_sec_fig1.png │ ├── tensor_sec_fig2.pdf │ ├── tensor_sec_fig2.png │ ├── trace_Sz.pdf │ ├── trace_Sz.png │ ├── trace_tensor.pdf │ ├── trace_tensor.png │ ├── tutorial_03_finitetemperature.pdf │ ├── tutorial_03_finitetemperature.png │ ├── tutorial_07_timeevolution.eps │ ├── tutorial_07_timeevolution.pdf │ ├── tutorial_07_timeevolution.png │ ├── tutorial_07_timeevolution_D10.ai │ ├── tutorial_07_timeevolution_D10.eps │ ├── tutorial_07_timeevolution_D10.pdf │ ├── tutorial_07_timeevolution_D10.png │ ├── tutorial_08_finitetemperature.pdf │ ├── tutorial_08_finitetemperature.png │ ├── tutorial_1_Sz_vs_G.pdf │ ├── tutorial_1_Sz_vs_G.png │ ├── tutorial_5_square.pdf │ ├── tutorial_5_square.png │ ├── tutorial_5_triangular.pdf │ ├── tutorial_5_triangular.png │ ├── tutorial_6_hardcore_boson.pdf │ └── tutorial_6_hardcore_boson.png │ └── ja │ ├── CMakeLists.txt │ ├── about │ ├── index.rst │ └── info.rst │ ├── acknowledge │ └── index.rst │ ├── algorithm │ ├── algorithms.rst │ └── index.rst │ ├── conf.py │ ├── contact │ └── index.rst │ ├── faq.rst │ ├── file_specification │ ├── correlation_length_section.rst │ ├── correlation_section.rst │ ├── expert_format.rst │ ├── index.rst │ ├── input_summary.rst │ ├── observable_section.rst │ ├── output_format.rst │ ├── parameter_section.rst │ ├── simple_format.rst │ ├── standard_format.rst │ └── tensor_section.rst │ ├── how_to_use │ ├── expert_usage.rst │ ├── index.rst │ ├── simple_usage.rst │ └── standard_usage.rst │ ├── index.rst │ ├── install.rst │ └── tutorial │ ├── 01_transverse_field_ising.rst │ ├── 02_time_evolution.rst │ ├── 03_finite_temperature.rst │ ├── 04_magnetization.rst │ ├── 05_hardcore_boson_triangular.rst │ ├── 06_std_model.rst │ └── index.rst ├── misc ├── contraction │ ├── LICENSE │ ├── config.py │ ├── cont.jl │ ├── cont.sh │ ├── cont_density.jl │ ├── cont_density.sh │ ├── cont_mf.jl │ ├── cont_mf.sh │ ├── netcon.py │ └── tdt.py ├── gen_toc.py └── make_archive.sh ├── sample ├── 01_transverse_field_ising │ ├── README.md │ ├── simple.toml │ ├── tutorial_example.py │ └── tutorial_read.py ├── 02_time_evolution │ ├── README.md │ ├── magnetization.png │ ├── plot.plt │ ├── run.sh │ ├── simple.toml │ ├── simple_te_middle.toml │ ├── simple_te_strong.toml │ └── simple_te_weak.toml ├── 03_finite_temperature │ ├── QMC │ │ ├── README.md │ │ ├── common_param.in │ │ ├── ene-L32-G0.0.dat │ │ ├── ene-L32-G0.5.dat │ │ ├── ene-L32-G0.8.dat │ │ ├── ene-L32-G2.0.dat │ │ ├── ene-L8-G0.0.dat │ │ ├── ene-L8-G0.5.dat │ │ ├── ene-L8-G0.8.dat │ │ ├── ene-L8-G2.0.dat │ │ ├── exec.sh │ │ ├── hamiltonian_G0.0.toml │ │ ├── hamiltonian_G0.5.toml │ │ ├── hamiltonian_G0.8.toml │ │ ├── hamiltonian_G2.0.toml │ │ ├── lattice_L32.toml │ │ ├── lattice_L8.toml │ │ ├── magx-L32-G0.0.dat │ │ ├── magx-L32-G0.5.dat │ │ ├── magx-L32-G0.8.dat │ │ ├── magx-L32-G2.0.dat │ │ ├── magx-L8-G0.0.dat │ │ ├── magx-L8-G0.5.dat │ │ ├── magx-L8-G0.8.dat │ │ ├── magx-L8-G2.0.dat │ │ ├── spec-L32-G0.0.dat │ │ ├── spec-L32-G0.5.dat │ │ ├── spec-L32-G0.8.dat │ │ ├── spec-L32-G2.0.dat │ │ ├── spec-L8-G0.0.dat │ │ ├── spec-L8-G0.5.dat │ │ ├── spec-L8-G0.8.dat │ │ ├── spec-L8-G2.0.dat │ │ └── std.toml │ ├── README.md │ ├── calcspec.py │ ├── plot_c.plt │ ├── plot_e.plt │ ├── plot_mx.plt │ ├── plot_mz.plt │ ├── run.sh │ ├── simple_ft_middle.toml │ ├── simple_ft_strong.toml │ ├── simple_ft_weak.toml │ └── simple_ft_zero.toml ├── 04_magnetization │ ├── README.md │ ├── basic.toml │ ├── basic_square.toml │ ├── plot.gp │ ├── plot_ene.gp │ ├── plot_square.gp │ ├── plot_square_ene.gp │ ├── tutorial_magnetization.py │ └── tutorial_magnetization_square.py ├── 05_hardcore_boson_triangular │ ├── README.md │ ├── basic.toml │ ├── nn_obs.toml │ ├── plot.gp │ ├── plot_density.gp │ ├── run.py │ └── simple.toml ├── 06_std_model │ └── std.toml ├── AFH_square │ ├── README.md │ ├── basic.toml │ ├── plot.gp │ ├── run.py │ └── simple.toml └── FT_Kitaev │ ├── README.md │ ├── TPQ │ ├── README.md │ ├── TPQ_gapfull.dat │ ├── TPQ_gapless.dat │ ├── postprocess.py │ ├── run.sh │ ├── stan_gapfull.in │ └── stan_gapless.in │ ├── calcspec.py │ ├── plot_c.plt │ ├── plot_e.plt │ ├── run.sh │ ├── simple_gapfull.toml │ └── simple_gapless.toml ├── src ├── CMakeLists.txt ├── SquareLattice.cpp ├── SquareLattice.hpp ├── arnoldi.cpp ├── arnoldi.hpp ├── exception.hpp ├── iTPS │ ├── CMakeLists.txt │ ├── PEPS_Parameters.cpp │ ├── PEPS_Parameters.hpp │ ├── core │ │ ├── CMakeLists.txt │ │ ├── contract.hpp │ │ ├── contract_density_ctm.hpp │ │ ├── contract_density_ctm │ │ │ ├── CMakeLists.txt │ │ │ ├── correlation.cpp │ │ │ ├── ctm.cpp │ │ │ ├── ctm_1x1.cpp │ │ │ ├── ctm_1x2.cpp │ │ │ ├── ctm_1x3.cpp │ │ │ ├── ctm_1x4.cpp │ │ │ ├── ctm_2x1.cpp │ │ │ ├── ctm_2x2.cpp │ │ │ ├── ctm_2x3.cpp │ │ │ ├── ctm_2x4.cpp │ │ │ ├── ctm_3x1.cpp │ │ │ ├── ctm_3x2.cpp │ │ │ ├── ctm_3x3.cpp │ │ │ ├── ctm_3x4.cpp │ │ │ ├── ctm_4x1.cpp │ │ │ ├── ctm_4x2.cpp │ │ │ ├── ctm_4x3.cpp │ │ │ ├── ctm_4x4.cpp │ │ │ ├── instantiate.hpp │ │ │ └── instantiate_ctm.hpp │ │ ├── contract_itps_ctm.hpp │ │ ├── contract_itps_ctm │ │ │ ├── CMakeLists.txt │ │ │ ├── correlation.cpp │ │ │ ├── ctm.cpp │ │ │ ├── ctm_1x1.cpp │ │ │ ├── ctm_1x2.cpp │ │ │ ├── ctm_1x3.cpp │ │ │ ├── ctm_1x4.cpp │ │ │ ├── ctm_2x1.cpp │ │ │ ├── ctm_2x2.cpp │ │ │ ├── ctm_2x3.cpp │ │ │ ├── ctm_2x4.cpp │ │ │ ├── ctm_3x1.cpp │ │ │ ├── ctm_3x2.cpp │ │ │ ├── ctm_3x3.cpp │ │ │ ├── ctm_3x4.cpp │ │ │ ├── ctm_4x1.cpp │ │ │ ├── ctm_4x2.cpp │ │ │ ├── ctm_4x3.cpp │ │ │ ├── ctm_4x4.cpp │ │ │ ├── instantiate.hpp │ │ │ └── instantiate_ctm.hpp │ │ ├── contract_itps_mf.hpp │ │ ├── contract_itps_mf │ │ │ ├── CMakeLists.txt │ │ │ ├── correlation.cpp │ │ │ ├── instantiate.hpp │ │ │ ├── instantiate_mf.hpp │ │ │ ├── mf.cpp │ │ │ ├── mf_1x1.cpp │ │ │ ├── mf_1x2.cpp │ │ │ ├── mf_1x3.cpp │ │ │ ├── mf_1x4.cpp │ │ │ ├── mf_2x1.cpp │ │ │ ├── mf_2x2.cpp │ │ │ ├── mf_2x3.cpp │ │ │ ├── mf_2x4.cpp │ │ │ ├── mf_3x1.cpp │ │ │ ├── mf_3x2.cpp │ │ │ ├── mf_3x3.cpp │ │ │ ├── mf_3x4.cpp │ │ │ ├── mf_4x1.cpp │ │ │ ├── mf_4x2.cpp │ │ │ ├── mf_4x3.cpp │ │ │ └── mf_4x4.cpp │ │ ├── ctm.cpp │ │ ├── ctm.hpp │ │ ├── ctm_single.cpp │ │ ├── full_update.cpp │ │ ├── full_update.hpp │ │ ├── local_gauge.cpp │ │ ├── local_gauge.hpp │ │ ├── simple_update.cpp │ │ └── simple_update.hpp │ ├── correlation_function.cpp │ ├── correlation_function.hpp │ ├── correlation_length.cpp │ ├── density.cpp │ ├── finite_temperature.cpp │ ├── full_update.cpp │ ├── iTPS.cpp │ ├── iTPS.hpp │ ├── load_toml.cpp │ ├── load_toml.hpp │ ├── main.cpp │ ├── main.hpp │ ├── measure.cpp │ ├── multisite_obs.cpp │ ├── onesite_obs.cpp │ ├── optimize.cpp │ ├── saveload_tensors.cpp │ ├── simple_update.cpp │ ├── tensors.cpp │ ├── time_evolution.cpp │ ├── transfer_matrix.cpp │ ├── transfer_matrix.hpp │ └── twosite_obs.cpp ├── initialize_mptensor.cpp ├── initialize_mptensor.hpp ├── main.cpp ├── mpi.cpp ├── mpi.hpp ├── operator.hpp ├── printlevel.hpp ├── tenes.hpp ├── tensor.cpp ├── tensor.hpp ├── timer.hpp ├── util │ ├── CMakeLists.txt │ ├── abs.hpp │ ├── datetime.cpp │ ├── datetime.hpp │ ├── file.cpp │ ├── file.hpp │ ├── read_tensor.hpp │ ├── string.cpp │ ├── string.hpp │ └── type_traits.hpp └── version.hpp ├── test ├── CMakeLists.txt ├── data │ ├── AntiferroHeisenberg_complex.toml │ ├── AntiferroHeisenberg_mf.toml │ ├── AntiferroHeisenberg_real.toml │ ├── FT_Kitaev.toml │ ├── FT_TFI_square.toml │ ├── Honeycomb.toml │ ├── Honeycomb_skew.toml │ ├── J1J2_AFH.toml │ ├── Kitaev.toml │ ├── RSVD.toml │ ├── TE_TFI.toml │ ├── full_update.dat │ ├── output_AntiferroHeisenberg_complex │ │ ├── AntiferroHeisenberg_complex.toml │ │ ├── correlation.dat │ │ ├── correlation_length.dat │ │ ├── density.dat │ │ ├── onesite_obs.dat │ │ ├── parameters.dat │ │ └── twosite_obs.dat │ ├── output_AntiferroHeisenberg_mf │ │ ├── AntiferroHeisenberg_mf.toml │ │ ├── correlation.dat │ │ ├── correlation_length.dat │ │ ├── density.dat │ │ ├── multisite_obs_4.dat │ │ ├── onesite_obs.dat │ │ ├── parameters.dat │ │ └── twosite_obs.dat │ ├── output_AntiferroHeisenberg_real │ │ ├── AntiferroHeisenberg_real.toml │ │ ├── correlation.dat │ │ ├── correlation_length.dat │ │ ├── density.dat │ │ ├── multisite_obs_4.dat │ │ ├── onesite_obs.dat │ │ ├── parameters.dat │ │ └── twosite_obs.dat │ ├── output_FT_Kitaev │ │ ├── FT_correlation.dat │ │ ├── FT_correlation_length.dat │ │ ├── FT_density.dat │ │ ├── FT_onesite_obs.dat │ │ ├── FT_twosite_obs.dat │ │ └── parameters.dat │ ├── output_FT_TFI_square │ │ ├── FT_TFI_square.toml │ │ ├── FT_correlation.dat │ │ ├── FT_correlation_length.dat │ │ ├── FT_density.dat │ │ ├── FT_onesite_obs.dat │ │ ├── FT_twosite_obs.dat │ │ └── parameters.dat │ ├── output_Honeycomb │ │ ├── Honeycomb.toml │ │ ├── correlation.dat │ │ ├── correlation_length.dat │ │ ├── density.dat │ │ ├── onesite_obs.dat │ │ ├── parameters.dat │ │ └── twosite_obs.dat │ ├── output_Honeycomb_skew │ │ ├── Honeycomb_skew.toml │ │ ├── correlation.dat │ │ ├── correlation_length.dat │ │ ├── density.dat │ │ ├── onesite_obs.dat │ │ ├── parameters.dat │ │ └── twosite_obs.dat │ ├── output_J1J2_AFH │ │ ├── J1J2_AFH.toml │ │ ├── correlation_length.dat │ │ ├── density.dat │ │ ├── onesite_obs.dat │ │ ├── parameters.dat │ │ └── twosite_obs.dat │ ├── output_RSVD │ │ ├── RSVD.toml │ │ ├── correlation.dat │ │ ├── correlation_length.dat │ │ ├── density.dat │ │ ├── onesite_obs.dat │ │ ├── parameters.dat │ │ ├── time.dat │ │ └── twosite_obs.dat │ ├── output_TE_TFI │ │ ├── TE_TFI.toml │ │ ├── TE_correlation.dat │ │ ├── TE_correlation_length.dat │ │ ├── TE_density.dat │ │ ├── TE_multisite_obs_4.dat │ │ ├── TE_onesite_obs.dat │ │ ├── TE_twosite_obs.dat │ │ └── parameters.dat │ ├── output_simple_mode.toml │ ├── output_simple_mode_2.toml │ ├── output_std_mode.toml │ ├── restart_0.toml │ ├── restart_1.toml │ ├── simple_mode.toml │ ├── simple_mode_2.toml │ ├── simple_update.dat │ ├── std_mode.toml │ └── std_mode_multi.toml ├── doctest.h ├── full_update.cpp ├── fulltest.py.in ├── input.cpp ├── restart.py.in ├── simple_mode.py.in ├── simple_update.cpp └── std_mode.py.in └── tool ├── CMakeLists.txt ├── pyproject.toml ├── tenes_simple.py └── tenes_std.py /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "deps/sanitizers-cmake"] 2 | path = deps/submoduled/sanitizers-cmake 3 | url = https://github.com/arsenm/sanitizers-cmake 4 | [submodule "deps/cpptoml"] 5 | path = deps/cpptoml 6 | url = https://github.com/skystrife/cpptoml 7 | [submodule "deps/mptensor"] 8 | path = deps/mptensor 9 | url = https://github.com/smorita/mptensor 10 | -------------------------------------------------------------------------------- /NEWS.md: -------------------------------------------------------------------------------- 1 | # TeNeS v2.1.x Release Notes 2 | 3 | ## Changes between v2.1.1 and v2.1.0 4 | 5 | ### Bug fixes 6 | 7 | - `tenes_std` 8 | - Fixed a bug in the calculation of the evolutionary tensor for complex Hamiltonians ([#97][]) 9 | 10 | ## Changes between v2.1.0 and v2.0.0 11 | 12 | ### New features 13 | 14 | - `tenes` 15 | - Enabled to save tensors in the real-time evolution and the finite-temperature calculation ([#88][]) 16 | - Enabled to specify coefficient of observables ([#91][]) 17 | - `tenes_std` 18 | - Enabled to read multiple input files ([#92][]) 19 | 20 | ### Bug fixes 21 | - `tenes` 22 | - Fixed a bug of combination of RSVD and CTMRG method with shrinkage of chi ([#86][], [#87][]) 23 | 24 | 25 | [#86]: https://github.com/issp-center-dev/TeNeS/pull/86 26 | [#87]: https://github.com/issp-center-dev/TeNeS/pull/87 27 | [#88]: https://github.com/issp-center-dev/TeNeS/pull/88 28 | [#91]: https://github.com/issp-center-dev/TeNeS/pull/91 29 | [#92]: https://github.com/issp-center-dev/TeNeS/pull/92 30 | [#97]: https://github.com/issp-center-dev/TeNeS/pull/97 31 | -------------------------------------------------------------------------------- /config/TeNeSConfig.cmake.in: -------------------------------------------------------------------------------- 1 | # Usage 2 | # find_pacakge(TeNeS REQUIRED) 3 | # add_executable(main main.cpp) 4 | # target_include_directories(main PRIVATE ${TENES_INCLUDE_DIRS}) 5 | # target_link_libraries(main PRIVATE ${TENES_LIBRARIES}) 6 | # target_compile_options(main PRIVATE ${TENES_COMPILE_OPTIONS}) 7 | 8 | set(TENES_VERSION @TENES_VERSION@) 9 | 10 | @PACKAGE_INIT@ 11 | 12 | set_and_check(TENES_INCLUDE_DIRS @PACKAGE_TENESCONFIG_INCLUDE_DIRS@) 13 | set_and_check(TENES_LIBRARIES @PACKAGE_TENESCONFIG_LIBRARY_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@tenes@CMAKE_SHARED_LIBRARY_SUFFIX@) 14 | set(TENES_COMPILE_OPTIONS @TENES_COMPILE_OPTIONS@) 15 | 16 | check_required_components(TeNeS) 17 | -------------------------------------------------------------------------------- /config/check_omp.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main() { return 0; } 3 | -------------------------------------------------------------------------------- /config/check_openmpi.cpp: -------------------------------------------------------------------------------- 1 | /* This file is originally included in mptensor */ 2 | /* https://github.com/smorita/mptensor */ 3 | 4 | #include 5 | 6 | #ifdef OMPI_MPI_H // OpenMPI 7 | int main(int argc, char** argv) { 8 | return 0; 9 | } 10 | #else 11 | #error 12 | #endif 13 | -------------------------------------------------------------------------------- /config/check_sgimpt.cpp: -------------------------------------------------------------------------------- 1 | /* This file is originally included in mptensor */ 2 | /* https://github.com/smorita/mptensor */ 3 | 4 | #include 5 | 6 | #ifndef MPT_VERSION 7 | #error 8 | #endif 9 | 10 | int main(int argc, char** argv) { 11 | return 0; 12 | } 13 | 14 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/abi/borland_suffix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | # pragma option pop 7 | #pragma nopushoptwarn 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/abi/msvc_prefix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // 7 | // Boost binaries are built with the compiler's default ABI settings, 8 | // if the user changes their default alignment in the VS IDE then their 9 | // code will no longer be binary compatible with the bjam built binaries 10 | // unless this header is included to force Boost code into a consistent ABI. 11 | // 12 | // Note that inclusion of this header is only necessary for libraries with 13 | // separate source, header only libraries DO NOT need this as long as all 14 | // translation units are built with the same options. 15 | // 16 | #if defined(_M_X64) 17 | # pragma pack(push,16) 18 | #else 19 | # pragma pack(push,8) 20 | #endif 21 | 22 | 23 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/abi/msvc_suffix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #pragma pack(pop) 7 | 8 | 9 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/abi_prefix.hpp: -------------------------------------------------------------------------------- 1 | // abi_prefix header -------------------------------------------------------// 2 | 3 | // (c) Copyright John Maddock 2003 4 | 5 | // Use, modification and distribution are subject to the Boost Software License, 6 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt). 8 | 9 | #ifndef BOOST_CONFIG_ABI_PREFIX_HPP 10 | # define BOOST_CONFIG_ABI_PREFIX_HPP 11 | #else 12 | # error double inclusion of header boost/config/abi_prefix.hpp is an error 13 | #endif 14 | 15 | #include 16 | 17 | // this must occur after all other includes and before any code appears: 18 | #ifdef BOOST_HAS_ABI_HEADERS 19 | # include BOOST_ABI_PREFIX 20 | #endif 21 | 22 | #if defined( BOOST_BORLANDC ) 23 | #pragma nopushoptwarn 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/abi_suffix.hpp: -------------------------------------------------------------------------------- 1 | // abi_sufffix header -------------------------------------------------------// 2 | 3 | // (c) Copyright John Maddock 2003 4 | 5 | // Use, modification and distribution are subject to the Boost Software License, 6 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt). 8 | 9 | // This header should be #included AFTER code that was preceded by a #include 10 | // . 11 | 12 | #ifndef BOOST_CONFIG_ABI_PREFIX_HPP 13 | # error Header boost/config/abi_suffix.hpp must only be used after boost/config/abi_prefix.hpp 14 | #else 15 | # undef BOOST_CONFIG_ABI_PREFIX_HPP 16 | #endif 17 | 18 | // the suffix header occurs after all of our code: 19 | #ifdef BOOST_HAS_ABI_HEADERS 20 | # include BOOST_ABI_SUFFIX 21 | #endif 22 | 23 | #if defined( BOOST_BORLANDC ) 24 | #pragma nopushoptwarn 25 | #endif 26 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/compiler/compaq_cxx.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Tru64 C++ compiler setup (now HP): 9 | 10 | #define BOOST_COMPILER "HP Tru64 C++ " BOOST_STRINGIZE(__DECCXX_VER) 11 | 12 | #include 13 | 14 | // 15 | // versions check: 16 | // Nothing to do here? 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/compiler/diab.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Brian Kuhl 2016. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // Check this is a recent EDG based compiler, otherwise we don't support it here: 7 | 8 | 9 | #ifndef __EDG_VERSION__ 10 | # error "Unknown Diab compiler version - please run the configure tests and report the results" 11 | #endif 12 | 13 | #include "boost/config/compiler/common_edg.hpp" 14 | 15 | #define BOOST_NO_TWO_PHASE_NAME_LOOKUP 16 | #define BOOST_BUGGY_INTEGRAL_CONSTANT_EXPRESSIONS 17 | 18 | #define BOOST_MPL_CFG_NO_HAS_XXX_TEMPLATE 19 | #define BOOST_LOG_NO_MEMBER_TEMPLATE_FRIENDS 20 | #define BOOST_REGEX_NO_EXTERNAL_TEMPLATES 21 | 22 | #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST 23 | #define BOOST_NO_CXX11_HDR_CODECVT 24 | #define BOOST_NO_CXX11_NUMERIC_LIMITS 25 | 26 | #define BOOST_COMPILER "Wind River Diab " BOOST_STRINGIZE(__VERSION_NUMBER__) 27 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/compiler/greenhills.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Greenhills C++ compiler setup: 9 | 10 | #define BOOST_COMPILER "Greenhills C++ version " BOOST_STRINGIZE(__ghs) 11 | 12 | #include 13 | 14 | // 15 | // versions check: 16 | // we don't support Greenhills prior to version 0: 17 | #if __ghs < 0 18 | # error "Compiler not supported or configured - please reconfigure" 19 | #endif 20 | // 21 | // last known and checked version is 0: 22 | #if (__ghs > 0) 23 | # if defined(BOOST_ASSERT_CONFIG) 24 | # error "boost: Unknown compiler version - please run the configure tests and report the results" 25 | # endif 26 | #endif 27 | 28 | 29 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/compiler/pgi.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Noel Belcourt 2007. 2 | // Copyright 2017, NVIDIA CORPORATION. 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org for most recent version. 8 | 9 | // PGI C++ compiler setup: 10 | 11 | #define BOOST_COMPILER_VERSION __PGIC__##__PGIC_MINOR__ 12 | #define BOOST_COMPILER "PGI compiler version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION) 13 | 14 | // PGI is mostly GNU compatible. So start with that. 15 | #include 16 | 17 | // Now adjust for things that are different. 18 | 19 | // __float128 is a typedef, not a distinct type. 20 | #undef BOOST_HAS_FLOAT128 21 | 22 | // __int128 is not supported. 23 | #undef BOOST_HAS_INT128 24 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/compiler/sgi_mipspro.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // SGI C++ compiler setup: 9 | 10 | #define BOOST_COMPILER "SGI Irix compiler version " BOOST_STRINGIZE(_COMPILER_VERSION) 11 | 12 | #include 13 | 14 | // 15 | // Threading support: 16 | // Turn this on unconditionally here, it will get turned off again later 17 | // if no threading API is detected. 18 | // 19 | #define BOOST_HAS_THREADS 20 | #define BOOST_NO_TWO_PHASE_NAME_LOOKUP 21 | 22 | #undef BOOST_NO_SWPRINTF 23 | #undef BOOST_DEDUCED_TYPENAME 24 | 25 | // 26 | // version check: 27 | // probably nothing to do here? 28 | 29 | 30 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/header_deprecated.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED 2 | #define BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED 3 | 4 | // Copyright 2017 Peter Dimov. 5 | // 6 | // Distributed under the Boost Software License, Version 1.0. 7 | // 8 | // See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt 10 | // 11 | // BOOST_HEADER_DEPRECATED("") 12 | // 13 | // Expands to the equivalent of 14 | // BOOST_PRAGMA_MESSAGE("This header is deprecated. Use instead.") 15 | // 16 | // Note that this header is C compatible. 17 | 18 | #include 19 | 20 | #if defined(BOOST_ALLOW_DEPRECATED_HEADERS) || defined(BOOST_ALLOW_DEPRECATED) 21 | # define BOOST_HEADER_DEPRECATED(a) 22 | #else 23 | # define BOOST_HEADER_DEPRECATED(a) BOOST_PRAGMA_MESSAGE("This header is deprecated. Use " a " instead.") 24 | #endif 25 | 26 | #endif // BOOST_CONFIG_HEADER_DEPRECATED_HPP_INCLUDED 27 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/no_tr1/cmath.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2008. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | // 6 | // The aim of this header is just to include but to do 7 | // so in a way that does not result in recursive inclusion of 8 | // the Boost TR1 components if boost/tr1/tr1/cmath is in the 9 | // include search path. We have to do this to avoid circular 10 | // dependencies: 11 | // 12 | 13 | #ifndef BOOST_CONFIG_CMATH 14 | # define BOOST_CONFIG_CMATH 15 | 16 | # ifndef BOOST_TR1_NO_RECURSION 17 | # define BOOST_TR1_NO_RECURSION 18 | # define BOOST_CONFIG_NO_CMATH_RECURSION 19 | # endif 20 | 21 | # include 22 | 23 | # ifdef BOOST_CONFIG_NO_CMATH_RECURSION 24 | # undef BOOST_TR1_NO_RECURSION 25 | # undef BOOST_CONFIG_NO_CMATH_RECURSION 26 | # endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/no_tr1/complex.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | // 6 | // The aim of this header is just to include but to do 7 | // so in a way that does not result in recursive inclusion of 8 | // the Boost TR1 components if boost/tr1/tr1/complex is in the 9 | // include search path. We have to do this to avoid circular 10 | // dependencies: 11 | // 12 | 13 | #ifndef BOOST_CONFIG_COMPLEX 14 | # define BOOST_CONFIG_COMPLEX 15 | 16 | # ifndef BOOST_TR1_NO_RECURSION 17 | # define BOOST_TR1_NO_RECURSION 18 | # define BOOST_CONFIG_NO_COMPLEX_RECURSION 19 | # endif 20 | 21 | # include 22 | 23 | # ifdef BOOST_CONFIG_NO_COMPLEX_RECURSION 24 | # undef BOOST_TR1_NO_RECURSION 25 | # undef BOOST_CONFIG_NO_COMPLEX_RECURSION 26 | # endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/no_tr1/functional.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | // 6 | // The aim of this header is just to include but to do 7 | // so in a way that does not result in recursive inclusion of 8 | // the Boost TR1 components if boost/tr1/tr1/functional is in the 9 | // include search path. We have to do this to avoid circular 10 | // dependencies: 11 | // 12 | 13 | #ifndef BOOST_CONFIG_FUNCTIONAL 14 | # define BOOST_CONFIG_FUNCTIONAL 15 | 16 | # ifndef BOOST_TR1_NO_RECURSION 17 | # define BOOST_TR1_NO_RECURSION 18 | # define BOOST_CONFIG_NO_FUNCTIONAL_RECURSION 19 | # endif 20 | 21 | # include 22 | 23 | # ifdef BOOST_CONFIG_NO_FUNCTIONAL_RECURSION 24 | # undef BOOST_TR1_NO_RECURSION 25 | # undef BOOST_CONFIG_NO_FUNCTIONAL_RECURSION 26 | # endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/no_tr1/memory.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | // 6 | // The aim of this header is just to include but to do 7 | // so in a way that does not result in recursive inclusion of 8 | // the Boost TR1 components if boost/tr1/tr1/memory is in the 9 | // include search path. We have to do this to avoid circular 10 | // dependencies: 11 | // 12 | 13 | #ifndef BOOST_CONFIG_MEMORY 14 | # define BOOST_CONFIG_MEMORY 15 | 16 | # ifndef BOOST_TR1_NO_RECURSION 17 | # define BOOST_TR1_NO_RECURSION 18 | # define BOOST_CONFIG_NO_MEMORY_RECURSION 19 | # endif 20 | 21 | # include 22 | 23 | # ifdef BOOST_CONFIG_NO_MEMORY_RECURSION 24 | # undef BOOST_TR1_NO_RECURSION 25 | # undef BOOST_CONFIG_NO_MEMORY_RECURSION 26 | # endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/no_tr1/utility.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | // 6 | // The aim of this header is just to include but to do 7 | // so in a way that does not result in recursive inclusion of 8 | // the Boost TR1 components if boost/tr1/tr1/utility is in the 9 | // include search path. We have to do this to avoid circular 10 | // dependencies: 11 | // 12 | 13 | #ifndef BOOST_CONFIG_UTILITY 14 | # define BOOST_CONFIG_UTILITY 15 | 16 | # ifndef BOOST_TR1_NO_RECURSION 17 | # define BOOST_TR1_NO_RECURSION 18 | # define BOOST_CONFIG_NO_UTILITY_RECURSION 19 | # endif 20 | 21 | # include 22 | 23 | # ifdef BOOST_CONFIG_NO_UTILITY_RECURSION 24 | # undef BOOST_TR1_NO_RECURSION 25 | # undef BOOST_CONFIG_NO_UTILITY_RECURSION 26 | # endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/platform/aix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // IBM/Aix specific config options: 9 | 10 | #define BOOST_PLATFORM "IBM Aix" 11 | 12 | #define BOOST_HAS_UNISTD_H 13 | #define BOOST_HAS_NL_TYPES_H 14 | #define BOOST_HAS_NANOSLEEP 15 | #define BOOST_HAS_CLOCK_GETTIME 16 | 17 | // This needs support in "boost/cstdint.hpp" exactly like FreeBSD. 18 | // This platform has header named which includes all 19 | // the things needed. 20 | #define BOOST_HAS_STDINT_H 21 | 22 | // Threading API's: 23 | #define BOOST_HAS_PTHREADS 24 | #define BOOST_HAS_PTHREAD_DELAY_NP 25 | #define BOOST_HAS_SCHED_YIELD 26 | //#define BOOST_HAS_PTHREAD_YIELD 27 | 28 | // boilerplate code: 29 | #include 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/platform/amigaos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | #define BOOST_PLATFORM "AmigaOS" 9 | 10 | #define BOOST_DISABLE_THREADS 11 | #define BOOST_NO_CWCHAR 12 | #define BOOST_NO_STD_WSTRING 13 | #define BOOST_NO_INTRINSIC_WCHAR_T 14 | 15 | 16 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/platform/beos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // BeOS specific config options: 9 | 10 | #define BOOST_PLATFORM "BeOS" 11 | 12 | #define BOOST_NO_CWCHAR 13 | #define BOOST_NO_CWCTYPE 14 | #define BOOST_HAS_UNISTD_H 15 | 16 | #define BOOST_HAS_BETHREADS 17 | 18 | #ifndef BOOST_DISABLE_THREADS 19 | # define BOOST_HAS_THREADS 20 | #endif 21 | 22 | // boilerplate code: 23 | #include 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/platform/cloudabi.hpp: -------------------------------------------------------------------------------- 1 | // Copyright Nuxi, https://nuxi.nl/ 2015. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #define BOOST_PLATFORM "CloudABI" 7 | 8 | #define BOOST_HAS_DIRENT_H 9 | #define BOOST_HAS_STDINT_H 10 | #define BOOST_HAS_UNISTD_H 11 | 12 | #define BOOST_HAS_CLOCK_GETTIME 13 | #define BOOST_HAS_EXPM1 14 | #define BOOST_HAS_GETTIMEOFDAY 15 | #define BOOST_HAS_LOG1P 16 | #define BOOST_HAS_NANOSLEEP 17 | #define BOOST_HAS_PTHREADS 18 | #define BOOST_HAS_SCHED_YIELD 19 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/platform/cray.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2011. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | 7 | // See http://www.boost.org for most recent version. 8 | 9 | // SGI Irix specific config options: 10 | 11 | #define BOOST_PLATFORM "Cray" 12 | 13 | // boilerplate code: 14 | #define BOOST_HAS_UNISTD_H 15 | #include 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/platform/haiku.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Jessica Hamilton 2014. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Haiku specific config options: 9 | 10 | #define BOOST_PLATFORM "Haiku" 11 | 12 | #define BOOST_HAS_UNISTD_H 13 | #define BOOST_HAS_STDINT_H 14 | 15 | #ifndef BOOST_DISABLE_THREADS 16 | # define BOOST_HAS_THREADS 17 | #endif 18 | 19 | #define BOOST_NO_CXX11_HDR_TYPE_TRAITS 20 | #define BOOST_NO_CXX11_ATOMIC_SMART_PTR 21 | #define BOOST_NO_CXX11_STATIC_ASSERT 22 | #define BOOST_NO_CXX11_VARIADIC_MACROS 23 | 24 | // 25 | // thread API's not auto detected: 26 | // 27 | #define BOOST_HAS_SCHED_YIELD 28 | #define BOOST_HAS_GETTIMEOFDAY 29 | 30 | // boilerplate code: 31 | #include 32 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/platform/irix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // (C) Copyright Jens Maurer 2003. 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | 8 | // See http://www.boost.org for most recent version. 9 | 10 | // SGI Irix specific config options: 11 | 12 | #define BOOST_PLATFORM "SGI Irix" 13 | 14 | #define BOOST_NO_SWPRINTF 15 | // 16 | // these are not auto detected by POSIX feature tests: 17 | // 18 | #define BOOST_HAS_GETTIMEOFDAY 19 | #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE 20 | 21 | #ifdef __GNUC__ 22 | // GNU C on IRIX does not support threads (checked up to gcc 3.3) 23 | # define BOOST_DISABLE_THREADS 24 | #endif 25 | 26 | // boilerplate code: 27 | #define BOOST_HAS_UNISTD_H 28 | #include 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/platform/qnxnto.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Jim Douglas 2005. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // QNX specific config options: 9 | 10 | #define BOOST_PLATFORM "QNX" 11 | 12 | #define BOOST_HAS_UNISTD_H 13 | #include 14 | 15 | // QNX claims XOpen version 5 compatibility, but doesn't have an nl_types.h 16 | // or log1p and expm1: 17 | #undef BOOST_HAS_NL_TYPES_H 18 | #undef BOOST_HAS_LOG1P 19 | #undef BOOST_HAS_EXPM1 20 | 21 | #define BOOST_HAS_PTHREADS 22 | #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE 23 | 24 | #define BOOST_HAS_GETTIMEOFDAY 25 | #define BOOST_HAS_CLOCK_GETTIME 26 | #define BOOST_HAS_NANOSLEEP 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/platform/solaris.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // (C) Copyright Jens Maurer 2003. 3 | // Use, modification and distribution are subject to the 4 | // Boost Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | 7 | // See http://www.boost.org for most recent version. 8 | 9 | // sun specific config options: 10 | 11 | #define BOOST_PLATFORM "Sun Solaris" 12 | 13 | #define BOOST_HAS_GETTIMEOFDAY 14 | 15 | // boilerplate code: 16 | #define BOOST_HAS_UNISTD_H 17 | #include 18 | 19 | // 20 | // pthreads don't actually work with gcc unless _PTHREADS is defined: 21 | // 22 | #if defined(__GNUC__) && defined(_POSIX_THREADS) && !defined(_PTHREADS) 23 | # undef BOOST_HAS_PTHREADS 24 | #endif 25 | 26 | #define BOOST_HAS_STDINT_H 27 | #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE 28 | #define BOOST_HAS_LOG1P 29 | #define BOOST_HAS_EXPM1 30 | 31 | 32 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/platform/vms.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Artyom Beilis 2010. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_CONFIG_PLATFORM_VMS_HPP 7 | #define BOOST_CONFIG_PLATFORM_VMS_HPP 8 | 9 | #define BOOST_PLATFORM "OpenVMS" 10 | 11 | #undef BOOST_HAS_STDINT_H 12 | #define BOOST_HAS_UNISTD_H 13 | #define BOOST_HAS_NL_TYPES_H 14 | #define BOOST_HAS_GETTIMEOFDAY 15 | #define BOOST_HAS_DIRENT_H 16 | #define BOOST_HAS_PTHREADS 17 | #define BOOST_HAS_NANOSLEEP 18 | #define BOOST_HAS_CLOCK_GETTIME 19 | #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE 20 | #define BOOST_HAS_LOG1P 21 | #define BOOST_HAS_EXPM1 22 | #define BOOST_HAS_THREADS 23 | #undef BOOST_HAS_SCHED_YIELD 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/platform/wasm.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2020. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // WASM specific config options: 9 | 10 | #define BOOST_PLATFORM "Wasm" 11 | 12 | #ifdef __has_include 13 | #if __has_include() 14 | # define BOOST_HAS_UNISTD_H 15 | #endif 16 | #endif 17 | 18 | // boilerplate code: 19 | #include 20 | // 21 | // fenv lacks the C++11 macros: 22 | // 23 | #define BOOST_NO_FENV_H 24 | -------------------------------------------------------------------------------- /deps/boost/include/boost/config/platform/zos.hpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017 Dynatrace 2 | // 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt 6 | 7 | // See http://www.boost.org for most recent version. 8 | 9 | // Platform setup for IBM z/OS. 10 | 11 | #define BOOST_PLATFORM "IBM z/OS" 12 | 13 | #include // For __UU, __C99, __TR1, ... 14 | 15 | #if defined(__UU) 16 | # define BOOST_HAS_GETTIMEOFDAY 17 | #endif 18 | 19 | #if defined(_OPEN_THREADS) || defined(__SUSV3_THR) 20 | # define BOOST_HAS_PTHREADS 21 | # define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE 22 | # define BOOST_HAS_THREADS 23 | #endif 24 | 25 | #if defined(__SUSV3) || defined(__SUSV3_THR) 26 | # define BOOST_HAS_SCHED_YIELD 27 | #endif 28 | 29 | #define BOOST_HAS_SIGACTION 30 | #define BOOST_HAS_UNISTD_H 31 | #define BOOST_HAS_DIRENT_H 32 | #define BOOST_HAS_NL_TYPES_H 33 | -------------------------------------------------------------------------------- /deps/boost/include/boost/detail/workaround.hpp: -------------------------------------------------------------------------------- 1 | // Copyright David Abrahams 2002. 2 | // Distributed under the Boost Software License, Version 1.0. (See 3 | // accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | #ifndef BOOST_WORKAROUND_DWA2002126_HPP 6 | #define BOOST_WORKAROUND_DWA2002126_HPP 7 | 8 | #include 9 | 10 | #endif // BOOST_WORKAROUND_DWA2002126_HPP 11 | -------------------------------------------------------------------------------- /deps/boost/include/boost/move/detail/config_end.hpp: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // (C) Copyright Ion Gaztanaga 2012-2012. Distributed under the Boost 4 | // Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | // 7 | // See http://www.boost.org/libs/move for documentation. 8 | // 9 | ////////////////////////////////////////////////////////////////////////////// 10 | #if defined BOOST_MSVC 11 | # pragma warning (pop) 12 | #endif 13 | -------------------------------------------------------------------------------- /deps/boost/include/boost/optional.hpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003, Fernando Luis Cacciola Carballal. 2 | // 3 | // Use, modification, and distribution is subject to the Boost Software 4 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt) 6 | // 7 | // See http://www.boost.org/libs/optional for documentation. 8 | // 9 | // You are welcome to contact the author at: 10 | // fernando_cacciola@hotmail.com 11 | // 12 | #ifndef BOOST_OPTIONAL_FLC_19NOV2002_HPP 13 | #define BOOST_OPTIONAL_FLC_19NOV2002_HPP 14 | 15 | #include "boost/optional/optional.hpp" 16 | 17 | #endif 18 | 19 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_H 10 | #define BOOST_PREDEF_H 11 | #endif 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | 22 | #include 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/detail/_cassert.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL__CASSERT_H 9 | #define BOOST_PREDEF_DETAIL__CASSERT_H 10 | 11 | #if defined(__cplusplus) 12 | #include 13 | #else 14 | #include 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/detail/_exception.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL__EXCEPTION_H 9 | #define BOOST_PREDEF_DETAIL__EXCEPTION_H 10 | 11 | #if defined(__cplusplus) 12 | #include 13 | #endif 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/detail/comp_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2014 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_COMP_DETECTED 9 | #define BOOST_PREDEF_DETAIL_COMP_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/detail/os_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2013 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_OS_DETECTED 9 | #define BOOST_PREDEF_DETAIL_OS_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/detail/platform_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2014 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_PLAT_DETECTED 9 | #define BOOST_PREDEF_DETAIL_PLAT_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/detail/test.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_TEST_H 9 | #define BOOST_PREDEF_DETAIL_TEST_H 10 | 11 | #if !defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 12 | 13 | #define BOOST_PREDEF_DECLARE_TEST(x,s) 14 | 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/hardware.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Charly Chevalier 2015 3 | Copyright Joel Falcou 2015 4 | Distributed under the Boost Software License, Version 1.0. 5 | (See accompanying file LICENSE_1_0.txt or copy at 6 | http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #if !defined(BOOST_PREDEF_HARDWARE_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 10 | #ifndef BOOST_PREDEF_HARDWARE_H 11 | #define BOOST_PREDEF_HARDWARE_H 12 | #endif 13 | 14 | #include 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/language.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_LANGUAGE_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_LANGUAGE_H 10 | #define BOOST_PREDEF_LANGUAGE_H 11 | #endif 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/library.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_LIBRARY_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_LIBRARY_H 10 | #define BOOST_PREDEF_LIBRARY_H 11 | #endif 12 | 13 | #include 14 | #include 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/library/c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_LIBRARY_C_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_LIBRARY_C_H 10 | #define BOOST_PREDEF_LIBRARY_C_H 11 | #endif 12 | 13 | #include 14 | 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/library/c/_prefix.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2013 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_LIBRARY_C__PREFIX_H 9 | #define BOOST_PREDEF_LIBRARY_C__PREFIX_H 10 | 11 | #include 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/library/std.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | #if !defined(BOOST_PREDEF_LIBRARY_STD_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 8 | #ifndef BOOST_PREDEF_LIBRARY_STD_H 9 | #define BOOST_PREDEF_LIBRARY_STD_H 10 | #endif 11 | 12 | #include 13 | 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/library/std/_prefix.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2013 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | #ifndef BOOST_PREDEF_LIBRARY_STD__PREFIX_H 8 | #define BOOST_PREDEF_LIBRARY_STD__PREFIX_H 9 | 10 | /* 11 | We need to include an STD header to gives us the context 12 | of which library we are using. The "smallest" code-wise header 13 | seems to be . Boost uses but as far 14 | as I can tell (RR) it's not a stand-alone header in most 15 | implementations. Using also has the benefit of 16 | being available in EC++, so we get a chance to make this work 17 | for embedded users. And since it's not a header impacted by TR1 18 | there's no magic needed for inclusion in the face of the 19 | Boost.TR1 library. 20 | */ 21 | #include 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/other.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Ferdinand Rivera Morell 2013-2020 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_OTHER_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_OTHER_H 10 | #define BOOST_PREDEF_OTHER_H 11 | #endif 12 | 13 | #include 14 | #include 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /deps/boost/include/boost/predef/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2015-2016 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_VERSION_H 9 | #define BOOST_PREDEF_VERSION_H 10 | 11 | #include 12 | 13 | #define BOOST_PREDEF_VERSION BOOST_VERSION_NUMBER(1,14,0) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /deps/boost/include/boost/preprocessor/control/if.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_CONTROL_IF_HPP 15 | # define BOOST_PREPROCESSOR_CONTROL_IF_HPP 16 | # 17 | # include 18 | # include 19 | # include 20 | # 21 | # /* BOOST_PP_IF */ 22 | # 23 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG() 24 | # define BOOST_PP_IF(cond, t, f) BOOST_PP_IIF(BOOST_PP_BOOL(cond), t, f) 25 | # else 26 | # define BOOST_PP_IF(cond, t, f) BOOST_PP_IF_I(cond, t, f) 27 | # define BOOST_PP_IF_I(cond, t, f) BOOST_PP_IIF(BOOST_PP_BOOL(cond), t, f) 28 | # endif 29 | # 30 | # endif 31 | -------------------------------------------------------------------------------- /deps/boost/include/boost/preprocessor/facilities/empty.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_FACILITIES_EMPTY_HPP 15 | # define BOOST_PREPROCESSOR_FACILITIES_EMPTY_HPP 16 | # 17 | # include 18 | # 19 | # /* BOOST_PP_EMPTY */ 20 | # 21 | # define BOOST_PP_EMPTY() 22 | # 23 | # endif 24 | -------------------------------------------------------------------------------- /deps/boost/include/boost/preprocessor/facilities/expand.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_FACILITIES_EXPAND_HPP 15 | # define BOOST_PREPROCESSOR_FACILITIES_EXPAND_HPP 16 | # 17 | # include 18 | # 19 | # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() && ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_DMC() 20 | # define BOOST_PP_EXPAND(x) BOOST_PP_EXPAND_I(x) 21 | # else 22 | # define BOOST_PP_EXPAND(x) BOOST_PP_EXPAND_OO((x)) 23 | # define BOOST_PP_EXPAND_OO(par) BOOST_PP_EXPAND_I ## par 24 | # endif 25 | # 26 | # define BOOST_PP_EXPAND_I(x) x 27 | # 28 | # endif 29 | -------------------------------------------------------------------------------- /deps/boost/include/boost/preprocessor/facilities/is_1.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2003. 4 | # * Distributed under the Boost Software License, Version 1.0. (See 5 | # * accompanying file LICENSE_1_0.txt or copy at 6 | # * http://www.boost.org/LICENSE_1_0.txt) 7 | # * * 8 | # ************************************************************************** */ 9 | # 10 | # /* See http://www.boost.org for most recent version. */ 11 | # 12 | # ifndef BOOST_PREPROCESSOR_FACILITIES_IS_1_HPP 13 | # define BOOST_PREPROCESSOR_FACILITIES_IS_1_HPP 14 | # 15 | # include 16 | # include 17 | # 18 | # /* BOOST_PP_IS_1 */ 19 | # 20 | # define BOOST_PP_IS_1(x) BOOST_PP_IS_EMPTY(BOOST_PP_CAT(BOOST_PP_IS_1_HELPER_, x)) 21 | # define BOOST_PP_IS_1_HELPER_1 22 | # 23 | # endif 24 | -------------------------------------------------------------------------------- /deps/boost/include/boost/preprocessor/facilities/is_empty.hpp: -------------------------------------------------------------------------------- 1 | # /* ************************************************************************** 2 | # * * 3 | # * (C) Copyright Paul Mensonides 2003. 4 | # * (C) Copyright Edward Diener 2014. 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # * * 9 | # ************************************************************************** */ 10 | # 11 | # /* See http://www.boost.org for most recent version. */ 12 | # 13 | # ifndef BOOST_PREPROCESSOR_FACILITIES_IS_EMPTY_HPP 14 | # define BOOST_PREPROCESSOR_FACILITIES_IS_EMPTY_HPP 15 | # 16 | # include 17 | # include 18 | # 19 | # endif /* BOOST_PREPROCESSOR_FACILITIES_IS_EMPTY_HPP */ 20 | -------------------------------------------------------------------------------- /deps/boost/include/boost/preprocessor/punctuation/comma.hpp: -------------------------------------------------------------------------------- 1 | # /* Copyright (C) 2001 2 | # * Housemarque Oy 3 | # * http://www.housemarque.com 4 | # * 5 | # * Distributed under the Boost Software License, Version 1.0. (See 6 | # * accompanying file LICENSE_1_0.txt or copy at 7 | # * http://www.boost.org/LICENSE_1_0.txt) 8 | # */ 9 | # 10 | # /* Revised by Paul Mensonides (2002) */ 11 | # 12 | # /* See http://www.boost.org for most recent version. */ 13 | # 14 | # ifndef BOOST_PREPROCESSOR_PUNCTUATION_COMMA_HPP 15 | # define BOOST_PREPROCESSOR_PUNCTUATION_COMMA_HPP 16 | # 17 | # /* BOOST_PP_COMMA */ 18 | # 19 | # define BOOST_PP_COMMA() , 20 | # 21 | # endif 22 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright David Abrahams 2001. 2 | // Distributed under the Boost Software License, Version 1.0. (See 3 | // accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_TYPE_DWA20010120_HPP 7 | # define BOOST_TYPE_DWA20010120_HPP 8 | 9 | namespace boost { 10 | 11 | // Just a simple "type envelope". Useful in various contexts, mostly to work 12 | // around some MSVC deficiencies. 13 | template 14 | struct type {}; 15 | 16 | } 17 | 18 | #endif // BOOST_TYPE_DWA20010120_HPP 19 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/add_lvalue_reference.hpp: -------------------------------------------------------------------------------- 1 | // Copyright 2010 John Maddock 2 | 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // See http://www.boost.org/LICENSE_1_0.txt 5 | 6 | #ifndef BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP 7 | #define BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP 8 | 9 | #include 10 | 11 | namespace boost{ 12 | 13 | template struct add_lvalue_reference 14 | { 15 | typedef typename boost::add_reference::type type; 16 | }; 17 | 18 | #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES 19 | template struct add_lvalue_reference 20 | { 21 | typedef T& type; 22 | }; 23 | #endif 24 | 25 | #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) 26 | 27 | template using add_lvalue_reference_t = typename add_lvalue_reference::type; 28 | 29 | #endif 30 | 31 | } 32 | 33 | #endif // BOOST_TYPE_TRAITS_EXT_ADD_LVALUE_REFERENCE__HPP 34 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/conditional.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2010. 2 | // Use, modification and distribution are subject to the Boost Software License, 3 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt). 5 | // 6 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 7 | 8 | 9 | #ifndef BOOST_TT_CONDITIONAL_HPP_INCLUDED 10 | #define BOOST_TT_CONDITIONAL_HPP_INCLUDED 11 | 12 | #include 13 | 14 | namespace boost { 15 | 16 | template struct conditional { typedef T type; }; 17 | template struct conditional { typedef U type; }; 18 | 19 | #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) 20 | 21 | template using conditional_t = typename conditional::type; 22 | 23 | #endif 24 | 25 | } // namespace boost 26 | 27 | 28 | #endif // BOOST_TT_CONDITIONAL_HPP_INCLUDED 29 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/conjunction.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, 6 | Version 1.0. (See accompanying file LICENSE_1_0.txt 7 | or copy at http://www.boost.org/LICENSE_1_0.txt) 8 | */ 9 | 10 | #ifndef BOOST_TT_CONJUNCTION_HPP_INCLUDED 11 | #define BOOST_TT_CONJUNCTION_HPP_INCLUDED 12 | 13 | #include 14 | #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) 15 | #include 16 | #endif 17 | 18 | namespace boost { 19 | 20 | #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) 21 | template 22 | struct conjunction 23 | : true_type { }; 24 | 25 | template 26 | struct conjunction 27 | : T { }; 28 | 29 | template 30 | struct conjunction 31 | : conditional, T>::type { }; 32 | #else 33 | template 34 | struct conjunction 35 | : conditional::type { }; 36 | #endif 37 | 38 | } /* boost */ 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/copy_cv_ref.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2019 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, 6 | Version 1.0. (See accompanying file LICENSE_1_0.txt 7 | or copy at http://www.boost.org/LICENSE_1_0.txt) 8 | */ 9 | #ifndef BOOST_TT_COPY_CV_REF_HPP_INCLUDED 10 | #define BOOST_TT_COPY_CV_REF_HPP_INCLUDED 11 | 12 | #include 13 | #include 14 | #include 15 | 16 | namespace boost { 17 | 18 | template 19 | struct copy_cv_ref { 20 | typedef typename copy_reference::type >::type, U>::type type; 22 | }; 23 | 24 | #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) 25 | template 26 | using copy_cv_ref_t = typename copy_cv_ref::type; 27 | #endif 28 | 29 | } /* boost */ 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/detail/yes_no_type.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright John Maddock and Steve Cleary 2000. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | // 9 | // macros and helpers for working with integral-constant-expressions. 10 | 11 | #ifndef BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED 12 | #define BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED 13 | 14 | namespace boost { 15 | namespace type_traits { 16 | 17 | typedef char yes_type; 18 | struct no_type 19 | { 20 | char padding[8]; 21 | }; 22 | 23 | } // namespace type_traits 24 | } // namespace boost 25 | 26 | #endif // BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED 27 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/enable_if.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2003 The Trustees of Indiana University 3 | 4 | Authors: Jaakko Jarvi (jajarvi at osl.iu.edu) 5 | Jeremiah Willcock (jewillco at osl.iu.edu) 6 | Andrew Lumsdaine (lums at osl.iu.edu) 7 | 8 | Copyright 2018 Glen Joseph Fernandes 9 | (glenjofe@gmail.com) 10 | 11 | Distributed under the Boost Software License, 12 | Version 1.0. (See accompanying file LICENSE_1_0.txt 13 | or copy at http://www.boost.org/LICENSE_1_0.txt) 14 | */ 15 | #ifndef BOOST_TT_ENABLE_IF_HPP_INCLUDED 16 | #define BOOST_TT_ENABLE_IF_HPP_INCLUDED 17 | 18 | #include 19 | 20 | namespace boost { 21 | 22 | template 23 | struct enable_if_ { 24 | typedef T type; 25 | }; 26 | 27 | template 28 | struct enable_if_ { }; 29 | 30 | #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) 31 | template 32 | using enable_if_t = typename enable_if_::type; 33 | #endif 34 | 35 | } /* boost */ 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/has_negate.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright 2009-2011 Frederic Bron. 2 | // 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_HAS_NEGATE_HPP_INCLUDED 10 | #define BOOST_TT_HAS_NEGATE_HPP_INCLUDED 11 | 12 | #define BOOST_TT_TRAIT_NAME has_negate 13 | #define BOOST_TT_TRAIT_OP - 14 | #define BOOST_TT_FORBIDDEN_IF\ 15 | /* pointer */\ 16 | ::boost::is_pointer< Rhs_noref >::value 17 | 18 | 19 | #include 20 | 21 | #undef BOOST_TT_TRAIT_NAME 22 | #undef BOOST_TT_TRAIT_OP 23 | #undef BOOST_TT_FORBIDDEN_IF 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/has_unary_minus.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright 2009-2011 Frederic Bron. 2 | // 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_HAS_UNARY_MINUS_HPP_INCLUDED 10 | #define BOOST_TT_HAS_UNARY_MINUS_HPP_INCLUDED 11 | 12 | #define BOOST_TT_TRAIT_NAME has_unary_minus 13 | #define BOOST_TT_TRAIT_OP - 14 | #define BOOST_TT_FORBIDDEN_IF\ 15 | /* pointer */\ 16 | ::boost::is_pointer< Rhs_noref >::value 17 | 18 | 19 | #include 20 | 21 | #undef BOOST_TT_TRAIT_NAME 22 | #undef BOOST_TT_TRAIT_OP 23 | #undef BOOST_TT_FORBIDDEN_IF 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/has_unary_plus.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright 2009-2011 Frederic Bron. 2 | // 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_HAS_UNARY_PLUS_HPP_INCLUDED 10 | #define BOOST_TT_HAS_UNARY_PLUS_HPP_INCLUDED 11 | 12 | #define BOOST_TT_TRAIT_NAME has_unary_plus 13 | #define BOOST_TT_TRAIT_OP + 14 | #define BOOST_TT_FORBIDDEN_IF\ 15 | false 16 | 17 | #include 18 | 19 | #undef BOOST_TT_TRAIT_NAME 20 | #undef BOOST_TT_TRAIT_OP 21 | #undef BOOST_TT_FORBIDDEN_IF 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/has_virtual_destructor.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright John Maddock 2005. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | 10 | #ifndef BOOST_TT_HAS_VIRTUAL_DESTRUCTOR_HPP_INCLUDED 11 | #define BOOST_TT_HAS_VIRTUAL_DESTRUCTOR_HPP_INCLUDED 12 | 13 | #include 14 | #include 15 | 16 | namespace boost { 17 | 18 | #ifdef BOOST_HAS_VIRTUAL_DESTRUCTOR 19 | template struct has_virtual_destructor : public integral_constant{}; 20 | #else 21 | template struct has_virtual_destructor : public integral_constant{}; 22 | #endif 23 | 24 | } // namespace boost 25 | 26 | #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED 27 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/is_arithmetic.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED 10 | #define BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED 11 | 12 | #include 13 | #include 14 | 15 | namespace boost { 16 | 17 | template 18 | struct is_arithmetic : public integral_constant::value || is_floating_point::value> {}; 19 | 20 | } // namespace boost 21 | 22 | #endif // BOOST_TT_IS_ARITHMETIC_HPP_INCLUDED 23 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/is_complex.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2007. 2 | // Use, modification and distribution are subject to the Boost Software License, 3 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt). 5 | // 6 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 7 | 8 | #ifndef BOOST_TT_IS_COMPLEX_HPP 9 | #define BOOST_TT_IS_COMPLEX_HPP 10 | 11 | #include 12 | #include 13 | #include 14 | 15 | namespace boost { 16 | 17 | template struct is_complex : public false_type {}; 18 | template struct is_complex : public is_complex{}; 19 | template struct is_complex : public is_complex{}; 20 | template struct is_complex : public is_complex{}; 21 | template struct is_complex > : public true_type{}; 22 | 23 | } // namespace boost 24 | 25 | #endif //BOOST_TT_IS_COMPLEX_HPP 26 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/is_compound.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_IS_COMPOUND_HPP_INCLUDED 10 | #define BOOST_TT_IS_COMPOUND_HPP_INCLUDED 11 | 12 | #include 13 | 14 | namespace boost { 15 | 16 | #if defined( BOOST_CODEGEARC ) 17 | template struct is_compound : public integral_constant {}; 18 | #else 19 | template struct is_compound : public integral_constant::value> {}; 20 | #endif 21 | 22 | } // namespace boost 23 | 24 | #endif // BOOST_TT_IS_COMPOUND_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/is_final.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright (c) 2014 Agustin Berge 3 | // 4 | // Use, modification and distribution are subject to the Boost Software License, 5 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt). 7 | // 8 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 9 | 10 | 11 | #ifndef BOOST_TT_IS_FINAL_HPP_INCLUDED 12 | #define BOOST_TT_IS_FINAL_HPP_INCLUDED 13 | 14 | #include 15 | #include 16 | #ifdef BOOST_IS_FINAL 17 | #include 18 | #endif 19 | 20 | namespace boost { 21 | 22 | #ifdef BOOST_IS_FINAL 23 | template struct is_final : public integral_constant {}; 24 | #else 25 | template struct is_final : public integral_constant {}; 26 | #endif 27 | 28 | } // namespace boost 29 | 30 | #endif // BOOST_TT_IS_FINAL_HPP_INCLUDED 31 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/is_float.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. 2 | // Use, modification and distribution are subject to the Boost Software License, 3 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt). 5 | // 6 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 7 | 8 | #ifndef BOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED 9 | #define BOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED 10 | 11 | // should be the last #include 12 | #include 13 | 14 | namespace boost { 15 | 16 | //* is a type T a floating-point type described in the standard (3.9.1p8) 17 | template struct is_float : public is_floating_point {}; 18 | } // namespace boost 19 | 20 | #endif // BOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED 21 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/is_function.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright 2000 John Maddock (john@johnmaddock.co.uk) 3 | // Copyright 2002 Aleksey Gurtovoy (agurtovoy@meta-comm.com) 4 | // 5 | // Use, modification and distribution are subject to the Boost Software License, 6 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt). 8 | // 9 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 10 | 11 | #ifndef BOOST_TT_IS_FUNCTION_HPP_INCLUDED 12 | #define BOOST_TT_IS_FUNCTION_HPP_INCLUDED 13 | 14 | #include 15 | #include 16 | 17 | #ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION 18 | 19 | #include 20 | 21 | #else 22 | 23 | #include 24 | 25 | #endif 26 | 27 | #endif // BOOST_TT_IS_FUNCTION_HPP_INCLUDED 28 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/is_member_function_pointer.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard 3 | // Hinnant & John Maddock 2000. 4 | // Use, modification and distribution are subject to the Boost Software License, 5 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt). 7 | // 8 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 9 | 10 | 11 | #ifndef BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED 12 | #define BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED 13 | 14 | #include 15 | 16 | #ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION 17 | 18 | #include 19 | 20 | #else 21 | 22 | #include 23 | 24 | #endif 25 | 26 | #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED 27 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/is_member_object_pointer.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright John Maddock 2005. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | 10 | #ifndef BOOST_TT_IS_MEMBER_OBJECT_POINTER_HPP_INCLUDED 11 | #define BOOST_TT_IS_MEMBER_OBJECT_POINTER_HPP_INCLUDED 12 | 13 | #include 14 | #include 15 | 16 | namespace boost { 17 | 18 | template struct is_member_object_pointer 19 | : public integral_constant::value && !::boost::is_member_function_pointer::value>{}; 21 | 22 | } // namespace boost 23 | 24 | #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/is_object.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_IS_OBJECT_HPP_INCLUDED 10 | #define BOOST_TT_IS_OBJECT_HPP_INCLUDED 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | 17 | namespace boost { 18 | 19 | template struct is_object 20 | : public 21 | integral_constant< 22 | bool, 23 | ! ::boost::is_reference::value && ! ::boost::is_void::value && ! ::boost::is_function::value > 24 | {}; 25 | 26 | } // namespace boost 27 | 28 | #endif // BOOST_TT_IS_OBJECT_HPP_INCLUDED 29 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/is_reference.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, 3 | // Howard Hinnant and John Maddock 2000, 2010. 4 | // (C) Copyright Mat Marcus, Jesse Jones and Adobe Systems Inc 2001 5 | 6 | // Use, modification and distribution are subject to the Boost Software License, 7 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 8 | // http://www.boost.org/LICENSE_1_0.txt). 9 | // 10 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 11 | 12 | #ifndef BOOST_TT_IS_REFERENCE_HPP_INCLUDED 13 | #define BOOST_TT_IS_REFERENCE_HPP_INCLUDED 14 | 15 | #include 16 | #include 17 | 18 | namespace boost { 19 | 20 | template struct is_reference 21 | : public 22 | integral_constant< 23 | bool, 24 | ::boost::is_lvalue_reference::value || ::boost::is_rvalue_reference::value> 25 | {}; 26 | 27 | } // namespace boost 28 | 29 | #endif // BOOST_TT_IS_REFERENCE_HPP_INCLUDED 30 | 31 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/is_scoped_enum.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, 6 | Version 1.0. (See accompanying file LICENSE_1_0.txt 7 | or copy at http://www.boost.org/LICENSE_1_0.txt) 8 | */ 9 | 10 | #ifndef BOOST_TT_IS_SCOPED_ENUM_HPP_INCLUDED 11 | #define BOOST_TT_IS_SCOPED_ENUM_HPP_INCLUDED 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | 18 | namespace boost { 19 | 20 | template 21 | struct is_scoped_enum 22 | : conjunction, negation > >::type { }; 23 | 24 | } /* boost */ 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/is_unscoped_enum.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, 6 | Version 1.0. (See accompanying file LICENSE_1_0.txt 7 | or copy at http://www.boost.org/LICENSE_1_0.txt) 8 | */ 9 | 10 | #ifndef BOOST_TT_IS_UNSCOPED_ENUM_HPP_INCLUDED 11 | #define BOOST_TT_IS_UNSCOPED_ENUM_HPP_INCLUDED 12 | 13 | #include 14 | #include 15 | #include 16 | 17 | namespace boost { 18 | 19 | template 20 | struct is_unscoped_enum 21 | : conjunction, is_convertible >::type { }; 22 | 23 | } /* boost */ 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/is_void.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_IS_VOID_HPP_INCLUDED 10 | #define BOOST_TT_IS_VOID_HPP_INCLUDED 11 | 12 | #include 13 | 14 | namespace boost { 15 | 16 | template 17 | struct is_void : public false_type {}; 18 | 19 | template<> struct is_void : public true_type {}; 20 | template<> struct is_void : public true_type{}; 21 | template<> struct is_void : public true_type{}; 22 | template<> struct is_void : public true_type{}; 23 | 24 | } // namespace boost 25 | 26 | #endif // BOOST_TT_IS_VOID_HPP_INCLUDED 27 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/negation.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2020 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, 6 | Version 1.0. (See accompanying file LICENSE_1_0.txt 7 | or copy at http://www.boost.org/LICENSE_1_0.txt) 8 | */ 9 | 10 | #ifndef BOOST_TT_NEGATION_HPP_INCLUDED 11 | #define BOOST_TT_NEGATION_HPP_INCLUDED 12 | 13 | #include 14 | 15 | namespace boost { 16 | 17 | template 18 | struct negation 19 | : integral_constant { }; 20 | 21 | } /* boost */ 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/promote.hpp: -------------------------------------------------------------------------------- 1 | // Copyright 2005 Alexander Nasonov. 2 | // Distributed under the Boost Software License, Version 1.0. (See 3 | // accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef FILE_boost_type_traits_promote_hpp_INCLUDED 7 | #define FILE_boost_type_traits_promote_hpp_INCLUDED 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | namespace boost { 14 | 15 | template struct promote : public integral_promotion::type>{}; 16 | 17 | #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) 18 | 19 | template using promote_t = typename promote::type; 20 | 21 | #endif 22 | 23 | } 24 | 25 | #endif // #ifndef FILE_boost_type_traits_promote_hpp_INCLUDED 26 | 27 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/remove_bounds.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | #ifndef BOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED 10 | #define BOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED 11 | 12 | #include 13 | 14 | namespace boost 15 | { 16 | 17 | template struct remove_bounds : public remove_extent {}; 18 | 19 | #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) 20 | 21 | template using remove_bounds_t = typename remove_bounds::type; 22 | 23 | #endif 24 | 25 | 26 | } // namespace boost 27 | 28 | #endif // BOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED 29 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/remove_cv_ref.hpp: -------------------------------------------------------------------------------- 1 | 2 | // (C) Copyright Peter Dimov 2017. 3 | // Use, modification and distribution are subject to the Boost Software License, 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt). 6 | // 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. 8 | 9 | 10 | #ifndef BOOST_TT_REMOVE_CV_REF_HPP_INCLUDED 11 | #define BOOST_TT_REMOVE_CV_REF_HPP_INCLUDED 12 | 13 | #include 14 | #include 15 | #include 16 | 17 | namespace boost { 18 | 19 | template struct remove_cv_ref: remove_cv::type> {}; 20 | 21 | 22 | #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) 23 | 24 | template using remove_cv_ref_t = typename remove_cv_ref::type; 25 | 26 | #endif 27 | 28 | } // namespace boost 29 | 30 | #endif // BOOST_TT_REMOVE_CV_REF_HPP_INCLUDED 31 | -------------------------------------------------------------------------------- /deps/boost/include/boost/type_traits/type_identity.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED 2 | #define BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED 3 | 4 | // 5 | // Copyright 2015 Peter Dimov 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt 10 | // 11 | 12 | #include 13 | 14 | namespace boost 15 | { 16 | 17 | template struct type_identity 18 | { 19 | typedef T type; 20 | }; 21 | 22 | #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) 23 | 24 | template using type_identity_t = typename type_identity::type; 25 | 26 | #endif 27 | 28 | 29 | } // namespace boost 30 | 31 | #endif // #ifndef BOOST_TYPE_TRAITS_TYPE_IDENTITY_HPP_INCLUDED 32 | -------------------------------------------------------------------------------- /docs/sphinx/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | find_program(SPHINX_EXECUTABLE NAMES sphinx-build 2 | HINTS $ENV{SPHINX_DIR} 3 | PATH_SUFFIXES bin 4 | ) 5 | 6 | if(NOT SPHINX_EXECUTABLE) 7 | message(FATAL_ERROR "SPHINX_EXECUTABLE (sphinx-build) is not found!") 8 | endif() 9 | 10 | find_package(LATEX) 11 | 12 | add_subdirectory(ja) 13 | add_subdirectory(en) 14 | 15 | add_custom_target(doc DEPENDS doc-ja doc-en) 16 | -------------------------------------------------------------------------------- /docs/sphinx/en/about/index.rst: -------------------------------------------------------------------------------- 1 | .. pyMC documentation master file, created by 2 | sphinx-quickstart on Wed Jul 31 13:13:22 2019. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | What is TeNeS ? 7 | ------------------------------------------ 8 | 9 | .. toctree:: 10 | :maxdepth: 1 11 | 12 | info 13 | 14 | -------------------------------------------------------------------------------- /docs/sphinx/en/acknowledge/index.rst: -------------------------------------------------------------------------------- 1 | *************************** 2 | Acknowledgement 3 | *************************** 4 | 5 | TeNeS was supported by MEXT as "Exploratory Challenge on Post-K computer" (Frontiers of Basic Science: Challenging the Limits) and "Priority Issue on Post-K computer" (Creation of New Functional Devices and High-Performance Materials to Support Next-Generation Industries). We also would also like to express our thanks for the support of the \"*Project for advancement of software usability in materials science*\" of The Institute for Solid State Physics, The University of Tokyo, for the development of TeNeS. 6 | 7 | -------------------------------------------------------------------------------- /docs/sphinx/en/algorithm/index.rst: -------------------------------------------------------------------------------- 1 | .. toctree:: 2 | :maxdepth: 2 3 | 4 | algorithms 5 | -------------------------------------------------------------------------------- /docs/sphinx/en/contact/index.rst: -------------------------------------------------------------------------------- 1 | Contacts 2 | ========================================= 3 | 4 | - Report bugs 5 | 6 | Please report all problems and bugs on the `GitHub Issues page `__ 7 | 8 | Follow these guidelines when reporting: 9 | 10 | - Please specify the version of TeNeS, OS, and compiler you are using. 11 | 12 | - If there are problems for installation, please include input / output of ``cmake`` and ``make``, and CMakeCache.txt (one of the output file of ``cmake``). 13 | 14 | - If a problem occurs during execution, please show the input file used and obtained output. 15 | 16 | Thank you for your cooperation. 17 | 18 | - Others 19 | 20 | If you have any questions about topics related to your research that are difficult to consult in public (e.g., at Issue page on GitHub), please send an e-mail to the following address: 21 | 22 | E-mail: ``tenes-dev__at__issp.u-tokyo.ac.jp`` (replace ``__at__`` by ``@``). 23 | -------------------------------------------------------------------------------- /docs/sphinx/en/file_specification/index.rst: -------------------------------------------------------------------------------- 1 | *************************** 2 | File format 3 | *************************** 4 | 5 | 6 | .. toctree:: 7 | :maxdepth: 2 8 | 9 | input_summary 10 | simple_format 11 | standard_format 12 | expert_format 13 | output_format 14 | 15 | -------------------------------------------------------------------------------- /docs/sphinx/en/how_to_use/expert_usage.rst: -------------------------------------------------------------------------------- 1 | .. highlight:: none 2 | 3 | Usage of ``tenes`` 4 | -------------------- 5 | 6 | ``tenes`` is the main program of TeNeS. 7 | 8 | .. code:: bash 9 | 10 | $ tenes input.toml 11 | 12 | - Take the input file name as an argument 13 | - The command line options are: 14 | 15 | - ``--help`` 16 | - Show help messages. 17 | - ``--version`` 18 | - Show the version number. 19 | - ``--quiet`` 20 | - Do not print any messages to the standard output. 21 | 22 | In many cases, users do not have to edit the input file directly. 23 | See :ref:`sec-expert-format` for details of the input file. 24 | -------------------------------------------------------------------------------- /docs/sphinx/en/index.rst: -------------------------------------------------------------------------------- 1 | .. TeNeS documentation master file, created by 2 | sphinx-quickstart on Wed Jul 31 13:13:22 2019. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | Welcome to TeNeS's documentation! 7 | ========================================= 8 | 9 | Contents 10 | -------- 11 | 12 | .. toctree:: 13 | :maxdepth: 2 14 | :numbered: 3 15 | 16 | about/index 17 | install 18 | how_to_use/index 19 | tutorial/index 20 | file_specification/index 21 | algorithm/index 22 | faq 23 | acknowledge/index 24 | contact/index 25 | 26 | 27 | Indices and tables 28 | ================== 29 | 30 | * :ref:`genindex` 31 | * :ref:`modindex` 32 | * :ref:`search` 33 | -------------------------------------------------------------------------------- /docs/sphinx/en/tutorial/index.rst: -------------------------------------------------------------------------------- 1 | *************************** 2 | Tutorial 3 | *************************** 4 | 5 | 6 | .. toctree:: 7 | :maxdepth: 2 8 | 9 | 01_transverse_field_ising.rst 10 | 02_time_evolution.rst 11 | 03_finite_temperature.rst 12 | 04_magnetization.rst 13 | 05_hardcore_boson_triangular.rst 14 | 06_std_model.rst 15 | -------------------------------------------------------------------------------- /docs/sphinx/img/CTM.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/CTM.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/CTM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/CTM.png -------------------------------------------------------------------------------- /docs/sphinx/img/CandE.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/CandE.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/CandE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/CandE.png -------------------------------------------------------------------------------- /docs/sphinx/img/Copy.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/Copy.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/Copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/Copy.png -------------------------------------------------------------------------------- /docs/sphinx/img/HoneycombLattice.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/HoneycombLattice.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/HoneycombLattice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/HoneycombLattice.png -------------------------------------------------------------------------------- /docs/sphinx/img/J.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/J.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/J.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/J.png -------------------------------------------------------------------------------- /docs/sphinx/img/KagomeLattice.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/KagomeLattice.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/KagomeLattice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/KagomeLattice.png -------------------------------------------------------------------------------- /docs/sphinx/img/LeftMove.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/LeftMove.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/LeftMove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/LeftMove.png -------------------------------------------------------------------------------- /docs/sphinx/img/MPO.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/MPO.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/MPO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/MPO.png -------------------------------------------------------------------------------- /docs/sphinx/img/MPS.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/MPS.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/MPS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/MPS.png -------------------------------------------------------------------------------- /docs/sphinx/img/Simple_opt.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/Simple_opt.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/Simple_opt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/Simple_opt.png -------------------------------------------------------------------------------- /docs/sphinx/img/Simple_update.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/Simple_update.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/Simple_update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/Simple_update.png -------------------------------------------------------------------------------- /docs/sphinx/img/SquareLattice.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/SquareLattice.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/SquareLattice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/SquareLattice.png -------------------------------------------------------------------------------- /docs/sphinx/img/Sz.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/Sz.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/Sz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/Sz.png -------------------------------------------------------------------------------- /docs/sphinx/img/SzSz.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/SzSz.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/SzSz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/SzSz.png -------------------------------------------------------------------------------- /docs/sphinx/img/TeNeS_logo.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/TeNeS_logo.ai -------------------------------------------------------------------------------- /docs/sphinx/img/TeNeS_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/TeNeS_logo.jpg -------------------------------------------------------------------------------- /docs/sphinx/img/TeNeS_logo.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/TeNeS_logo.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/TeNeS_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/TeNeS_logo.png -------------------------------------------------------------------------------- /docs/sphinx/img/TeNeS_logo_banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/TeNeS_logo_banner.jpg -------------------------------------------------------------------------------- /docs/sphinx/img/TeNeS_logo_banner.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/TeNeS_logo_banner.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/TeNeS_logo_banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/TeNeS_logo_banner.png -------------------------------------------------------------------------------- /docs/sphinx/img/TriangularLattice.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/TriangularLattice.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/TriangularLattice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/TriangularLattice.png -------------------------------------------------------------------------------- /docs/sphinx/img/double_tensor.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/double_tensor.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/double_tensor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/double_tensor.png -------------------------------------------------------------------------------- /docs/sphinx/img/en_tutorial_1_Hamiltonian.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/en_tutorial_1_Hamiltonian.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/en_tutorial_1_Hamiltonian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/en_tutorial_1_Hamiltonian.png -------------------------------------------------------------------------------- /docs/sphinx/img/en_tutorial_1_Observable.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/en_tutorial_1_Observable.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/en_tutorial_1_Observable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/en_tutorial_1_Observable.png -------------------------------------------------------------------------------- /docs/sphinx/img/en_tutorial_1_Tensor.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/en_tutorial_1_Tensor.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/en_tutorial_1_Tensor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/en_tutorial_1_Tensor.png -------------------------------------------------------------------------------- /docs/sphinx/img/iMPO.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPO.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/iMPO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPO.png -------------------------------------------------------------------------------- /docs/sphinx/img/iMPO_ITE_local.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPO_ITE_local.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/iMPO_ITE_local.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPO_ITE_local.png -------------------------------------------------------------------------------- /docs/sphinx/img/iMPO_T0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPO_T0.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/iMPO_T0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPO_T0.png -------------------------------------------------------------------------------- /docs/sphinx/img/iMPS.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPS.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/iMPS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPS.png -------------------------------------------------------------------------------- /docs/sphinx/img/iMPS_ITE.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPS_ITE.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/iMPS_ITE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPS_ITE.png -------------------------------------------------------------------------------- /docs/sphinx/img/iMPS_ITE_iMPS.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPS_ITE_iMPS.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/iMPS_ITE_iMPS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPS_ITE_iMPS.png -------------------------------------------------------------------------------- /docs/sphinx/img/iMPS_ITE_local.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPS_ITE_local.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/iMPS_ITE_local.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iMPS_ITE_local.png -------------------------------------------------------------------------------- /docs/sphinx/img/iTPO.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iTPO.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/iTPO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iTPO.png -------------------------------------------------------------------------------- /docs/sphinx/img/iTPS.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iTPS.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/iTPS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iTPS.png -------------------------------------------------------------------------------- /docs/sphinx/img/iTPS_braket.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iTPS_braket.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/iTPS_braket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/iTPS_braket.png -------------------------------------------------------------------------------- /docs/sphinx/img/ja_tutorial_1_Hamiltonian.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/ja_tutorial_1_Hamiltonian.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/ja_tutorial_1_Hamiltonian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/ja_tutorial_1_Hamiltonian.png -------------------------------------------------------------------------------- /docs/sphinx/img/ja_tutorial_1_Observable.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/ja_tutorial_1_Observable.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/ja_tutorial_1_Observable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/ja_tutorial_1_Observable.png -------------------------------------------------------------------------------- /docs/sphinx/img/ja_tutorial_1_Tensor.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/ja_tutorial_1_Tensor.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/ja_tutorial_1_Tensor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/ja_tutorial_1_Tensor.png -------------------------------------------------------------------------------- /docs/sphinx/img/obs_sec_fig1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/obs_sec_fig1.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/obs_sec_fig1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/obs_sec_fig1.png -------------------------------------------------------------------------------- /docs/sphinx/img/tenes_flow.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tenes_flow.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/tenes_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tenes_flow.png -------------------------------------------------------------------------------- /docs/sphinx/img/tensor_sec_fig1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tensor_sec_fig1.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/tensor_sec_fig1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tensor_sec_fig1.png -------------------------------------------------------------------------------- /docs/sphinx/img/tensor_sec_fig2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tensor_sec_fig2.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/tensor_sec_fig2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tensor_sec_fig2.png -------------------------------------------------------------------------------- /docs/sphinx/img/trace_Sz.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/trace_Sz.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/trace_Sz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/trace_Sz.png -------------------------------------------------------------------------------- /docs/sphinx/img/trace_tensor.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/trace_tensor.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/trace_tensor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/trace_tensor.png -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_03_finitetemperature.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_03_finitetemperature.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_03_finitetemperature.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_03_finitetemperature.png -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_07_timeevolution.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_07_timeevolution.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_07_timeevolution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_07_timeevolution.png -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_07_timeevolution_D10.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_07_timeevolution_D10.ai -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_07_timeevolution_D10.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_07_timeevolution_D10.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_07_timeevolution_D10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_07_timeevolution_D10.png -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_08_finitetemperature.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_08_finitetemperature.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_08_finitetemperature.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_08_finitetemperature.png -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_1_Sz_vs_G.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_1_Sz_vs_G.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_1_Sz_vs_G.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_1_Sz_vs_G.png -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_5_square.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_5_square.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_5_square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_5_square.png -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_5_triangular.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_5_triangular.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_5_triangular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_5_triangular.png -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_6_hardcore_boson.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_6_hardcore_boson.pdf -------------------------------------------------------------------------------- /docs/sphinx/img/tutorial_6_hardcore_boson.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/docs/sphinx/img/tutorial_6_hardcore_boson.png -------------------------------------------------------------------------------- /docs/sphinx/ja/about/index.rst: -------------------------------------------------------------------------------- 1 | .. pyMC documentation master file, created by 2 | sphinx-quickstart on Wed Jul 31 13:13:22 2019. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | TeNeS とは? 7 | ------------------------------------------ 8 | 9 | .. toctree:: 10 | :maxdepth: 1 11 | 12 | info 13 | 14 | -------------------------------------------------------------------------------- /docs/sphinx/ja/acknowledge/index.rst: -------------------------------------------------------------------------------- 1 | *************************** 2 | 謝辞 3 | *************************** 4 | 5 | TeNeS の開発は,文部科学省ポスト「京」萌芽的課題1「基礎科学のフロンティア - 極限への挑戦」及びポスト「京」重点課題7「次世代の産業を支える新機能デバイス・高性能材料の創成」の一環として実施されました.また, 東京大学物性研究所 ソフトウェア高度化プロジェクト (2019 年度) の支援も受け開発されました。この場を借りて感謝します。 6 | 7 | -------------------------------------------------------------------------------- /docs/sphinx/ja/algorithm/index.rst: -------------------------------------------------------------------------------- 1 | .. toctree:: 2 | :maxdepth: 2 3 | 4 | algorithms 5 | -------------------------------------------------------------------------------- /docs/sphinx/ja/contact/index.rst: -------------------------------------------------------------------------------- 1 | お問い合わせ 2 | ========================================= 3 | 4 | TeNeS に関するお問い合わせはこちらにお寄せください。 5 | 6 | - 質問・バグ報告 7 | 8 | TeNeS のバグ関連の報告は `GitHubのIssues `__ で受け付けています。 9 | バグを早期に解決するため、報告時には次のガイドラインに従ってください。 10 | 11 | - 使用している TeNeS、オペレーティングシステム、コンパイラの情報(名前およびバージョン)を記載してください。 12 | 13 | - インストールに問題がある場合には、cmakeおよびmake実行時の入出力とCMakeCache.txtも一緒に記載してください。 14 | 15 | - 実行に問題が生じた場合は, 実行に使用した入力ファイルとその出力を記載してください。 16 | 17 | - その他 18 | 19 | 研究に関連するトピックなど、公開の場では相談しづらいことを問い合わせる際には, 以下の連絡先にコンタクトをしてください。 20 | 21 | E-mail: ``tenes-dev__at__issp.u-tokyo.ac.jp`` (_at_を@に変更してください) 22 | 23 | -------------------------------------------------------------------------------- /docs/sphinx/ja/file_specification/index.rst: -------------------------------------------------------------------------------- 1 | *************************** 2 | ファイルフォーマット 3 | *************************** 4 | 5 | 6 | .. toctree:: 7 | :maxdepth: 2 8 | 9 | input_summary 10 | simple_format 11 | standard_format 12 | expert_format 13 | output_format 14 | 15 | -------------------------------------------------------------------------------- /docs/sphinx/ja/how_to_use/expert_usage.rst: -------------------------------------------------------------------------------- 1 | .. highlight:: none 2 | 3 | ``tenes`` の使用方法 4 | ------------------------------ 5 | 6 | ``tenes`` はメインプログラムです。 7 | 8 | .. code:: bash 9 | 10 | $ tenes input.toml 11 | 12 | - 引数として入力ファイル名を取ります 13 | - コマンドラインオプションは以下の通りです 14 | 15 | - ``--help`` 16 | - ヘルプメッセージの表示 17 | - ``--version`` 18 | - バージョン情報の表示 19 | - ``--quiet`` 20 | - 標準出力に何も書き出さないようにします 21 | 22 | 多くの場合において、ユーザーが入力ファイルを直接編集する必要はありません。 23 | 入力ファイルの詳細は :ref:`sec-expert-format` を参照してください。 24 | -------------------------------------------------------------------------------- /docs/sphinx/ja/how_to_use/index.rst: -------------------------------------------------------------------------------- 1 | *************************** 2 | 使用方法 3 | *************************** 4 | 5 | TeNeS のメインプログラム ``tenes`` を利用するには、模型や演算順などを定義するための入力ファイルを作成する必要があります。入力ファイルの作成をしやすいように、 6 | 7 | - ``tenes_std``: 所定のフォーマットに従い、自分で格子模型などを定義した入力ファイルを作成し実行することで、 ``tenes`` を実行するための入力ファイルを生成するツール 8 | 9 | - ``tenes_simple``: あらかじめ定義された格子模型に対して, 簡単な入力ファイルから ``tenes_std`` を実行するための入力ファイルを生成するツール 10 | 11 | が用意されています(:numref:`fig_tenes_flow` 参照)。任意の模型や格子に対応させたい場合には、 ``tenes_std`` の入力ファイルを直接作成することで対応できます。 TeNeS の各種入力ファイルの詳細については、:doc:`ファイルフォーマット<../file_specification/index>` をご覧ください。 12 | 13 | .. figure:: ../../img/tenes_flow.* 14 | :name: fig_tenes_flow 15 | :width: 800px 16 | 17 | TeNeSの計算フロー概要図 18 | 19 | 20 | 以下、それぞれのツールの使用方法について記載し、最後に ``tenes`` の使用方法について説明します。 21 | 22 | 23 | .. toctree:: 24 | :maxdepth: 2 25 | 26 | simple_usage 27 | standard_usage 28 | expert_usage 29 | -------------------------------------------------------------------------------- /docs/sphinx/ja/index.rst: -------------------------------------------------------------------------------- 1 | .. pyMC documentation master file, created by 2 | sphinx-quickstart on Wed Jul 31 13:13:22 2019. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | Welcome to TeNeS's documentation! 7 | ========================================= 8 | 9 | Contents 10 | -------- 11 | 12 | .. toctree:: 13 | :maxdepth: 2 14 | :numbered: 3 15 | 16 | about/index 17 | install 18 | how_to_use/index 19 | tutorial/index 20 | file_specification/index 21 | algorithm/index 22 | faq 23 | acknowledge/index 24 | contact/index 25 | 26 | 27 | Indices and tables 28 | ================== 29 | 30 | * :ref:`genindex` 31 | * :ref:`modindex` 32 | * :ref:`search` 33 | -------------------------------------------------------------------------------- /docs/sphinx/ja/tutorial/index.rst: -------------------------------------------------------------------------------- 1 | *************************** 2 | チュートリアル 3 | *************************** 4 | 5 | .. toctree:: 6 | :maxdepth: 2 7 | 8 | 9 | 01_transverse_field_ising 10 | 02_time_evolution 11 | 03_finite_temperature 12 | 04_magnetization 13 | 05_hardcore_boson_triangular 14 | 06_std_model 15 | -------------------------------------------------------------------------------- /misc/contraction/config.py: -------------------------------------------------------------------------------- 1 | # tdt.py, netcon.py and config.py are originally from https://github.com/smorita/Tensordot 2 | # They are redistributed under the MIT license (see LICENSE in this directory) 3 | 4 | import logging 5 | 6 | # Default parameters 7 | STYLE = "numpy" 8 | COMMENT_PREFIX = "#" 9 | NUMPY = "np" 10 | INDENT = " " 11 | 12 | LOGGING_LEVEL = logging.INFO 13 | 14 | DEFAULT_BOND_DIM = 10 15 | -------------------------------------------------------------------------------- /misc/contraction/cont.sh: -------------------------------------------------------------------------------- 1 | for nrow in 1 2 3; do 2 | for ncol in 1 2 3; do 3 | julia ./cont.jl --output=${nrow}_${ncol}.dat --pass_as_vector --tdt_path="./tdt.py" ${nrow} ${ncol} 4 | done 5 | done 6 | -------------------------------------------------------------------------------- /misc/contraction/cont_density.sh: -------------------------------------------------------------------------------- 1 | for nrow in 1 2 3 4; do 2 | for ncol in 1 2 3 4; do 3 | julia ./cont_density.jl --output=${nrow}_${ncol}_den.dat --pass_as_vector --tdt_path="./tdt.py" ${nrow} ${ncol} 4 | done 5 | done 6 | -------------------------------------------------------------------------------- /misc/contraction/cont_mf.sh: -------------------------------------------------------------------------------- 1 | for nrow in 1 2 3 4; do 2 | for ncol in 1 2 3 4; do 3 | julia ./cont_mf.jl --output=${nrow}_${ncol}_mf.dat --vdim=8 --pass_as_vector --tdt_path="./tdt.py" ${nrow} ${ncol} 4 | done 5 | done 6 | -------------------------------------------------------------------------------- /misc/make_archive.sh: -------------------------------------------------------------------------------- 1 | if [ $# -ne 1 ]; then 2 | echo "Usage: $0 " 3 | exit 1 4 | fi 5 | 6 | version=$1 7 | 8 | ROOT_DIR=`pwd` 9 | if [ -z "$(grep 'project(TeNeS' $ROOT_DIR/CMakeLists.txt 2>/dev/null)" ]; then 10 | echo "ERROR: current directory is not the root directory of the TeNeS codes" 11 | exit 1 12 | fi 13 | 14 | if [ ! -d $ROOT_DIR/.git ]; then 15 | echo "ERROR: this is not a git repository" 16 | exit 1 17 | fi 18 | 19 | res=0 20 | type git-archive-all >/dev/null 2>&1 || res=1 21 | if [ $res -eq 1 ]; then 22 | echo "ERROR: git-archive-all is not installed" 23 | exit 1 24 | fi 25 | 26 | cd $ROOT_DIR 27 | rm -rf build-doc 28 | mkdir build-doc 29 | cd build-doc 30 | cmake -DDocument=ON ../ 31 | for lang in ja en; do 32 | make doc-${lang}-pdf 33 | cp docs/sphinx/${lang}/pdf/TeNeS_${lang}.pdf ../ 34 | done 35 | cd $ROOT_DIR 36 | 37 | 38 | git submodule update -i -r 39 | git-archive-all \ 40 | --prefix=TeNeS-${version} \ 41 | --extra=TeNeS_ja.pdf \ 42 | --extra=TeNeS_en.pdf \ 43 | TeNeS-${version}.tar.gz 44 | -------------------------------------------------------------------------------- /sample/01_transverse_field_ising/README.md: -------------------------------------------------------------------------------- 1 | - how to run 2 | - simple.toml 3 | - `tenes_simple simple.toml` 4 | - `tenes_std std.toml` 5 | - `tenes input.toml` 6 | - tutorial-example.py + simple.toml 7 | - `python3 tutorial-example.py` 8 | - `python3 tutorial-read.py > result.dat` 9 | - model 10 | - Transverse field Ferromagnetic Ising model on the square lattice 11 | - Parameter 12 | - simple.toml 13 | - J = -1 14 | - hx = 0 15 | - Ferromagnetic phase with Sz > 0 16 | - tutorial-example.py + simple.toml 17 | - J = -1 18 | - hx = [0, 3] 19 | - FM with Sz>0 -> FM with Sx>0 20 | - Observables 21 | - Energy 22 | - Magnetization along Sz and Sx 23 | - Unitcell 24 | - 2x2 25 | -------------------------------------------------------------------------------- /sample/01_transverse_field_ising/simple.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | is_real = true # Limit tensor elements in real (not complex) 4 | 5 | [parameter.simple_update] 6 | num_step = 1000 # Number of steps in simple update 7 | tau = 0.01 # Imaginary time slice 8 | 9 | [parameter.full_update] 10 | num_step = 0 # Number of steps in full update 11 | tau = 0.01 # Imaginary time slice 12 | 13 | [parameter.ctm] 14 | meanfield_env = false # Use meanfield environment to contract iTNS 15 | iteration_max = 10 # Maximum number of iterations in CTMRG 16 | dimension = 10 # Bond dimension of corner transfer matrix 17 | 18 | [lattice] 19 | type = "square lattice" # Type of lattice 20 | L = 2 # X length of unit cell 21 | W = 2 # Y length of unit cell 22 | virtual_dim = 2 # Bond dimension of bulk tensors 23 | initial = "ferro" # Initial condition 24 | 25 | [model] 26 | type = "spin" # Type of model 27 | Jz = -1.0 # Jz SzSz 28 | Jx = 0.0 # Jx SxSx 29 | Jy = 0.0 # Jy SySy 30 | hx = 0.0 # hx Sx 31 | -------------------------------------------------------------------------------- /sample/01_transverse_field_ising/tutorial_example.py: -------------------------------------------------------------------------------- 1 | import subprocess 2 | 3 | import numpy as np 4 | import toml 5 | 6 | MPI_cmd = "" # e.g., "mpiexec -np 1" 7 | 8 | num_hx = 16 9 | min_hx = 0.0 10 | max_hx = 3.0 11 | 12 | total = 0 13 | for idx, hx in enumerate(np.linspace(min_hx, max_hx, num=num_hx)): 14 | print(f"Calculation Process: {idx+1}/{num_hx}") 15 | with open("simple.toml") as f: 16 | dict_toml = toml.load(f) 17 | dict_toml["parameter"]["general"]["output"] = f"output_{idx}" 18 | dict_toml["model"]["hx"] = float(hx) 19 | 20 | simple_toml = f"simple_{idx}.toml" 21 | std_toml = f"std_{idx}.toml" 22 | input_toml = f"input_{idx}.toml" 23 | 24 | with open(simple_toml, "w") as f: 25 | toml.dump(dict_toml, f) 26 | cmd = f"tenes_simple {simple_toml} -o {std_toml}" 27 | subprocess.call(cmd.split()) 28 | 29 | cmd = f"tenes_std {std_toml} -o {input_toml}" 30 | subprocess.call(cmd.split()) 31 | 32 | cmd = f"{MPI_cmd} tenes {input_toml}" 33 | subprocess.call(cmd.split()) 34 | -------------------------------------------------------------------------------- /sample/01_transverse_field_ising/tutorial_read.py: -------------------------------------------------------------------------------- 1 | from os.path import join 2 | 3 | import toml 4 | 5 | num_hx = 16 6 | 7 | print("# $1: h") 8 | print("# $2: ene") 9 | print("# $3: sz") 10 | print("# $4: sx") 11 | print() 12 | 13 | for idx in range(num_hx): 14 | try: 15 | with open(f"simple_{idx}.toml") as f: 16 | dict_toml = toml.load(f) 17 | hx = dict_toml["model"]["hx"] 18 | ene = 0.0 19 | mag_sz = 0.0 20 | mag_sx = 0.0 21 | with open(join(f"output_{idx}", "density.dat")) as f: 22 | for line in f: 23 | words = line.split() 24 | if words[0] == "Energy": 25 | ene = words[2] 26 | elif words[0] == "Sz": 27 | mag_sz = words[2] 28 | elif words[0] == "Sx": 29 | mag_sx = words[2] 30 | print(f"{hx} {ene} {mag_sz} {mag_sx}") 31 | except: 32 | continue 33 | -------------------------------------------------------------------------------- /sample/02_time_evolution/magnetization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/issp-center-dev/TeNeS/6e5f4e7a06a03a37ed309d8d1396e4d7f4aff0ae/sample/02_time_evolution/magnetization.png -------------------------------------------------------------------------------- /sample/02_time_evolution/plot.plt: -------------------------------------------------------------------------------- 1 | set yr [-0.5:0.5] 2 | set ytics 0.25 3 | set key bottom 4 | set xl "time" 5 | set yl "magnetization" 6 | 7 | plot \ 8 | "magnetization_strong.dat" w lp pt 5 t"hx=2.0", \ 9 | "magnetization_middle.dat" w lp pt 7 t"hx=0.8", \ 10 | "magnetization_weak.dat" w lp pt 9 t"hx=0.5", \ 11 | 0.0 lc "black" t"" 12 | -------------------------------------------------------------------------------- /sample/02_time_evolution/run.sh: -------------------------------------------------------------------------------- 1 | # obtain ground state before quench 2 | tenes_simple simple.toml 3 | tenes_std std.toml 4 | tenes input.toml 5 | 6 | for name in weak middle strong; do 7 | tenes_simple -o std_te_${name}.toml simple_te_${name}.toml 8 | tenes_std -o input_te_${name}.toml std_te_${name}.toml 9 | tenes input_te_${name}.toml 10 | 11 | awk '$2 == 1 {print $1, $3, $4}' output_te_${name}/TE_density.dat > magnetization_${name}.dat 12 | done 13 | -------------------------------------------------------------------------------- /sample/02_time_evolution/simple.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | output = "output" 4 | tensor_save = "save_tensor" 5 | 6 | [parameter.simple_update] 7 | num_step = 10 8 | tau = 0.01 9 | 10 | [parameter.full_update] 11 | num_step = 0 12 | tau = 0.0 13 | 14 | [parameter.ctm] 15 | meanfield_env = true 16 | iteration_max = 10 17 | dimension = 10 18 | 19 | [lattice] 20 | type = "square lattice" 21 | L = 2 22 | W = 2 23 | virtual_dim = 3 24 | initial = "ferro" 25 | 26 | [model] 27 | type = "spin" 28 | Jz = -1.0 29 | Jx = 0.0 30 | Jy = 0.0 31 | hx = 0.0 32 | -------------------------------------------------------------------------------- /sample/02_time_evolution/simple_te_middle.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | output = "output_te_middle" 4 | tensor_load = "save_tensor" 5 | mode = "time" 6 | 7 | [parameter.simple_update] 8 | num_step = 500 9 | tau = 0.01 10 | 11 | [parameter.full_update] 12 | num_step = 0 13 | tau = 0.0 14 | 15 | [parameter.ctm] 16 | meanfield_env = true 17 | iteration_max = 10 18 | dimension = 10 19 | 20 | [lattice] 21 | type = "square lattice" 22 | L = 2 23 | W = 2 24 | virtual_dim = 3 25 | initial = "ferro" 26 | 27 | [model] 28 | type = "spin" 29 | Jz = -1.0 30 | Jx = 0.0 31 | Jy = 0.0 32 | hx = 0.8 33 | -------------------------------------------------------------------------------- /sample/02_time_evolution/simple_te_strong.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | output = "output_te_strong" 4 | tensor_load = "save_tensor" 5 | mode = "time" 6 | 7 | [parameter.simple_update] 8 | num_step = 500 9 | tau = 0.01 10 | 11 | [parameter.full_update] 12 | num_step = 0 13 | tau = 0.0 14 | 15 | [parameter.ctm] 16 | meanfield_env = true 17 | iteration_max = 10 18 | dimension = 10 19 | 20 | [lattice] 21 | type = "square lattice" 22 | L = 2 23 | W = 2 24 | virtual_dim = 3 25 | initial = "ferro" 26 | 27 | [model] 28 | type = "spin" 29 | Jz = -1.0 30 | Jx = 0.0 31 | Jy = 0.0 32 | hx = 2.0 33 | -------------------------------------------------------------------------------- /sample/02_time_evolution/simple_te_weak.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | output = "output_te_weak" 4 | tensor_load = "save_tensor" 5 | mode = "time" 6 | 7 | [parameter.simple_update] 8 | num_step = 500 9 | tau = 0.01 10 | 11 | [parameter.full_update] 12 | num_step = 0 13 | tau = 0.0 14 | 15 | [parameter.ctm] 16 | meanfield_env = true 17 | iteration_max = 10 18 | dimension = 10 19 | 20 | [lattice] 21 | type = "square lattice" 22 | L = 2 23 | W = 2 24 | virtual_dim = 3 25 | initial = "ferro" 26 | 27 | [model] 28 | type = "spin" 29 | Jz = -1.0 30 | Jx = 0.0 31 | Jy = 0.0 32 | hx = 0.5 33 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/README.md: -------------------------------------------------------------------------------- 1 | QMC result for TFI model on a square lattice (32x32) by using DSQSS/dla (https://github.com/issp-center-dev/DSQSS). 2 | 3 | ``` bash 4 | sh exec.sh 5 | ``` 6 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/common_param.in: -------------------------------------------------------------------------------- 1 | algfile = algorithm.xml 2 | cfoutfile = cf.dat 3 | ckoutfile = ck.dat 4 | dispfile = 5 | latfile = lattice.xml 6 | ndecor = 100 7 | nmcs = 1000 8 | npre = 100 9 | nsegmax = 1000000 10 | nset = 1 11 | ntau = 10 12 | ntherm = 1000 13 | nvermax = 1000000 14 | outfile = sample.log 15 | seed = 31415 16 | sfoutfile = sf.dat 17 | simulationtime = 0.0 18 | wvfile = 19 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/ene-L32-G0.0.dat: -------------------------------------------------------------------------------- 1 | 0.05 -4.99980181e-01 2.08808266e-05 2 | 0.1 -5.00003110e-01 2.96545797e-05 3 | 0.2 -4.99966568e-01 5.13604499e-05 4 | 0.3 -4.97107059e-01 8.39212834e-05 5 | 0.4 -4.82012323e-01 9.12329162e-05 6 | 0.5 -4.36350861e-01 8.83769241e-05 7 | 0.6 -3.03354382e-01 2.01619971e-04 8 | 0.7 -2.27019658e-01 1.24150843e-04 9 | 0.8 -1.86410413e-01 1.25981974e-04 10 | 0.9 -1.59029118e-01 1.16780148e-04 11 | 1.0 -1.39562195e-01 9.23542274e-05 12 | 1.25 -1.06985798e-01 8.50029530e-05 13 | 1.5 -8.72944107e-02 7.74591774e-05 14 | 1.75 -7.39227066e-02 7.53660220e-05 15 | 2.0 -6.42405701e-02 7.96274629e-05 16 | 5.0 -2.52030945e-02 6.24033826e-05 17 | 10.0 -1.25015259e-02 6.68657911e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/ene-L32-G0.5.dat: -------------------------------------------------------------------------------- 1 | 0.05 -5.31430835e-01 3.31061507e-05 2 | 0.1 -5.31394312e-01 3.63992937e-05 3 | 0.2 -5.31226657e-01 4.32862609e-05 4 | 0.3 -5.28012476e-01 5.25922840e-05 5 | 0.4 -5.10925217e-01 7.76729471e-05 6 | 0.5 -4.58354818e-01 1.54247706e-04 7 | 0.6 -3.36928873e-01 1.78395269e-04 8 | 0.7 -2.78432447e-01 1.61493743e-04 9 | 0.8 -2.39934241e-01 1.33767315e-04 10 | 0.9 -2.11651038e-01 1.38187205e-04 11 | 1.0 -1.89516632e-01 1.09982288e-04 12 | 1.25 -1.50984039e-01 1.24529590e-04 13 | 1.5 -1.25525562e-01 9.82966071e-05 14 | 1.75 -1.07453547e-01 9.00208045e-05 15 | 2.0 -9.39877153e-02 8.73243152e-05 16 | 5.0 -3.74733826e-02 7.36017406e-05 17 | 10.0 -1.87540266e-02 6.57126654e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/ene-L32-G0.8.dat: -------------------------------------------------------------------------------- 1 | 0.05 -5.81114926e-01 1.70643361e-05 2 | 0.1 -5.81145981e-01 2.68353352e-05 3 | 0.2 -5.80884629e-01 3.51128444e-05 4 | 0.3 -5.76567154e-01 5.08513351e-05 5 | 0.4 -5.55292787e-01 5.48940385e-05 6 | 0.5 -4.78773100e-01 1.04722910e-04 7 | 0.6 -4.04761223e-01 1.04822732e-04 8 | 0.7 -3.57959083e-01 9.57043577e-05 9 | 0.8 -3.21089846e-01 9.80739176e-05 10 | 0.9 -2.90714579e-01 8.20653260e-05 11 | 1.0 -2.65548583e-01 9.04088709e-05 12 | 1.25 -2.17393060e-01 9.01411865e-05 13 | 1.5 -1.83731674e-01 8.33648902e-05 14 | 1.75 -1.59042508e-01 7.59300549e-05 15 | 2.0 -1.39857034e-01 7.72090859e-05 16 | 5.0 -5.68680674e-02 7.56998423e-05 17 | 10.0 -2.84449526e-02 6.68387663e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/ene-L32-G2.0.dat: -------------------------------------------------------------------------------- 1 | 0.05 -1.03345703e+00 7.06985854e-06 2 | 0.1 -1.03346322e+00 9.72959368e-06 3 | 0.2 -1.03276249e+00 1.38597341e-05 4 | 0.3 -1.02804075e+00 1.99193726e-05 5 | 0.4 -1.01554407e+00 2.46899617e-05 6 | 0.5 -9.93844526e-01 3.43947472e-05 7 | 0.6 -9.64045760e-01 4.47763386e-05 8 | 0.7 -9.28539166e-01 5.06634628e-05 9 | 0.8 -8.89730230e-01 6.96461202e-05 10 | 0.9 -8.49493771e-01 7.10855210e-05 11 | 1.0 -8.09324722e-01 7.00970466e-05 12 | 1.25 -7.15135772e-01 9.92169286e-05 13 | 1.5 -6.33915674e-01 1.03120999e-04 14 | 1.75 -5.65613544e-01 1.05536566e-04 15 | 2.0 -5.08999047e-01 1.20128214e-04 16 | 5.0 -2.21063704e-01 1.01488077e-04 17 | 10.0 -1.12226557e-01 1.20685847e-04 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/ene-L8-G0.0.dat: -------------------------------------------------------------------------------- 1 | 0.05 -5.00159253e-01 9.30672920e-05 2 | 0.1 -4.99919629e-01 1.73495916e-04 3 | 0.2 -4.99966699e-01 1.96262455e-04 4 | 0.3 -4.96953369e-01 3.38002593e-04 5 | 0.4 -4.82328223e-01 3.41277155e-04 6 | 0.5 -4.36665527e-01 4.10691909e-04 7 | 0.6 -3.34785498e-01 6.19470441e-04 8 | 0.7 -2.39341040e-01 5.96309340e-04 9 | 0.8 -1.89738672e-01 4.21457202e-04 10 | 0.9 -1.60398413e-01 4.28087066e-04 11 | 1.0 -1.39659912e-01 3.72183185e-04 12 | 1.25 -1.06958008e-01 3.12345271e-04 13 | 1.5 -8.73702393e-02 3.27105457e-04 14 | 1.75 -7.41276245e-02 3.25074663e-04 15 | 2.0 -6.43027344e-02 3.00347681e-04 16 | 5.0 -2.53234863e-02 2.77028972e-04 17 | 10.0 -1.22290039e-02 2.80044680e-04 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/ene-L8-G0.5.dat: -------------------------------------------------------------------------------- 1 | 0.05 -5.31454499e-01 8.54281036e-05 2 | 0.1 -5.31432644e-01 1.18530337e-04 3 | 0.2 -5.31289349e-01 2.03173374e-04 4 | 0.3 -5.28549420e-01 2.41107650e-04 5 | 0.4 -5.11348491e-01 3.29083853e-04 6 | 0.5 -4.59798041e-01 5.16815474e-04 7 | 0.6 -3.62041218e-01 6.19593875e-04 8 | 0.7 -2.85767047e-01 5.62401068e-04 9 | 0.8 -2.42802905e-01 4.96706454e-04 10 | 0.9 -2.12378125e-01 4.09047256e-04 11 | 1.0 -1.90220035e-01 3.77373724e-04 12 | 1.25 -1.50983882e-01 3.44847039e-04 13 | 1.5 -1.26196373e-01 3.68494618e-04 14 | 1.75 -1.07819052e-01 2.81221951e-04 15 | 2.0 -9.39651352e-02 3.41568846e-04 16 | 5.0 -3.79325171e-02 3.03999914e-04 17 | 10.0 -1.88213041e-02 2.98387343e-04 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/ene-L8-G0.8.dat: -------------------------------------------------------------------------------- 1 | 0.05 -5.81154196e-01 6.20772088e-05 2 | 0.1 -5.81106430e-01 8.83811857e-05 3 | 0.2 -5.80738170e-01 1.29976198e-04 4 | 0.3 -5.76663062e-01 1.76245272e-04 5 | 0.4 -5.54957442e-01 2.61751546e-04 6 | 0.5 -4.94761460e-01 3.93833044e-04 7 | 0.6 -4.16909973e-01 3.27461293e-04 8 | 0.7 -3.61932343e-01 3.48490145e-04 9 | 0.8 -3.21627307e-01 3.72442810e-04 10 | 0.9 -2.91476424e-01 3.23326577e-04 11 | 1.0 -2.66141560e-01 3.38671619e-04 12 | 1.25 -2.17215784e-01 3.10803706e-04 13 | 1.5 -1.83834704e-01 3.33848313e-04 14 | 1.75 -1.59337535e-01 3.33318666e-04 15 | 2.0 -1.39913539e-01 3.31162655e-04 16 | 5.0 -5.70513522e-02 3.02868720e-04 17 | 10.0 -2.81830162e-02 2.62714585e-04 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/ene-L8-G2.0.dat: -------------------------------------------------------------------------------- 1 | 0.05 -1.03348751e+00 2.82680645e-05 2 | 0.1 -1.03349093e+00 3.78317265e-05 3 | 0.2 -1.03279105e+00 5.48501795e-05 4 | 0.3 -1.02791347e+00 7.23643031e-05 5 | 0.4 -1.01557787e+00 1.06438291e-04 6 | 0.5 -9.93989488e-01 1.39009610e-04 7 | 0.6 -9.64342065e-01 1.96901595e-04 8 | 0.7 -9.28454100e-01 2.26078050e-04 9 | 0.8 -8.89789497e-01 2.46143084e-04 10 | 0.9 -8.49259005e-01 3.00206531e-04 11 | 1.0 -8.09314753e-01 3.17427242e-04 12 | 1.25 -7.14924416e-01 2.99522282e-04 13 | 1.5 -6.33769324e-01 3.64199025e-04 14 | 1.75 -5.64987255e-01 4.83053399e-04 15 | 2.0 -5.08643406e-01 4.26461328e-04 16 | 5.0 -2.21293842e-01 4.69051261e-04 17 | 10.0 -1.11479559e-01 5.32677223e-04 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/exec.sh: -------------------------------------------------------------------------------- 1 | for L in 8 32; do 2 | for G in 0.0 0.5 0.8 2.0; do 3 | file_ene=ene-L${L}-G${G}.dat 4 | file_magx=magx-L${L}-G${G}.dat 5 | file_spec=spec-L${L}-G${G}.dat 6 | rm -f $file_ene 7 | rm -f $file_magx 8 | rm -f $file_spec 9 | 10 | dla_alg -l lattice_L${L}.toml -h hamiltonian_G${G}.toml 11 | 12 | for T in 0.05 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.25 1.5 1.75 2.0 5.0 10.0; do 13 | cp common_param.in param.in 14 | beta=`echo "1.0/$T" | bc -l` 15 | echo "beta = $beta" >> param.in 16 | srun dla param.in 17 | output=sample-L${L}-G${G}-T${T}.log 18 | mv sample.log $output 19 | grep "ene" $output | awk --assign="T=$T" '{print T,$4,$5}' >> $file_ene 20 | grep "bmzu" $output | awk --assign="T=$T" '{print T,$4,$5}' >> $file_magx 21 | grep "spe" $output | awk --assign="T=$T" '{print T,$4,$5}' >> $file_spec 22 | done 23 | done 24 | done 25 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/hamiltonian_G0.0.toml: -------------------------------------------------------------------------------- 1 | name = "S=1/2 XXZ model" 2 | [[sites]] 3 | type = 0 4 | N = 2 5 | values = [ -0.5, 0.5,] 6 | elements = [] 7 | [[sites.sources]] 8 | istate = [ 0,] 9 | fstate = [ 1,] 10 | value = 0.5 11 | 12 | [[sites.sources]] 13 | istate = [ 1,] 14 | fstate = [ 0,] 15 | value = 0.5 16 | 17 | 18 | [[interactions]] 19 | type = 0 20 | nbody = 2 21 | N = [ 2, 2,] 22 | [[interactions.elements]] 23 | istate = [ 0, 0,] 24 | fstate = [ 1, 1,] 25 | value = -0.25 26 | 27 | [[interactions.elements]] 28 | istate = [ 0, 1,] 29 | fstate = [ 1, 0,] 30 | value = -0.25 31 | 32 | [[interactions.elements]] 33 | istate = [ 1, 0,] 34 | fstate = [ 0, 1,] 35 | value = -0.25 36 | 37 | [[interactions.elements]] 38 | istate = [ 1, 1,] 39 | fstate = [ 0, 0,] 40 | value = -0.25 41 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/hamiltonian_G0.5.toml: -------------------------------------------------------------------------------- 1 | name = "S=1/2 XXZ model" 2 | [[sites]] 3 | type = 0 4 | N = 2 5 | values = [ -0.5, 0.5,] 6 | [[sites.elements]] 7 | istate = [ 0,] 8 | fstate = [ 0,] 9 | value = 0.25 10 | 11 | [[sites.elements]] 12 | istate = [ 1,] 13 | fstate = [ 1,] 14 | value = -0.25 15 | 16 | [[sites.sources]] 17 | istate = [ 0,] 18 | fstate = [ 1,] 19 | value = 0.5 20 | 21 | [[sites.sources]] 22 | istate = [ 1,] 23 | fstate = [ 0,] 24 | value = 0.5 25 | 26 | 27 | [[interactions]] 28 | type = 0 29 | nbody = 2 30 | N = [ 2, 2,] 31 | [[interactions.elements]] 32 | istate = [ 0, 0,] 33 | fstate = [ 1, 1,] 34 | value = -0.25 35 | 36 | [[interactions.elements]] 37 | istate = [ 0, 1,] 38 | fstate = [ 1, 0,] 39 | value = -0.25 40 | 41 | [[interactions.elements]] 42 | istate = [ 1, 0,] 43 | fstate = [ 0, 1,] 44 | value = -0.25 45 | 46 | [[interactions.elements]] 47 | istate = [ 1, 1,] 48 | fstate = [ 0, 0,] 49 | value = -0.25 50 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/hamiltonian_G0.8.toml: -------------------------------------------------------------------------------- 1 | name = "S=1/2 XXZ model" 2 | [[sites]] 3 | type = 0 4 | N = 2 5 | values = [ -0.5, 0.5,] 6 | [[sites.elements]] 7 | istate = [ 0,] 8 | fstate = [ 0,] 9 | value = 0.4 10 | 11 | [[sites.elements]] 12 | istate = [ 1,] 13 | fstate = [ 1,] 14 | value = -0.4 15 | 16 | [[sites.sources]] 17 | istate = [ 0,] 18 | fstate = [ 1,] 19 | value = 0.5 20 | 21 | [[sites.sources]] 22 | istate = [ 1,] 23 | fstate = [ 0,] 24 | value = 0.5 25 | 26 | 27 | [[interactions]] 28 | type = 0 29 | nbody = 2 30 | N = [ 2, 2,] 31 | [[interactions.elements]] 32 | istate = [ 0, 0,] 33 | fstate = [ 1, 1,] 34 | value = -0.25 35 | 36 | [[interactions.elements]] 37 | istate = [ 0, 1,] 38 | fstate = [ 1, 0,] 39 | value = -0.25 40 | 41 | [[interactions.elements]] 42 | istate = [ 1, 0,] 43 | fstate = [ 0, 1,] 44 | value = -0.25 45 | 46 | [[interactions.elements]] 47 | istate = [ 1, 1,] 48 | fstate = [ 0, 0,] 49 | value = -0.25 50 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/hamiltonian_G2.0.toml: -------------------------------------------------------------------------------- 1 | name = "S=1/2 XXZ model" 2 | [[sites]] 3 | type = 0 4 | N = 2 5 | values = [ -0.5, 0.5,] 6 | [[sites.elements]] 7 | istate = [ 0,] 8 | fstate = [ 0,] 9 | value = 1.0 10 | 11 | [[sites.elements]] 12 | istate = [ 1,] 13 | fstate = [ 1,] 14 | value = -1.0 15 | 16 | [[sites.sources]] 17 | istate = [ 0,] 18 | fstate = [ 1,] 19 | value = 0.5 20 | 21 | [[sites.sources]] 22 | istate = [ 1,] 23 | fstate = [ 0,] 24 | value = 0.5 25 | 26 | 27 | [[interactions]] 28 | type = 0 29 | nbody = 2 30 | N = [ 2, 2,] 31 | [[interactions.elements]] 32 | istate = [ 0, 0,] 33 | fstate = [ 1, 1,] 34 | value = -0.25 35 | 36 | [[interactions.elements]] 37 | istate = [ 0, 1,] 38 | fstate = [ 1, 0,] 39 | value = -0.25 40 | 41 | [[interactions.elements]] 42 | istate = [ 1, 0,] 43 | fstate = [ 0, 1,] 44 | value = -0.25 45 | 46 | [[interactions.elements]] 47 | istate = [ 1, 1,] 48 | fstate = [ 0, 0,] 49 | value = -0.25 50 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/lattice_L32.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | name = "hypercubic" 3 | dim = 2 4 | L = [ 32, 32,] 5 | bc = [ true, true,] 6 | basis = [ [ "1.0", "0.0",], [ "0.0", "1.0",],] 7 | 8 | [unitcell] 9 | [[unitcell.sites]] 10 | siteid = 0 11 | type = 0 12 | coord = [ 0.0, 0.0,] 13 | 14 | [[unitcell.bonds]] 15 | bondid = 0 16 | type = 0 17 | 18 | [unitcell.bonds.source] 19 | siteid = 0 20 | [unitcell.bonds.target] 21 | siteid = 0 22 | offset = [ 1, 0,] 23 | [[unitcell.bonds]] 24 | bondid = 1 25 | type = 0 26 | 27 | [unitcell.bonds.source] 28 | siteid = 0 29 | [unitcell.bonds.target] 30 | siteid = 0 31 | offset = [ 0, 1,] 32 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/lattice_L8.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | name = "hypercubic" 3 | dim = 2 4 | L = [ 8, 8,] 5 | bc = [ true, true,] 6 | basis = [ [ "1.0", "0.0",], [ "0.0", "1.0",],] 7 | 8 | [unitcell] 9 | [[unitcell.sites]] 10 | siteid = 0 11 | type = 0 12 | coord = [ 0.0, 0.0,] 13 | 14 | [[unitcell.bonds]] 15 | bondid = 0 16 | type = 0 17 | 18 | [unitcell.bonds.source] 19 | siteid = 0 20 | [unitcell.bonds.target] 21 | siteid = 0 22 | offset = [ 1, 0,] 23 | [[unitcell.bonds]] 24 | bondid = 1 25 | type = 0 26 | 27 | [unitcell.bonds.source] 28 | siteid = 0 29 | [unitcell.bonds.target] 30 | siteid = 0 31 | offset = [ 0, 1,] 32 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/magx-L32-G0.0.dat: -------------------------------------------------------------------------------- 1 | 0.05 1.41173565e-05 1.14818207e-05 2 | 0.1 5.69764544e-06 1.70356895e-05 3 | 0.2 5.24906095e-05 2.81090317e-05 4 | 0.3 -4.84320198e-05 4.53412407e-05 5 | 0.4 4.58794932e-05 3.86307044e-05 6 | 0.5 3.36230818e-05 4.35571342e-05 7 | 0.6 -2.24033814e-04 9.02730139e-05 8 | 0.7 -9.30883658e-05 7.62928013e-05 9 | 0.8 1.34861651e-06 8.01019789e-05 10 | 0.9 -2.79383565e-05 7.40498024e-05 11 | 1.0 -1.42981244e-05 6.87692827e-05 12 | 1.25 -2.19193793e-05 6.30406459e-05 13 | 1.5 -3.24867179e-06 6.11201106e-05 14 | 1.75 -6.86150150e-06 5.06985750e-05 15 | 2.0 5.17364999e-05 6.17417635e-05 16 | 5.0 -1.45570097e-05 5.11976938e-05 17 | 10.0 1.18392984e-05 4.71829163e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/magx-L32-G0.5.dat: -------------------------------------------------------------------------------- 1 | 0.05 1.26331265e-01 1.59505336e-05 2 | 0.1 1.26353351e-01 1.97165972e-05 3 | 0.2 1.26342792e-01 2.90256985e-05 4 | 0.3 1.26821030e-01 2.93328468e-05 5 | 0.4 1.28784821e-01 3.80826348e-05 6 | 0.5 1.35031505e-01 7.69472459e-05 7 | 0.6 1.47470191e-01 9.94013024e-05 8 | 0.7 1.40981539e-01 8.76659758e-05 9 | 0.8 1.31114552e-01 8.24153881e-05 10 | 0.9 1.21149434e-01 8.81436141e-05 11 | 1.0 1.12056182e-01 7.49332645e-05 12 | 1.25 9.34441758e-02 6.89164378e-05 13 | 1.5 7.94108505e-02 5.68569027e-05 14 | 1.75 6.89298150e-02 5.87438421e-05 15 | 2.0 6.08819857e-02 6.08157324e-05 16 | 5.0 2.48565858e-02 5.25082967e-05 17 | 10.0 1.24287075e-02 4.95317813e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/magx-L32-G0.8.dat: -------------------------------------------------------------------------------- 1 | 0.05 2.05755597e-01 1.09392464e-05 2 | 0.1 2.05776768e-01 1.70245381e-05 3 | 0.2 2.05855626e-01 2.52305222e-05 4 | 0.3 2.06870823e-01 3.49906495e-05 5 | 0.4 2.11770418e-01 4.15186772e-05 6 | 0.5 2.31175164e-01 5.81015927e-05 7 | 0.6 2.32489291e-01 6.24415603e-05 8 | 0.7 2.19080463e-01 6.65440649e-05 9 | 0.8 2.03754778e-01 6.55861031e-05 10 | 0.9 1.88817724e-01 6.72258516e-05 11 | 1.0 1.75159071e-01 6.63877347e-05 12 | 1.25 1.46757156e-01 6.45802619e-05 13 | 1.5 1.25459757e-01 6.19950970e-05 14 | 1.75 1.09432932e-01 5.66428910e-05 15 | 2.0 9.67520253e-02 5.58949769e-05 16 | 5.0 3.98839124e-02 5.26728808e-05 17 | 10.0 1.99779208e-02 5.18957603e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/magx-L32-G2.0.dat: -------------------------------------------------------------------------------- 1 | 0.05 4.80539007e-01 3.42400746e-06 2 | 0.1 4.80530515e-01 4.53291445e-06 3 | 0.2 4.79837527e-01 7.84062488e-06 4 | 0.3 4.76108629e-01 1.04432700e-05 5 | 0.4 4.67949988e-01 1.28570788e-05 6 | 0.5 4.55480834e-01 1.81228529e-05 7 | 0.6 4.39619851e-01 2.28780547e-05 8 | 0.7 4.21626492e-01 2.36905632e-05 9 | 0.8 4.02576034e-01 3.01291850e-05 10 | 0.9 3.83323635e-01 3.13621042e-05 11 | 1.0 3.64355187e-01 3.05435886e-05 12 | 1.25 3.20678323e-01 4.25003816e-05 13 | 1.5 2.83598595e-01 4.12827979e-05 14 | 1.75 2.52637510e-01 4.32690094e-05 15 | 2.0 2.27086499e-01 5.14195299e-05 16 | 5.0 9.83221887e-02 4.40794014e-05 17 | 10.0 4.99025700e-02 5.17271143e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/magx-L8-G0.0.dat: -------------------------------------------------------------------------------- 1 | 0.05 1.58339873e-05 4.21667412e-05 2 | 0.1 -1.36608975e-04 8.52300859e-05 3 | 0.2 4.97413557e-06 9.37595830e-05 4 | 0.3 1.38255050e-04 1.40483096e-04 5 | 0.4 5.08351104e-05 1.63778395e-04 6 | 0.5 6.63774206e-05 1.58837218e-04 7 | 0.6 -7.90411206e-05 2.44384737e-04 8 | 0.7 -2.03115249e-05 2.95437693e-04 9 | 0.8 5.50403684e-05 2.26975185e-04 10 | 0.9 5.52385756e-04 2.83454430e-04 11 | 1.0 1.35897042e-04 2.20215761e-04 12 | 1.25 6.07209084e-04 2.49451164e-04 13 | 1.5 1.82837045e-05 2.48327831e-04 14 | 1.75 -1.28460252e-04 2.45044595e-04 15 | 2.0 -1.53430907e-04 2.05210996e-04 16 | 5.0 -1.23736642e-05 2.04863584e-04 17 | 10.0 -4.06779698e-04 1.91472416e-04 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/magx-L8-G0.5.dat: -------------------------------------------------------------------------------- 1 | 0.05 1.26317103e-01 4.65577443e-05 2 | 0.1 1.26231987e-01 6.76021575e-05 3 | 0.2 1.26227037e-01 1.03229273e-04 4 | 0.3 1.26756800e-01 1.28028247e-04 5 | 0.4 1.28905184e-01 1.71299263e-04 6 | 0.5 1.34432507e-01 2.10223521e-04 7 | 0.6 1.42614761e-01 2.48437636e-04 8 | 0.7 1.39532923e-01 2.98416770e-04 9 | 0.8 1.30863231e-01 2.88415849e-04 10 | 0.9 1.21072168e-01 2.68021385e-04 11 | 1.0 1.11852180e-01 2.33901156e-04 12 | 1.25 9.34185701e-02 2.44376088e-04 13 | 1.5 7.99337624e-02 2.61032451e-04 14 | 1.75 6.87927664e-02 2.23104681e-04 15 | 2.0 6.07447235e-02 2.34350624e-04 16 | 5.0 2.45857374e-02 2.21030434e-04 17 | 10.0 1.24277645e-02 2.07800409e-04 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/magx-L8-G0.8.dat: -------------------------------------------------------------------------------- 1 | 0.05 2.05758189e-01 4.59363461e-05 2 | 0.1 2.05711621e-01 6.54656405e-05 3 | 0.2 2.05847456e-01 9.50519090e-05 4 | 0.3 2.07069123e-01 1.19488461e-04 5 | 0.4 2.11691554e-01 1.74547136e-04 6 | 0.5 2.23475171e-01 2.25676808e-04 7 | 0.6 2.28340835e-01 1.90603984e-04 8 | 0.7 2.18605859e-01 2.28988206e-04 9 | 0.8 2.03385453e-01 2.59995801e-04 10 | 0.9 1.88878214e-01 2.39651419e-04 11 | 1.0 1.75362496e-01 2.78078977e-04 12 | 1.25 1.46670792e-01 2.34144549e-04 13 | 1.5 1.26053146e-01 2.40963459e-04 14 | 1.75 1.09649442e-01 2.34027805e-04 15 | 2.0 9.67443406e-02 2.31023924e-04 16 | 5.0 4.00809749e-02 2.16705176e-04 17 | 10.0 1.97533064e-02 2.10434879e-04 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/magx-L8-G2.0.dat: -------------------------------------------------------------------------------- 1 | 0.05 4.80478984e-01 1.41381133e-05 2 | 0.1 4.80456536e-01 1.86143840e-05 3 | 0.2 4.79694497e-01 2.91476751e-05 4 | 0.3 4.75947557e-01 4.07931372e-05 5 | 0.4 4.67735906e-01 5.80051343e-05 6 | 0.5 4.55409295e-01 7.00028756e-05 7 | 0.6 4.39702795e-01 9.03064656e-05 8 | 0.7 4.21537987e-01 9.47405281e-05 9 | 0.8 4.02566721e-01 1.12787862e-04 10 | 0.9 3.83163035e-01 1.36965754e-04 11 | 1.0 3.64477567e-01 1.43978165e-04 12 | 1.25 3.20640156e-01 1.37795354e-04 13 | 1.5 2.83635456e-01 1.66044867e-04 14 | 1.75 2.52437933e-01 2.16335860e-04 15 | 2.0 2.26986742e-01 1.92449426e-04 16 | 5.0 9.83751925e-02 2.03837566e-04 17 | 10.0 4.95898771e-02 2.23159660e-04 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/spec-L32-G0.0.dat: -------------------------------------------------------------------------------- 1 | 0.05 -1.06587531e-02 5.28847502e-02 2 | 0.1 2.07256598e-02 2.91243081e-02 3 | 0.2 2.50799508e-02 1.43424784e-02 4 | 0.3 4.74126861e-02 1.47298393e-02 5 | 0.4 2.46409337e-01 9.87578343e-03 6 | 0.5 7.06829281e-01 9.21846031e-03 7 | 0.6 1.25538730e+00 1.31056942e-02 8 | 0.7 5.03966871e-01 6.34868170e-03 9 | 0.8 3.21080675e-01 3.36368679e-03 10 | 0.9 2.25853853e-01 2.39353749e-03 11 | 1.0 1.71303941e-01 1.90965055e-03 12 | 1.25 9.70318186e-02 9.42940904e-04 13 | 1.5 6.40973114e-02 5.85726399e-04 14 | 1.75 4.49037145e-02 4.49753851e-04 15 | 2.0 3.38092834e-02 3.43215554e-04 16 | 5.0 5.03770782e-03 5.26499353e-05 17 | 10.0 1.25515350e-03 1.27886105e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/spec-L32-G0.5.dat: -------------------------------------------------------------------------------- 1 | 0.05 -3.68801399e-02 6.87727748e-02 2 | 0.1 -3.91447644e-02 2.81810981e-02 3 | 0.2 5.53636602e-03 1.52587040e-02 4 | 0.3 7.43627697e-02 9.30935122e-03 5 | 0.4 2.87412329e-01 8.55451295e-03 6 | 0.5 8.90737115e-01 1.42706973e-02 7 | 0.6 7.69426658e-01 1.03966922e-02 8 | 0.7 4.43392631e-01 5.60993842e-03 9 | 0.8 3.15948785e-01 3.53235116e-03 10 | 0.9 2.43575383e-01 2.71592996e-03 11 | 1.0 2.00190704e-01 1.93764590e-03 12 | 1.25 1.20494624e-01 1.15539364e-03 13 | 1.5 8.31464890e-02 7.85758627e-04 14 | 1.75 6.20244357e-02 4.93241125e-04 15 | 2.0 4.65810654e-02 4.48795722e-04 16 | 5.0 7.51511127e-03 6.04255904e-05 17 | 10.0 1.84702894e-03 1.68326345e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/spec-L32-G0.8.dat: -------------------------------------------------------------------------------- 1 | 0.05 -5.81158139e-02 4.04521909e-02 2 | 0.1 -2.94965231e-02 1.69370264e-02 3 | 0.2 1.72841739e-02 1.05830844e-02 4 | 0.3 9.43838248e-02 7.83123529e-03 5 | 0.4 3.66326800e-01 7.18184089e-03 6 | 0.5 1.17639214e+00 9.56913704e-03 7 | 0.6 5.39104204e-01 4.66717132e-03 8 | 0.7 4.01801729e-01 3.37075318e-03 9 | 0.8 3.35598656e-01 2.65405516e-03 10 | 0.9 2.72766980e-01 2.21173460e-03 11 | 1.0 2.33049046e-01 1.57376221e-03 12 | 1.25 1.58639869e-01 1.14086383e-03 13 | 1.5 1.14267261e-01 8.28888957e-04 14 | 1.75 8.64379890e-02 5.97076613e-04 15 | 2.0 6.69423904e-02 3.92807430e-04 16 | 5.0 1.12325332e-02 6.98393878e-05 17 | 10.0 2.82843663e-03 1.85673811e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/spec-L32-G2.0.dat: -------------------------------------------------------------------------------- 1 | 0.05 -1.11079387e-02 5.04017618e-03 2 | 0.1 1.45175705e-03 2.91349661e-03 3 | 0.2 1.85744750e-02 1.64793209e-03 4 | 0.3 8.14154149e-02 1.18824994e-03 5 | 0.4 1.70517950e-01 1.60457876e-03 6 | 0.5 2.59322965e-01 1.79193041e-03 7 | 0.6 3.31038759e-01 1.99261160e-03 8 | 0.7 3.76694579e-01 1.93261414e-03 9 | 0.8 3.95519727e-01 2.01272493e-03 10 | 0.9 3.99755147e-01 2.09438492e-03 11 | 1.0 3.92701344e-01 1.92993189e-03 12 | 1.25 3.50430632e-01 1.72075642e-03 13 | 1.5 2.97310241e-01 1.14351534e-03 14 | 1.75 2.48314612e-01 1.40701914e-03 15 | 2.0 2.08229095e-01 9.61969168e-04 16 | 5.0 4.22630603e-02 1.63838571e-04 17 | 10.0 1.10934473e-02 4.52611791e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/spec-L8-G0.0.dat: -------------------------------------------------------------------------------- 1 | 0.05 -2.92456260e-02 5.12590596e-02 2 | 0.1 9.80715527e-03 3.40190513e-02 3 | 0.2 -6.62423535e-03 1.24347186e-02 4 | 0.3 5.29304131e-02 1.29885888e-02 5 | 0.4 2.53938362e-01 9.15445148e-03 6 | 0.5 7.04869257e-01 9.62590157e-03 7 | 0.6 1.15090804e+00 1.16493103e-02 8 | 0.7 6.68181002e-01 7.04232272e-03 9 | 0.8 3.61535463e-01 3.33767200e-03 10 | 0.9 2.33504295e-01 2.71601840e-03 11 | 1.0 1.70366500e-01 1.70551671e-03 12 | 1.25 9.65735332e-02 9.72009741e-04 13 | 1.5 6.29408560e-02 6.74643736e-04 14 | 1.75 4.58835815e-02 4.83350889e-04 15 | 2.0 3.44307139e-02 3.55322663e-04 16 | 5.0 5.07385303e-03 7.24952233e-05 17 | 10.0 1.24972119e-03 3.30375953e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/spec-L8-G0.5.dat: -------------------------------------------------------------------------------- 1 | 0.05 5.57090967e-04 4.88414902e-02 2 | 0.1 -3.91212857e-02 2.01884283e-02 3 | 0.2 -1.65853216e-03 1.40589324e-02 4 | 0.3 7.42880386e-02 9.42689495e-03 5 | 0.4 2.93629075e-01 9.50215455e-03 6 | 0.5 7.83875798e-01 1.19723032e-02 7 | 0.6 9.63469116e-01 1.02062454e-02 8 | 0.7 5.62957233e-01 6.02809417e-03 9 | 0.8 3.49824863e-01 3.98058699e-03 10 | 0.9 2.53176916e-01 2.73535792e-03 11 | 1.0 1.99483353e-01 1.81105885e-03 12 | 1.25 1.21894234e-01 1.10991992e-03 13 | 1.5 8.34367941e-02 7.92407104e-04 14 | 1.75 6.21121901e-02 6.00583413e-04 15 | 2.0 4.67572957e-02 4.44472047e-04 16 | 5.0 7.50851100e-03 7.80925511e-05 17 | 10.0 1.87299258e-03 2.92468682e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/spec-L8-G0.8.dat: -------------------------------------------------------------------------------- 1 | 0.05 1.96648008e-03 4.00023181e-02 2 | 0.1 2.56335134e-02 1.96109716e-02 3 | 0.2 6.93448206e-03 9.27972361e-03 4 | 0.3 9.71272809e-02 5.90189782e-03 5 | 0.4 3.71599047e-01 7.42120591e-03 6 | 0.5 7.88311995e-01 7.42399914e-03 7 | 0.6 6.72243695e-01 5.24195663e-03 8 | 0.7 4.55599727e-01 3.98390830e-03 9 | 0.8 3.41484428e-01 2.90201761e-03 10 | 0.9 2.78151555e-01 2.32204302e-03 11 | 1.0 2.30843648e-01 1.87816742e-03 12 | 1.25 1.59461632e-01 1.08333897e-03 13 | 1.5 1.14234224e-01 8.07173449e-04 14 | 1.75 8.55937130e-02 6.01790074e-04 15 | 2.0 6.63179269e-02 4.46583975e-04 16 | 5.0 1.11330492e-02 7.77835615e-05 17 | 10.0 2.83318543e-03 2.70263807e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/spec-L8-G2.0.dat: -------------------------------------------------------------------------------- 1 | 0.05 -1.23385037e-04 6.09211478e-03 2 | 0.1 -2.32090002e-04 3.20727940e-03 3 | 0.2 2.07929412e-02 1.69170651e-03 4 | 0.3 8.33741059e-02 1.64173133e-03 5 | 0.4 1.70590309e-01 1.67498882e-03 6 | 0.5 2.59099634e-01 2.12331306e-03 7 | 0.6 3.28224194e-01 2.13856789e-03 8 | 0.7 3.79081648e-01 2.42120130e-03 9 | 0.8 3.98321620e-01 2.12116352e-03 10 | 0.9 4.02596645e-01 2.25856151e-03 11 | 1.0 3.95558068e-01 2.05551661e-03 12 | 1.25 3.51312455e-01 1.91494451e-03 13 | 1.5 2.97203716e-01 1.45939085e-03 14 | 1.75 2.49910834e-01 1.13181452e-03 15 | 2.0 2.07599889e-01 9.38131665e-04 16 | 5.0 4.26782647e-02 2.00502865e-04 17 | 10.0 1.11317925e-02 4.85086659e-05 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/QMC/std.toml: -------------------------------------------------------------------------------- 1 | [hamiltonian] 2 | model = "spin" 3 | M = 1 # S=1/2 4 | Jz = -1.0 # coupling constant, negative for AF 5 | Jxy = -1.0 # coupling constant, negative for AF 6 | h = 0.5 # magnetic field 7 | 8 | [lattice] 9 | lattice = "hypercubic" # hypercubic, periodic 10 | dim = 2 # dimension 11 | L = 32 # number of sites along each direction 12 | 13 | [parameter] 14 | beta = 100 # inverse temperature 15 | nset = 5 # set of Monte Carlo sweeps 16 | npre = 10 # MCSteps to estimate hyperparameter 17 | ntherm = 10 # MCSweeps for thermalization 18 | nmcs = 100 # MCSweeps for measurement 19 | seed = 31415 # seed of RNG 20 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/calcspec.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | from scipy.interpolate import splrep, splev 3 | 4 | 5 | def spec(name): 6 | data = np.loadtxt(f"./energy_{name}.dat") 7 | bs = data[:, 0] 8 | Es = data[:, 1] 9 | spl = splrep(bs, Es) 10 | Cs = -bs * bs * splev(bs, spl, der=1) 11 | with open(f"./spec_{name}.dat", "w") as f: 12 | for b, C in zip(bs, Cs): 13 | f.write(f"{b} {C}\n") 14 | 15 | 16 | for name in ("weak", "middle", "strong", "zero"): 17 | spec(name) 18 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/plot_c.plt: -------------------------------------------------------------------------------- 1 | set auto 2 | unset log 3 | set log x 4 | 5 | set xr [0.1:] 6 | set yr [0:] 7 | 8 | set xl "temperature" 9 | set yl "specific heat" 10 | 11 | plot \ 12 | "spec_zero.dat" u (1/$1):2 w l lc "black" t"iTPS h_x=0.0", \ 13 | "QMC/spec-L32-G0.0.dat" w yer lc "black" pt 5 t"QMC h_x=0.0", \ 14 | "spec_weak.dat" u (1/$1):2 w l lc "red" t"iTPS h_x=0.5", \ 15 | "QMC/spec-L32-G0.5.dat" w yer lc "red" pt 5 t"QMC h_x=0.5", \ 16 | "spec_middle.dat" u (1/$1):2 w l lc "green" t"iTPS h_x=0.8", \ 17 | "QMC/spec-L32-G0.8.dat" w yer lc "green" pt 5 t"QMC h_x=0.8", \ 18 | "spec_strong.dat" u (1/$1):2 w l lc "blue" t"iTPS h_x=2.0", \ 19 | "QMC/spec-L32-G2.0.dat" w yer lc "blue" pt 5 t"QMC h_x=2.0", \ 20 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/plot_e.plt: -------------------------------------------------------------------------------- 1 | set auto 2 | unset log 3 | set log x 4 | 5 | set xr [0.1:] 6 | 7 | set xl "temperature" 8 | set yl "energy density" 9 | 10 | plot \ 11 | "energy_zero.dat" u (1/$1):2 w l lc "black" t"iTPS h_x=0.0", \ 12 | "QMC/ene-L32-G0.0.dat" w yer lc "black" pt 5 t"QMC h_x=0.0", \ 13 | "energy_weak.dat" u (1/$1):2 w l lc "red" t"iTPS h_x=0.5", \ 14 | "QMC/ene-L32-G0.5.dat" w yer lc "red" pt 5 t"QMC h_x=0.5", \ 15 | "energy_middle.dat" u (1/$1):2 w l lc "green" t"iTPS h_x=0.8", \ 16 | "QMC/ene-L32-G0.8.dat" w yer lc "green" pt 5 t"QMC h_x=0.8", \ 17 | "energy_strong.dat" u (1/$1):2 w l lc "blue" t"iTPS h_x=2.0", \ 18 | "QMC/ene-L32-G2.0.dat" w yer lc "blue" pt 5 t"QMC h_x=2.0", \ 19 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/plot_mx.plt: -------------------------------------------------------------------------------- 1 | set ytics 0.1 2 | set xlabel "T" 3 | set ylabel "" 4 | 5 | set xrange [0.1:10.0] 6 | set yrange [-0.01:0.5] 7 | 8 | p [0.1:10] \ 9 | "magnetization_x_zero.dat" u (1/$1):2 w l lc "black" t "h_x = 0.0",\ 10 | "QMC/magx-L32-G0.0.dat" w yer lc "black" pt 5 t "QMC h_x=0.0",\ 11 | "magnetization_x_weak.dat" u (1/$1):2 w l lc "red" t "h_x = 0.5",\ 12 | "QMC/magx-L32-G0.5.dat" w yer lc "red" pt 5 t "QMC h_x=0.5",\ 13 | "magnetization_x_middle.dat" u (1/$1):2 w l lc "green" t "h_x = 0.8",\ 14 | "QMC/magx-L32-G0.8.dat" w yer lc "green" pt 5 t "QMC h_x=0.8",\ 15 | "magnetization_x_strong.dat" u (1/$1):2 w l lc "blue" t "h_x = 2.0",\ 16 | "QMC/magx-L32-G2.0.dat" w yer lc "blue" pt 5 t "QMC h_x=2.0" 17 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/plot_mz.plt: -------------------------------------------------------------------------------- 1 | set ytics 0.1 2 | set xlabel "T" 3 | set ylabel "||" 4 | 5 | set xr [0.1:10.0] 6 | set yr [-0.01:0.5] 7 | 8 | p \ 9 | "magnetization_zero.dat" u (1/$1):(abs($2)) w l lc "black" t "h_x = 0",\ 10 | "magnetization_weak.dat" u (1/$1):(abs($2)) w l lc "red" t "h_x = 0.5",\ 11 | "magnetization_middle.dat" u (1/$1):(abs($2)) w l lc "green" t "h_x = 0.8",\ 12 | "magnetization_strong.dat" u (1/$1):(abs($2)) w l lc "blue" t "h_x = 2.0" 13 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/run.sh: -------------------------------------------------------------------------------- 1 | for name in zero weak middle strong; do 2 | tenes_simple -o std_ft_${name}.toml simple_ft_${name}.toml 3 | tenes_std -o input_ft_${name}.toml std_ft_${name}.toml 4 | tenes input_ft_${name}.toml 5 | 6 | awk '$2 == 0 {print $1, $3, $4}' output_ft_${name}/FT_density.dat > energy_${name}.dat 7 | awk '$2 == 1 {print $1, $3, $4}' output_ft_${name}/FT_density.dat > magnetization_${name}.dat 8 | awk '$2 == 2 {print $1, $3, $4}' output_ft_${name}/FT_density.dat > magnetization_x_${name}.dat 9 | done 10 | 11 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/simple_ft_middle.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | mode = "finite" 4 | is_real = false 5 | output = "output_ft_middle" 6 | measure_interval = [10, 10, 5] 7 | 8 | [parameter.simple_update] 9 | num_step = [50, 200, 10] 10 | tau = [0.01, 0.005, 0.05] 11 | 12 | [parameter.full_update] 13 | num_step = 0 14 | tau = 0.0 15 | 16 | [parameter.ctm] 17 | iteration_max = 10 18 | dimension = 10 19 | 20 | [lattice] 21 | type = "square lattice" 22 | L = 2 23 | W = 2 24 | virtual_dim = 3 25 | 26 | [model] 27 | type = "spin" 28 | Jz = -1.0 29 | Jx = 0.0 30 | Jy = 0.0 31 | hx = 0.8 32 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/simple_ft_strong.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | mode = "finite" 4 | is_real = false 5 | output = "output_ft_strong" 6 | measure_interval = [10, 10, 5] 7 | 8 | [parameter.simple_update] 9 | num_step = [50, 200, 10] 10 | tau = [0.01, 0.005, 0.05] 11 | 12 | [parameter.full_update] 13 | num_step = 0 14 | tau = 0.0 15 | 16 | [parameter.ctm] 17 | iteration_max = 10 18 | dimension = 10 19 | 20 | [lattice] 21 | type = "square lattice" 22 | L = 2 23 | W = 2 24 | virtual_dim = 3 25 | 26 | [model] 27 | type = "spin" 28 | Jz = -1.0 29 | Jx = 0.0 30 | Jy = 0.0 31 | hx = 2.0 32 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/simple_ft_weak.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | mode = "finite" 4 | is_real = false 5 | output = "output_ft_weak" 6 | measure_interval = [10, 10, 5] 7 | 8 | [parameter.simple_update] 9 | num_step = [50, 200, 10] 10 | tau = [0.01, 0.005, 0.05] 11 | 12 | [parameter.full_update] 13 | num_step = 0 14 | tau = 0.0 15 | 16 | [parameter.ctm] 17 | iteration_max = 10 18 | dimension = 10 19 | 20 | [lattice] 21 | type = "square lattice" 22 | L = 2 23 | W = 2 24 | virtual_dim = 3 25 | 26 | [model] 27 | type = "spin" 28 | Jz = -1.0 29 | Jx = 0.0 30 | Jy = 0.0 31 | hx = 0.5 32 | -------------------------------------------------------------------------------- /sample/03_finite_temperature/simple_ft_zero.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | mode = "finite" 4 | is_real = false 5 | output = "output_ft_zero" 6 | measure_interval = [10, 10, 5] 7 | 8 | [parameter.simple_update] 9 | num_step = [50, 200, 10] 10 | tau = [0.01, 0.005, 0.05] 11 | 12 | [parameter.full_update] 13 | num_step = 0 14 | tau = 0.0 15 | 16 | [parameter.ctm] 17 | iteration_max = 10 18 | dimension = 10 19 | 20 | [lattice] 21 | type = "square lattice" 22 | L = 2 23 | W = 2 24 | virtual_dim = 2 25 | 26 | [model] 27 | type = "spin" 28 | Jz = -1.0 29 | Jx = 0.0 30 | Jy = 0.0 31 | hx = 0.0 32 | -------------------------------------------------------------------------------- /sample/04_magnetization/README.md: -------------------------------------------------------------------------------- 1 | - how to run 2 | - triangular 3 | - `python3 tutorial_magnetization.py` 4 | - square 5 | - `python3 tutorial_magnetization_square.py` 6 | - model 7 | - Magnetization process of S=1/2 antiferro Heisenberg model on the triangular lattice and the square lattice 8 | - Parameter 9 | - tutorial_magnetization.py + basic.toml 10 | - triangular lattice 11 | - 3x3 unitcell 12 | - J = 1.0 13 | - hz = [0.0, 5.0] 14 | - with plateaux 15 | - tutorial_magnetization_square.py + basic_square.toml 16 | - square lattice 17 | - 2x2 unitcell 18 | - J = 1.0 19 | - hz = [0.0, 5.0] 20 | - without plateaux 21 | - Observables 22 | - Magnetization along Sz 23 | -------------------------------------------------------------------------------- /sample/04_magnetization/basic.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | is_real = true 4 | 5 | [parameter.simple_update] 6 | num_step = 200 7 | tau = 0.01 8 | 9 | [parameter.full_update] 10 | num_step = 0 11 | tau = 0.01 12 | 13 | [parameter.ctm] 14 | iteration_max = 100 15 | dimension = 10 16 | 17 | [lattice] 18 | type = "triangular lattice" 19 | L = 3 20 | W = 3 21 | virtual_dim = 2 22 | initial = "random" 23 | 24 | [model] 25 | type = "spin" 26 | J = 1.0 27 | -------------------------------------------------------------------------------- /sample/04_magnetization/basic_square.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | is_real = true 4 | 5 | [parameter.simple_update] 6 | num_step = 200 7 | tau = 0.01 8 | 9 | [parameter.full_update] 10 | num_step = 0 11 | tau = 0.01 12 | 13 | [parameter.ctm] 14 | iteration_max = 100 15 | dimension = 10 16 | 17 | [lattice] 18 | type = "square lattice" 19 | L = 2 20 | W = 2 21 | virtual_dim = 2 22 | initial = "random" 23 | 24 | [model] 25 | type = "spin" 26 | J = 1.0 27 | -------------------------------------------------------------------------------- /sample/04_magnetization/plot.gp: -------------------------------------------------------------------------------- 1 | set key left top 2 | set xlabel 'Magnetic Field' 3 | set ylabel 'Sz' 4 | set style arrow 1 size graph 0.02,20 linecolor rgb "black" 5 | set dashtype 1 (5,5) 6 | set arrow 1 nohead from 0,0.1666 to 5,0.1666 dt 1 7 | plot [0:5][-0.05:0.55] 'magnetization.dat' u 1:2 w lp title "nstep = 100",\ 8 | '' u 1:3 w lp title "nstep = 200",\ 9 | '' u 1:4 w lp title "nstep = 500",\ 10 | '' u 1:5 w lp title "nstep = 1000",\ 11 | '' u 1:6 w lp title "nstep = 2000" 12 | -------------------------------------------------------------------------------- /sample/04_magnetization/plot_ene.gp: -------------------------------------------------------------------------------- 1 | set key left bottom 2 | set xlabel 'Energy' 3 | set ylabel 'Sz' 4 | plot [0:5] 'energy.dat' u 1:2 w lp title "nstep = 100",\ 5 | '' u 1:3 w lp title "nstep = 200",\ 6 | '' u 1:4 w lp title "nstep = 500",\ 7 | '' u 1:5 w lp title "nstep = 1000",\ 8 | '' u 1:6 w lp title "nstep = 2000" 9 | -------------------------------------------------------------------------------- /sample/04_magnetization/plot_square.gp: -------------------------------------------------------------------------------- 1 | set key left top 2 | set xlabel 'Magnetic Field' 3 | set ylabel 'Sz' 4 | plot [0:5][-0.05:0.55] 'magnetization_square.dat' u 1:2 w lp title "nstep = 100",\ 5 | '' u 1:3 w lp title "nstep = 200",\ 6 | '' u 1:4 w lp title "nstep = 500",\ 7 | '' u 1:5 w lp title "nstep = 1000",\ 8 | '' u 1:6 w lp title "nstep = 2000" 9 | -------------------------------------------------------------------------------- /sample/04_magnetization/plot_square_ene.gp: -------------------------------------------------------------------------------- 1 | set xlabel 'Magnetic Field' 2 | set ylabel 'Energy' 3 | set key left bottom 4 | plot [0:5] 'energy_square.dat' u 1:2 w lp title "nstep = 100",\ 5 | '' u 1:3 w lp title "nstep = 200",\ 6 | '' u 1:4 w lp title "nstep = 500",\ 7 | '' u 1:5 w lp title "nstep = 1000",\ 8 | '' u 1:6 w lp title "nstep = 2000" 9 | -------------------------------------------------------------------------------- /sample/05_hardcore_boson_triangular/README.md: -------------------------------------------------------------------------------- 1 | - how to run 2 | - simple.toml 3 | - `tenes_simple simple.toml` 4 | - `tenes_std std.toml` 5 | - `tenes input.toml` 6 | - run.py + basic.toml 7 | - `python3 run.py` 8 | - model 9 | - Hardcore Bose-Hubbard model on triangular lattice 10 | - Parameter 11 | - simple.toml 12 | - t/V = 0.4 13 | - mu/V = 3.0 14 | - superfluid phase 15 | - run.py + basic.toml 16 | - t/V = 0.1 17 | - mu/V = [-2, 3] 18 | - vacuum -> superfluid -> 1/3 solid -> supersolid 19 | - Observables 20 | - number density 21 | - offdiag order parameter |b| as an indicator for the superfluid phase 22 | - Structure factor S(Q) with respect to sqrt(3) order as an indicator for the solid phase 23 | - calculated only by run.py 24 | - Unitcell 25 | - 3x3 26 | - Reference 27 | - S. Wessel and M. Troyer, PRL 95, 127205 (2005) 28 | -------------------------------------------------------------------------------- /sample/05_hardcore_boson_triangular/basic.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | 4 | [parameter.simple_update] 5 | num_step = 200 6 | tau = 0.01 7 | 8 | [parameter.full_update] 9 | num_step = 0 10 | tau = 0.01 11 | 12 | [parameter.ctm] 13 | iteration_max = 100 14 | dimension = 5 # Note: run.py overwrites this 15 | 16 | [lattice] 17 | type = "triangular lattice" 18 | L = 3 19 | W = 3 20 | virtual_dim = 2 # Note: run.py overwrites this 21 | initial = "random" 22 | 23 | [model] 24 | type = "boson" 25 | t = 0.1 26 | V = 1.0 27 | 28 | [correlation] 29 | r_max = 30 30 | operators = [[0,0]] 31 | -------------------------------------------------------------------------------- /sample/05_hardcore_boson_triangular/nn_obs.toml: -------------------------------------------------------------------------------- 1 | [[observable.twosite]] 2 | name = "" 3 | group = 4 4 | bonds = """ 5 | 0 1 0 6 | 0 2 0 7 | 0 0 1 8 | 0 1 1 9 | 0 2 1 10 | 0 0 2 11 | 0 1 2 12 | 0 2 2 13 | 1 1 0 14 | 1 2 0 15 | 1 0 1 16 | 1 1 1 17 | 1 2 1 18 | 1 0 2 19 | 1 1 2 20 | 1 2 2 21 | 2 1 0 22 | 2 2 0 23 | 2 0 1 24 | 2 1 1 25 | 2 2 1 26 | 2 0 2 27 | 2 1 2 28 | 2 2 2 29 | 3 1 0 30 | 3 2 0 31 | 3 0 1 32 | 3 1 1 33 | 3 2 1 34 | 3 0 2 35 | 3 1 2 36 | 3 2 2 37 | 4 1 0 38 | 4 2 0 39 | 4 0 1 40 | 4 1 1 41 | 4 2 1 42 | 4 0 2 43 | 4 1 2 44 | 4 2 2 45 | 5 1 0 46 | 5 2 0 47 | 5 0 1 48 | 5 1 1 49 | 5 2 1 50 | 5 0 2 51 | 5 1 2 52 | 5 2 2 53 | 6 1 0 54 | 6 2 0 55 | 6 0 1 56 | 6 1 1 57 | 6 2 1 58 | 6 0 2 59 | 6 1 2 60 | 6 2 2 61 | 7 1 0 62 | 7 2 0 63 | 7 0 1 64 | 7 1 1 65 | 7 2 1 66 | 7 0 2 67 | 7 1 2 68 | 7 2 2 69 | 8 1 0 70 | 8 2 0 71 | 8 0 1 72 | 8 1 1 73 | 8 2 1 74 | 8 0 2 75 | 8 1 2 76 | 8 2 2 77 | """ 78 | ops = [0, 0] 79 | 80 | -------------------------------------------------------------------------------- /sample/05_hardcore_boson_triangular/plot.gp: -------------------------------------------------------------------------------- 1 | set key left top 2 | # set xlabel "mu/V" 3 | # set ylabel "S(Q), N(Q)" 4 | # set y2label "|b|+|b'|" 5 | set ytics nomirror 6 | set y2tics nomirror 7 | set style data lp 8 | 9 | plot \ 10 | 'nq.dat' u 1:(abs($3)) pt 4 t"|N(Q)|",\ 11 | 'sq.dat' u 1:(abs($3)) pt 5 t"|S(Q)|",\ 12 | 'sq_x.dat' u 1:(abs($3)) pt 6 t"|S'(Q)|",\ 13 | 'offdiag.dat' u 1:(abs($3)) axes x1y2 pt 7 t"|b|+|b'|" 14 | -------------------------------------------------------------------------------- /sample/05_hardcore_boson_triangular/plot_density.gp: -------------------------------------------------------------------------------- 1 | set key left top 2 | set xlabel 'mu/V' 3 | set ylabel 'n' 4 | set y2label '|b|' 5 | set style data lp 6 | 7 | plot \ 8 | 'density.dat' u 1:3 pt 4 t"n",\ 9 | 'offdiag.dat' u 1:3 axes x1y2 pt 5 t"|b|" 10 | -------------------------------------------------------------------------------- /sample/05_hardcore_boson_triangular/simple.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | 4 | [parameter.simple_update] 5 | num_step = 200 6 | tau = 0.01 7 | 8 | [parameter.full_update] 9 | num_step = 0 10 | tau = 0.01 11 | 12 | [parameter.ctm] 13 | iteration_max = 100 14 | dimension = 5 15 | 16 | [lattice] 17 | type = "triangular lattice" 18 | L = 3 19 | W = 3 20 | virtual_dim = 2 21 | initial = "random" 22 | 23 | [model] 24 | type = "boson" 25 | t = 0.4 26 | V = 1.0 27 | mu = 3.0 28 | -------------------------------------------------------------------------------- /sample/AFH_square/README.md: -------------------------------------------------------------------------------- 1 | - how to run 2 | - simple.toml 3 | - `tenes_simple simple.toml` 4 | - `tenes_std std.toml` 5 | - `tenes input.toml` 6 | - run.py + basic.toml 7 | - `python3 run.py` 8 | - model 9 | - S=1/2 antiferromagnetic Heisenberg model on the square lattice 10 | - Parameter 11 | - simple.toml 12 | - J = 1 13 | - Neel phase 14 | - run.py + basic.toml 15 | - J = 1 16 | - D = [2,3,4] or [2,3,4,5,6] 17 | - nsteps for full-update = [0, 10] or [0,10,100,1000] 18 | - Observables 19 | - Energy 20 | - Unitcell 21 | - 2x2 22 | - References 23 | - A.W. Sandvik, AIP Conf. Proc. 1297, 135 (2010) 24 | - P. Corboz, PRB 94, 035133 (2016) 25 | -------------------------------------------------------------------------------- /sample/AFH_square/basic.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | 4 | [parameter.simple_update] 5 | num_step = 1000 6 | tau = 0.01 7 | 8 | [parameter.full_update] 9 | num_step = 0 10 | tau = 0.01 11 | 12 | [parameter.ctm] 13 | iteration_max = 100 14 | 15 | [lattice] 16 | type = "square lattice" 17 | L = 2 18 | W = 2 19 | initial = "antiferro" 20 | virtual_dim = 2 21 | 22 | [model] 23 | type = "spin" 24 | J = 1.0 25 | -------------------------------------------------------------------------------- /sample/AFH_square/plot.gp: -------------------------------------------------------------------------------- 1 | set key left top 2 | set xlabel '1/D' 3 | set ylabel '(E-Eqmc)/|Eqmc|' 4 | set style arrow 1 size graph 0.02,20 linecolor rgb "black" 5 | set dashtype 1 (5,5) 6 | set arrow 1 nohead from 0,0.1666 to 5,0.1666 dt 1 7 | exact = -0.6694422 8 | plot [0:] \ 9 | 'energy.dat' u (1/$1):($2-exact)/-exact w lp title "FU = 0",\ 10 | '' u (1/$1):($3-exact)/-exact w lp title "FU = 10",\ 11 | # '' u (1/$1):($4-exact)/-exact w lp title "FU = 100",\ 12 | # '' u (1/$1):($4-exact)/-exact w lp title "FU = 1000",\ 13 | 14 | -------------------------------------------------------------------------------- /sample/AFH_square/simple.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | 4 | [parameter.simple_update] 5 | num_step = 1000 6 | tau = 0.01 7 | 8 | [parameter.full_update] 9 | num_step = 0 10 | tau = 0.01 11 | 12 | [parameter.ctm] 13 | iteration_max = 100 14 | 15 | [lattice] 16 | type = "square lattice" 17 | L = 2 18 | W = 2 19 | initial = "antiferro" 20 | virtual_dim = 2 21 | 22 | [model] 23 | type = "spin" 24 | J = 1.0 25 | -------------------------------------------------------------------------------- /sample/FT_Kitaev/README.md: -------------------------------------------------------------------------------- 1 | - how to run 2 | - `export PATH=${WHERE_TENES_INSTALLED}/bin:$PATH` 3 | - `sh run.sh` 4 | - `gnuplot -persist plot_e.plt` for generate a figure of energy 5 | - `gnuplot -persist plot_c.plt` for generate a figure of specific heat 6 | - model 7 | - Kitaev model on the honeycomb lattice 8 | - Inputs 9 | - `simple_gapless.toml` 10 | - Finite temperature simulation of isotropic Kitaev Heisenberg model 11 | - `J0x = -1` 12 | - `J1y = -1` 13 | - `J2z = -1` 14 | - Note that the gapless model is difficult to reach the ground state 15 | - `simple_gapfull.toml` 16 | - Finite temperature simulation of anisotropic Kitaev Heisenberg model 17 | - `J0x = -0.3` 18 | - `J1y = -0.3` 19 | - `J2z = -2.4` 20 | - Observables 21 | - Energy 22 | - Specific Heat 23 | - calculated from Energy by interpolation and differentiation 24 | - Unitcell 25 | - 2x2 26 | - Reference data 27 | - calculated by the TPQ method (HPhi) 28 | -------------------------------------------------------------------------------- /sample/FT_Kitaev/TPQ/README.md: -------------------------------------------------------------------------------- 1 | TPQ calculation of the gapless and the gapfull Kitaev honeycomb model by using HPhi (https://github.com/issp-center-dev/HPhi) 2 | 3 | ``` bash 4 | export PATH=:$PATH 5 | sh ./run.sh 6 | ``` 7 | -------------------------------------------------------------------------------- /sample/FT_Kitaev/TPQ/run.sh: -------------------------------------------------------------------------------- 1 | for name in gapless gapfull; do 2 | HPhi -s stan_${name}.in 3 | mv output output_${name} 4 | python3 ./postprocess.py $name 5 | done 6 | -------------------------------------------------------------------------------- /sample/FT_Kitaev/TPQ/stan_gapfull.in: -------------------------------------------------------------------------------- 1 | W=2 2 | L=3 3 | model = "SpinGC" 4 | method = "TPQ" 5 | lattice = "Honeycomb" 6 | J0x = -0.3 7 | J0y = 0.0 8 | J0z = 0.0 9 | J1x = 0.0 10 | J1y = -0.3 11 | J1z = 0.0 12 | J2x = 0.0 13 | J2y = 0.0 14 | J2z = -2.4 15 | 2S=1 16 | Lanczos_max = 3000 17 | LargeValue = 4.0 18 | NumAve = 20 19 | -------------------------------------------------------------------------------- /sample/FT_Kitaev/TPQ/stan_gapless.in: -------------------------------------------------------------------------------- 1 | W=2 2 | L=3 3 | model = "SpinGC" 4 | method = "TPQ" 5 | lattice = "Honeycomb" 6 | J0x = -1.0 7 | J0y = 0.0 8 | J0z = 0.0 9 | J1x = 0.0 10 | J1y = -1.0 11 | J1z = 0.0 12 | J2x = 0.0 13 | J2y = 0.0 14 | J2z = -1.0 15 | 2S=1 16 | Lanczos_max = 3000 17 | LargeValue = 4.0 18 | NumAve = 20 19 | -------------------------------------------------------------------------------- /sample/FT_Kitaev/calcspec.py: -------------------------------------------------------------------------------- 1 | import sys 2 | import numpy as np 3 | from scipy.interpolate import splrep, splev 4 | 5 | 6 | def spec(name): 7 | data = np.loadtxt(f"./energy_{name}.dat") 8 | bs = data[:, 0] 9 | Es = data[:, 1] 10 | spl = splrep(bs, Es) 11 | Cs = -bs * bs * splev(bs, spl, der=1) 12 | with open(f"./spec_{name}.dat", "w") as f: 13 | for b, C in zip(bs, Cs): 14 | f.write(f"{b} {C}\n") 15 | 16 | 17 | if __name__ == "__main__": 18 | name = sys.argv[1] 19 | spec(name) 20 | -------------------------------------------------------------------------------- /sample/FT_Kitaev/plot_c.plt: -------------------------------------------------------------------------------- 1 | set auto 2 | unset log 3 | set log x 4 | set key right top 5 | 6 | set xl 'temperature' 7 | set yl 'specific heat' 8 | 9 | set xr [0.01:20] 10 | 11 | plot \ 12 | 'TPQ/TPQ_gapless.dat' u (1/$1):4 w l lw 2 lc rgb 'black' t 'gapless, TPQ', \ 13 | 'spec_gapless.dat' u (1/$1):2 pt 5 lc rgb 'blue' t 'gapless, iTPS', \ 14 | 'TPQ/TPQ_gapfull.dat' u (1/$1):4 w l lw 2 lc rgb 'black' dt (10,5) t 'gapfull, TPQ', \ 15 | 'spec_gapfull.dat' u (1/$1):2 pt 7 lc rgb 'red' t 'gapfull, iTPS', \ 16 | -------------------------------------------------------------------------------- /sample/FT_Kitaev/plot_e.plt: -------------------------------------------------------------------------------- 1 | set auto 2 | unset log 3 | set log x 4 | set key left top 5 | 6 | set xl 'temperature' 7 | set yl 'energy density' 8 | 9 | set xr [0.01:20] 10 | 11 | plot \ 12 | 'TPQ/TPQ_gapless.dat' u (1/$1):2 w l lw 2 lc rgb 'black' t 'gapless, TPQ', \ 13 | 'energy_gapless.dat' u (1/$1):2 pt 5 lc rgb 'blue' t 'gapless, iTPS', \ 14 | 'TPQ/TPQ_gapfull.dat' u (1/$1):2 w l lw 2 lc rgb 'black' dt (10,5) t 'gapfull, TPQ', \ 15 | 'energy_gapfull.dat' u (1/$1):2 pt 7 lc rgb 'red' t 'gapfull, iTPS', \ 16 | -------------------------------------------------------------------------------- /sample/FT_Kitaev/run.sh: -------------------------------------------------------------------------------- 1 | for name in gapless gapfull; do 2 | tenes_simple -o std_${name}.toml simple_${name}.toml 3 | tenes_std -o input_${name}.toml std_${name}.toml 4 | tenes input_${name}.toml 5 | 6 | awk '$2 == 0 {print $1, $3}' output_${name}/FT_density.dat > energy_${name}.dat 7 | python3 ./calcspec.py $name 8 | done 9 | -------------------------------------------------------------------------------- /sample/FT_Kitaev/simple_gapfull.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | # is_real = true 4 | mode = "finite temperature" 5 | output = "output_gapfull" 6 | 7 | [parameter.simple_update] 8 | num_step = [500, 450] 9 | tau = [0.01, 0.1] 10 | 11 | [parameter.full_update] 12 | num_step = 0 13 | tau = 0.01 14 | 15 | [parameter.ctm] 16 | iteration_max = 100 17 | dimension = 20 18 | meanfield_env = false 19 | 20 | [lattice] 21 | type = "honeycomb lattice" 22 | L = 1 23 | W = 2 24 | virtual_dim = 4 25 | initial = "random" 26 | 27 | [model] 28 | type = "spin" 29 | J0x = -0.3 30 | J1y = -0.3 31 | J2z = -2.4 32 | -------------------------------------------------------------------------------- /sample/FT_Kitaev/simple_gapless.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | # is_real = true 4 | mode = "finite temperature" 5 | output = "output_gapless" 6 | 7 | [parameter.simple_update] 8 | num_step = [500, 450] 9 | tau = [0.01, 0.1] 10 | 11 | [parameter.full_update] 12 | num_step = 0 13 | tau = 0.01 14 | 15 | [parameter.ctm] 16 | iteration_max = 100 17 | dimension = 20 18 | meanfield_env = false 19 | 20 | [lattice] 21 | type = "honeycomb lattice" 22 | L = 1 23 | W = 2 24 | virtual_dim = 4 25 | initial = "random" 26 | 27 | [model] 28 | type = "spin" 29 | J0x = -1.0 30 | J1y = -1.0 31 | J2z = -1.0 32 | -------------------------------------------------------------------------------- /src/iTPS/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(core) 2 | 3 | add_library(PEPS_Parameters STATIC PEPS_Parameters.cpp) 4 | target_link_libraries(PEPS_Parameters PUBLIC tenes_mpi) 5 | 6 | add_library(load_toml STATIC load_toml.cpp) 7 | target_link_libraries(load_toml PUBLIC tenes_mpi tensor SquareLattice PEPS_Parameters) 8 | target_include_directories(load_toml PUBLIC ${CPPTOML_INCLUDE_DIR} ${BOOST_INCLUDE_DIR}) 9 | 10 | add_library( 11 | iTPS_impl STATIC 12 | iTPS.cpp 13 | tensors.cpp 14 | saveload_tensors.cpp 15 | measure.cpp 16 | onesite_obs.cpp 17 | twosite_obs.cpp 18 | multisite_obs.cpp 19 | density.cpp 20 | simple_update.cpp 21 | full_update.cpp 22 | optimize.cpp 23 | time_evolution.cpp 24 | finite_temperature.cpp 25 | correlation_function.cpp 26 | correlation_length.cpp 27 | transfer_matrix.cpp) 28 | 29 | target_link_libraries(iTPS_impl PUBLIC iTPS_core SquareLattice load_toml tenes_util PEPS_Parameters) 30 | -------------------------------------------------------------------------------- /src/iTPS/core/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(contract_itps_ctm) 2 | add_subdirectory(contract_itps_mf) 3 | add_subdirectory(contract_density_ctm) 4 | 5 | add_library(iTPS_core STATIC ctm.cpp ctm_single.cpp simple_update.cpp 6 | full_update.cpp local_gauge.cpp) 7 | target_link_libraries( 8 | iTPS_core PUBLIC iTPS_contract_itps_ctm iTPS_contract_itps_mf 9 | iTPS_contract_density_ctm) 10 | -------------------------------------------------------------------------------- /src/iTPS/core/contract_density_ctm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | unset(src_files) 2 | set(src_files ctm.cpp correlation.cpp) 3 | foreach(row 1 2 3 4) 4 | foreach(col 1 2 3 4) 5 | list(APPEND src_files ctm_${row}x${col}.cpp) 6 | endforeach() 7 | endforeach() 8 | 9 | add_library(iTPS_contract_density_ctm STATIC ${src_files}) 10 | target_link_libraries(iTPS_contract_density_ctm PUBLIC tensor) 11 | -------------------------------------------------------------------------------- /src/iTPS/core/contract_itps_ctm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | unset(src_files) 2 | set(src_files ctm.cpp correlation.cpp) 3 | foreach(row 1 2 3 4) 4 | foreach(col 1 2 3 4) 5 | list(APPEND src_files ctm_${row}x${col}.cpp) 6 | endforeach() 7 | endforeach() 8 | 9 | add_library(iTPS_contract_itps_ctm STATIC ${src_files}) 10 | target_link_libraries(iTPS_contract_itps_ctm PUBLIC tensor) 11 | -------------------------------------------------------------------------------- /src/iTPS/core/contract_itps_mf/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | unset(src_files) 2 | set(src_files mf.cpp correlation.cpp) 3 | foreach(row 1 2 3 4) 4 | foreach(col 1 2 3 4) 5 | list(APPEND src_files mf_${row}x${col}.cpp) 6 | endforeach() 7 | endforeach() 8 | 9 | add_library(iTPS_contract_itps_mf STATIC ${src_files}) 10 | 11 | target_link_libraries(iTPS_contract_itps_mf PUBLIC tensor) 12 | -------------------------------------------------------------------------------- /src/initialize_mptensor.cpp: -------------------------------------------------------------------------------- 1 | #include "tenes.hpp" 2 | 3 | #include 4 | 5 | namespace tenes{ 6 | void initialize_mptensor(){ 7 | #ifndef _NO_MPI 8 | mptensor::scalapack::BlacsGrid::init(); 9 | #endif 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/initialize_mptensor.hpp: -------------------------------------------------------------------------------- 1 | #ifndef TENES_SRC_INITIALIZE_MPTENSOR_HPP 2 | #define TENES_SRC_INITIALIZE_MPTENSOR_HPP 3 | 4 | namespace tenes { 5 | void initialize_mptensor(); 6 | } 7 | #endif // TENES_SRC_INITIALIZE_MPTENSOR_HPP 8 | -------------------------------------------------------------------------------- /src/printlevel.hpp: -------------------------------------------------------------------------------- 1 | /* TeNeS - Massively parallel tensor network solver / 2 | / Copyright (C) 2019- The University of Tokyo */ 3 | 4 | /* This program is free software: you can redistribute it and/or modify / 5 | / it under the terms of the GNU General Public License as published by / 6 | / the Free Software Foundation, either version 3 of the License, or / 7 | / (at your option) any later version. */ 8 | 9 | /* This program is distributed in the hope that it will be useful, / 10 | / but WITHOUT ANY WARRANTY; without even the implied warranty of / 11 | / MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the / 12 | / GNU General Public License for more details. */ 13 | 14 | /* You should have received a copy of the GNU General Public License / 15 | / along with this program. If not, see http://www.gnu.org/licenses/. */ 16 | 17 | #ifndef TENES_SRC_PRINTLEVEL_HPP_ 18 | #define TENES_SRC_PRINTLEVEL_HPP_ 19 | 20 | namespace tenes { 21 | enum PrintLevel { 22 | none, 23 | fatal, 24 | error, 25 | warn, 26 | info, 27 | debug, 28 | }; 29 | } 30 | 31 | #endif // TENES_SRC_PRINTLEVEL_HPP_ 32 | -------------------------------------------------------------------------------- /src/tenes.hpp: -------------------------------------------------------------------------------- 1 | /* TeNeS - Massively parallel tensor network solver / 2 | / Copyright (C) 2019- The University of Tokyo */ 3 | 4 | /* This program is free software: you can redistribute it and/or modify / 5 | / it under the terms of the GNU General Public License as published by / 6 | / the Free Software Foundation, either version 3 of the License, or / 7 | / (at your option) any later version. */ 8 | 9 | /* This program is distributed in the hope that it will be useful, / 10 | / but WITHOUT ANY WARRANTY; without even the implied warranty of / 11 | / MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the / 12 | / GNU General Public License for more details. */ 13 | 14 | /* You should have received a copy of the GNU General Public License / 15 | / along with this program. If not, see http://www.gnu.org/licenses/. */ 16 | 17 | #ifndef TENES_SRC_TENES_HPP_ 18 | #define TENES_SRC_TENES_HPP_ 19 | 20 | #include "initialize_mptensor.hpp" 21 | #include "iTPS/main.hpp" 22 | 23 | #endif // TENES_SRC_TENES_HPP_ 24 | -------------------------------------------------------------------------------- /src/util/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library( 2 | tenes_util STATIC 3 | ./file.cpp 4 | ./string.cpp 5 | ./datetime.cpp 6 | ) 7 | 8 | target_compile_options(tenes_util PRIVATE -Wall) 9 | target_compile_options( 10 | tenes_util PRIVATE $<$: -Wextra -Wno-unused-parameter 11 | -Wno-sign-compare -Wpedantic >) 12 | -------------------------------------------------------------------------------- /src/version.hpp: -------------------------------------------------------------------------------- 1 | /* TeNeS - Massively parallel tensor network solver / 2 | / Copyright (C) 2019- The University of Tokyo */ 3 | 4 | /* This program is free software: you can redistribute it and/or modify / 5 | / it under the terms of the GNU General Public License as published by / 6 | / the Free Software Foundation, either version 3 of the License, or / 7 | / (at your option) any later version. */ 8 | 9 | /* This program is distributed in the hope that it will be useful, / 10 | / but WITHOUT ANY WARRANTY; without even the implied warranty of / 11 | / MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the / 12 | / GNU General Public License for more details. */ 13 | 14 | /* You should have received a copy of the GNU General Public License / 15 | / along with this program. If not, see http://www.gnu.org/licenses/. */ 16 | 17 | #ifndef TENES_SRC_VERSION_HPP_ 18 | #define TENES_SRC_VERSION_HPP_ 19 | 20 | #define TENES_VERSION "2.1.1" 21 | 22 | #endif // TENES_SRC_VERSION_HPP_ 23 | -------------------------------------------------------------------------------- /test/data/Kitaev.toml: -------------------------------------------------------------------------------- 1 | [parameter] 2 | [parameter.general] 3 | output = 'output_Kitaev' 4 | [parameter.simple_update] 5 | tau = 0.01 6 | num_step = 100 7 | [parameter.full_update] 8 | tau = 0.01 9 | num_step = 1 10 | [parameter.ctm] 11 | dimension = 5 12 | 13 | [lattice] 14 | type = "honeycomb lattice" 15 | L = 2 16 | W = 2 17 | initial = "random" 18 | virtual_dim = 2 19 | 20 | [model] 21 | type = "spin" 22 | J0x = -1.0 23 | J1y = -1.0 24 | J2z = -1.0 25 | -------------------------------------------------------------------------------- /test/data/full_update.dat: -------------------------------------------------------------------------------- 1 | -0.29730177875068 0 -0.29730177875068 0 0 -0.29730177875068 0 -0.29730177875068 -0.29730177875068 0 -0.29730177875068 0 0 -0.29730177875068 0 -0.29730177875068 -0.29730177875068 0 -0.29730177875068 0 0 -0.29730177875068 0 -0.29730177875068 -0.29730177875068 0 -0.29730177875068 0 0 -0.29730177875068 0 -0.29730177875068 2 | -0.29730177875068 0 -0.29730177875068 0 -0.29730177875068 0 -0.29730177875068 0 -0.29730177875068 0 -0.29730177875068 0 -0.29730177875068 0 -0.29730177875068 0 0 -0.29730177875068 0 -0.29730177875068 0 -0.29730177875068 0 -0.29730177875068 0 -0.29730177875068 0 -0.29730177875068 0 -0.29730177875068 0 -0.29730177875068 3 | 4 | -------------------------------------------------------------------------------- /test/data/output_AntiferroHeisenberg_complex/correlation_length.dat: -------------------------------------------------------------------------------- 1 | # The meaning of each column is the following: 2 | # $1: direction 0: +x, 1: +y 3 | # $2: y (dir=0) or x (dir=1) coorinates 4 | # $3: correlation length xi = 1/e_1 5 | # $4-: eigenvalues e_i = -log|t_i/t_0| 6 | # where i > 0 and t_i is i-th largest eigenvalue of T 7 | 8 | 0 0 6.88430947258191539e-01 1.45257851057203635e+00 1.57475841418349161e+00 1.74924885866658575e+00 9 | 0 1 6.88441448319698668e-01 1.45255635383478499e+00 1.57471383305248813e+00 1.74698757111027758e+00 10 | 1 0 6.28580014780952490e-01 1.59088735958059346e+00 1.72640735055080330e+00 1.93042856012667108e+00 11 | 1 1 6.28552984436227868e-01 1.59095577423267898e+00 1.72674802579762865e+00 1.93383701867670976e+00 12 | -------------------------------------------------------------------------------- /test/data/output_AntiferroHeisenberg_complex/density.dat: -------------------------------------------------------------------------------- 1 | Energy = -6.19586136465586912e-01 0.00000000000000000e+00 2 | Sz = 6.24768949695421114e-03 -8.26535619966558205e-17 3 | Sx = -4.01056623881015650e-02 1.71376865229059466e-18 4 | Sy = 4.94186630183520159e-02 6.07766369835239770e-17 5 | hamiltonian = -6.19586136465586912e-01 2.17382134876928570e-17 6 | SzSz = -1.38599083165800829e-01 6.99773682930850195e-18 7 | SxSx = -2.78736120245754504e-01 3.52982395360460259e-17 8 | SySy = -2.02250933054031495e-01 -1.48154104814865170e-17 9 | -------------------------------------------------------------------------------- /test/data/output_AntiferroHeisenberg_complex/parameters.dat: -------------------------------------------------------------------------------- 1 | simple_num_step = [100] 2 | simple_tau = [0.01] 3 | simple_inverse_lambda_cutoff = 1e-12 4 | simple_gauge_fix = 0 5 | simple_gauge_maxiter = 100 6 | simple_gauge_convergence_epsilon = 0.01 7 | 8 | full_num_step = [1] 9 | full_inverse_projector_cutoff = 1e-12 10 | full_inverse_precision = 1e-12 11 | full_convergence_epsilon = 1e-06 12 | full_iteration_max = 100 13 | full_gauge_fix = true 14 | full_fastfullupdate = true 15 | 16 | ctm_dimension = 5 17 | ctm_inverse_projector_cutoff = 1e-12 18 | ctm_convergence_epsilon = 1e-06 19 | ctm_iteration_max = 100 20 | ctm_projector_corner = true 21 | use_rsvd = false 22 | rsvd_oversampling_factor = 2 23 | meanfield_env = false 24 | 25 | Lcor = 0 26 | seed = 11 27 | is_real = 0 28 | iszero_tol = 0 29 | measure = 1 30 | tensor_load_dir = 31 | tensor_save_dir = 32 | outdir = output_AntiferroHeisenberg_complex 33 | 34 | Lsub = [ 2 , 2 ] 35 | skew = 0 36 | 37 | start_datetime = 2023-06-07T16:31:11+09:00 38 | -------------------------------------------------------------------------------- /test/data/output_AntiferroHeisenberg_mf/correlation_length.dat: -------------------------------------------------------------------------------- 1 | # The meaning of each column is the following: 2 | # $1: direction 0: +x, 1: +y 3 | # $2: y (dir=0) or x (dir=1) coorinates 4 | # $3: correlation length xi = 1/e_1 5 | # $4-: eigenvalues e_i = -log|t_i/t_0| 6 | # where i > 0 and t_i is i-th largest eigenvalue of T 7 | 8 | 0 0 6.96545979652895442e-01 1.43565540425389071e+00 2.15713869691515470e+00 2.53358507861927640e+00 9 | 0 1 6.81629515495334126e-01 1.46707262122196824e+00 1.93561709821789463e+00 2.94937737296689573e+00 10 | 1 0 5.14763899952019210e-01 1.94263816886384100e+00 3.18214803043349903e+00 3.18214803043349903e+00 11 | 1 1 5.82946937841205659e-01 1.71542199655982985e+00 2.11619818744044386e+00 3.47201090284844138e+00 12 | -------------------------------------------------------------------------------- /test/data/output_AntiferroHeisenberg_mf/density.dat: -------------------------------------------------------------------------------- 1 | Energy = -5.34105918970458338e-01 0.00000000000000000e+00 2 | Sz = 6.20648147501640102e-03 0.00000000000000000e+00 3 | Sx = -1.17529879879345434e-01 0.00000000000000000e+00 4 | bond_hamiltonian = -5.34105918970458338e-01 0.00000000000000000e+00 5 | SzSz = -3.17058390375321186e-01 0.00000000000000000e+00 6 | SxSx = -8.52551796747227225e-02 0.00000000000000000e+00 7 | SySy = -1.31792348920414304e-01 0.00000000000000000e+00 8 | SzSzSzSz = 3.00825473095664882e-02 0.00000000000000000e+00 9 | -------------------------------------------------------------------------------- /test/data/output_AntiferroHeisenberg_mf/multisite_obs_4.dat: -------------------------------------------------------------------------------- 1 | # The meaning of each column is the following: 2 | # $1: op_group 3 | # $2: source_site 4 | # $3: dx[1] 5 | # $4: dy[1] 6 | # $5: dx[2] 7 | # $6: dy[2] 8 | # $7: dx[3] 9 | # $8: dy[3] 10 | # $9: real 11 | # $10: imag 12 | # The names of op_group are the following: 13 | # 0: SzSzSzSz 14 | 15 | 0 0 1 0 1 1 0 1 2.99947758322205646e-02 0.00000000000000000e+00 16 | 0 1 1 0 1 1 0 1 3.01182270680046826e-02 0.00000000000000000e+00 17 | 0 2 1 0 1 1 0 1 3.00468216791569508e-02 0.00000000000000000e+00 18 | 0 3 1 0 1 1 0 1 3.01703646588837582e-02 0.00000000000000000e+00 19 | -------------------------------------------------------------------------------- /test/data/output_AntiferroHeisenberg_mf/onesite_obs.dat: -------------------------------------------------------------------------------- 1 | # The meaning of each column is the following: 2 | # $1: op_group 3 | # $2: site_index 4 | # $3: real 5 | # $4: imag 6 | # The names of op_group are the following: 7 | # 0: Sz 8 | # 1: Sx 9 | # -1: norm 10 | 11 | 0 0 3.85375741577462738e-01 0.00000000000000000e+00 12 | 0 1 -3.92304958694448758e-01 0.00000000000000000e+00 13 | 0 2 -3.45344786246833457e-01 0.00000000000000000e+00 14 | 0 3 3.77099929263885081e-01 0.00000000000000000e+00 15 | 1 0 -2.07238205736018866e-01 0.00000000000000000e+00 16 | 1 1 -1.26689596977342667e-01 0.00000000000000000e+00 17 | 1 2 -2.41157133523325878e-01 0.00000000000000000e+00 18 | 1 3 1.04965416719305704e-01 0.00000000000000000e+00 19 | -1 0 1.00000000000000067e+00 0.00000000000000000e+00 20 | -1 1 1.00000000000000000e+00 0.00000000000000000e+00 21 | -1 2 9.99999999999999778e-01 0.00000000000000000e+00 22 | -1 3 9.99999999999999556e-01 0.00000000000000000e+00 23 | -------------------------------------------------------------------------------- /test/data/output_AntiferroHeisenberg_mf/parameters.dat: -------------------------------------------------------------------------------- 1 | simple_num_step = [100] 2 | simple_tau = [0.01] 3 | simple_inverse_lambda_cutoff = 1e-12 4 | simple_gauge_fix = 0 5 | simple_gauge_maxiter = 100 6 | simple_gauge_convergence_epsilon = 0.01 7 | 8 | full_num_step = [0] 9 | full_inverse_projector_cutoff = 1e-12 10 | full_inverse_precision = 1e-12 11 | full_convergence_epsilon = 1e-06 12 | full_iteration_max = 100 13 | full_gauge_fix = true 14 | full_fastfullupdate = true 15 | 16 | ctm_dimension = 5 17 | ctm_inverse_projector_cutoff = 1e-12 18 | ctm_convergence_epsilon = 1e-06 19 | ctm_iteration_max = 100 20 | ctm_projector_corner = true 21 | use_rsvd = false 22 | rsvd_oversampling_factor = 2 23 | meanfield_env = true 24 | 25 | mode = ground state 26 | simple 27 | Lcor = 0 28 | seed = 11 29 | is_real = 1 30 | iszero_tol = 0 31 | measure = 1 32 | tensor_load_dir = 33 | tensor_save_dir = 34 | outdir = output_AntiferroHeisenberg_mf 35 | 36 | Lsub = [ 2 , 2 ] 37 | skew = 0 38 | 39 | start_datetime = 2023-07-07T14:33:39+09:00 40 | -------------------------------------------------------------------------------- /test/data/output_AntiferroHeisenberg_real/correlation_length.dat: -------------------------------------------------------------------------------- 1 | # The meaning of each column is the following: 2 | # $1: direction 0: +x, 1: +y 3 | # $2: y (dir=0) or x (dir=1) coorinates 4 | # $3: correlation length xi = 1/e_1 5 | # $4-: eigenvalues e_i = -log|t_i/t_0| 6 | # where i > 0 and t_i is i-th largest eigenvalue of T 7 | 8 | 0 0 8.44994724744483339e-01 1.18343934076320823e+00 1.31217387840875177e+00 1.50088448589384638e+00 9 | 0 1 8.45007547885718746e-01 1.18342138185876045e+00 1.31207991892443365e+00 1.49884260767438549e+00 10 | 1 0 7.09058133674792535e-01 1.41032159777557409e+00 1.57230304927106412e+00 1.80264278143232781e+00 11 | 1 1 7.09013376311950050e-01 1.41041062610364953e+00 1.57276526937485217e+00 1.80524017948038074e+00 12 | -------------------------------------------------------------------------------- /test/data/output_AntiferroHeisenberg_real/density.dat: -------------------------------------------------------------------------------- 1 | Energy = -5.43694699199365972e-01 0.00000000000000000e+00 2 | Sz = 6.11534505262877059e-03 0.00000000000000000e+00 3 | Sx = -1.18113776629296119e-01 0.00000000000000000e+00 4 | 2Sz = 1.22306901052575412e-02 0.00000000000000000e+00 5 | bond_hamiltonian = -5.43694699199365972e-01 0.00000000000000000e+00 6 | SzSz = -3.16338023249127298e-01 0.00000000000000000e+00 7 | SxSx = -8.55764725463981218e-02 0.00000000000000000e+00 8 | SySy = -1.41780203403840510e-01 0.00000000000000000e+00 9 | 2SzSz = -6.32676046498254596e-01 0.00000000000000000e+00 10 | SzSzSzSz = 3.00538294519129001e-02 0.00000000000000000e+00 11 | 2SzSzSzSz = 6.01076589038258002e-02 0.00000000000000000e+00 12 | -------------------------------------------------------------------------------- /test/data/output_AntiferroHeisenberg_real/multisite_obs_4.dat: -------------------------------------------------------------------------------- 1 | # The meaning of each column is the following: 2 | # $1: op_group 3 | # $2: source_site 4 | # $3: dx[1] 5 | # $4: dy[1] 6 | # $5: dx[2] 7 | # $6: dy[2] 8 | # $7: dx[3] 9 | # $8: dy[3] 10 | # $9: real 11 | # $10: imag 12 | # The names of op_group are the following: 13 | # 0: SzSzSzSz 14 | # 1: 2SzSzSzSz 15 | 16 | 0 0 1 0 1 1 0 1 2.99570527341480666e-02 0.00000000000000000e+00 17 | 0 1 1 0 1 1 0 1 3.00861555469647268e-02 0.00000000000000000e+00 18 | 0 2 1 0 1 1 0 1 3.00214333584335157e-02 0.00000000000000000e+00 19 | 0 3 1 0 1 1 0 1 3.01506761681052948e-02 0.00000000000000000e+00 20 | 1 0 1 0 1 1 0 1 5.99141054682961333e-02 0.00000000000000000e+00 21 | 1 1 1 0 1 1 0 1 6.01723110939294537e-02 0.00000000000000000e+00 22 | 1 2 1 0 1 1 0 1 6.00428667168670313e-02 0.00000000000000000e+00 23 | 1 3 1 0 1 1 0 1 6.03013523362105897e-02 0.00000000000000000e+00 24 | -------------------------------------------------------------------------------- /test/data/output_AntiferroHeisenberg_real/parameters.dat: -------------------------------------------------------------------------------- 1 | simple_num_step = [100] 2 | simple_tau = [0.01] 3 | simple_inverse_lambda_cutoff = 1e-12 4 | simple_gauge_fix = 0 5 | simple_gauge_maxiter = 100 6 | simple_gauge_convergence_epsilon = 0.01 7 | 8 | full_num_step = [1] 9 | full_inverse_projector_cutoff = 1e-12 10 | full_inverse_precision = 1e-12 11 | full_convergence_epsilon = 1e-06 12 | full_iteration_max = 100 13 | full_gauge_fix = true 14 | full_fastfullupdate = true 15 | 16 | ctm_dimension = 5 17 | ctm_inverse_projector_cutoff = 1e-12 18 | ctm_convergence_epsilon = 1e-06 19 | ctm_iteration_max = 100 20 | ctm_projector_corner = true 21 | use_rsvd = false 22 | rsvd_oversampling_factor = 2 23 | meanfield_env = false 24 | 25 | mode = ground state 26 | simple 27 | Lcor = 0 28 | seed = 11 29 | is_real = 1 30 | iszero_tol = 0 31 | measure = 1 32 | tensor_load_dir = 33 | tensor_save_dir = 34 | outdir = output_AntiferroHeisenberg_real 35 | 36 | Lsub = [ 2 , 2 ] 37 | skew = 0 38 | 39 | start_datetime = 2024-01-15T23:23:01+09:00 40 | -------------------------------------------------------------------------------- /test/data/output_FT_Kitaev/parameters.dat: -------------------------------------------------------------------------------- 1 | simple_num_step = [500] 2 | simple_tau = [0.01] 3 | simple_inverse_lambda_cutoff = 1e-12 4 | simple_gauge_fix = 0 5 | simple_gauge_maxiter = 100 6 | simple_gauge_convergence_epsilon = 0.01 7 | 8 | full_num_step = [0] 9 | full_inverse_projector_cutoff = 1e-12 10 | full_inverse_precision = 1e-12 11 | full_convergence_epsilon = 1e-06 12 | full_iteration_max = 100 13 | full_gauge_fix = true 14 | full_fastfullupdate = true 15 | 16 | ctm_dimension = 5 17 | ctm_inverse_projector_cutoff = 1e-12 18 | ctm_convergence_epsilon = 1e-06 19 | ctm_iteration_max = 100 20 | ctm_projector_corner = true 21 | use_rsvd = false 22 | rsvd_oversampling_factor = 2 23 | meanfield_env = false 24 | 25 | mode = finite temperature 26 | simple 27 | Lcor = 0 28 | seed = 11 29 | is_real = 0 30 | iszero_tol = 0 31 | measure = 1 32 | tensor_load_dir = 33 | tensor_save_dir = 34 | outdir = output_FT_Kitaev 35 | 36 | Lsub = [ 2 , 1 ] 37 | skew = 1 38 | 39 | start_datetime = 2023-07-22T11:07:47+09:00 40 | -------------------------------------------------------------------------------- /test/data/output_FT_TFI_square/parameters.dat: -------------------------------------------------------------------------------- 1 | simple_num_step = [500] 2 | simple_tau = [0.005] 3 | simple_inverse_lambda_cutoff = 1e-12 4 | simple_gauge_fix = 0 5 | simple_gauge_maxiter = 100 6 | simple_gauge_convergence_epsilon = 0.01 7 | 8 | full_num_step = [0] 9 | full_inverse_projector_cutoff = 1e-12 10 | full_inverse_precision = 1e-12 11 | full_convergence_epsilon = 1e-06 12 | full_iteration_max = 100 13 | full_gauge_fix = true 14 | full_fastfullupdate = true 15 | 16 | ctm_dimension = 10 17 | ctm_inverse_projector_cutoff = 1e-12 18 | ctm_convergence_epsilon = 1e-06 19 | ctm_iteration_max = 10 20 | ctm_projector_corner = true 21 | use_rsvd = false 22 | rsvd_oversampling_factor = 2 23 | meanfield_env = false 24 | 25 | mode = finite temperature 26 | simple 27 | Lcor = 0 28 | seed = 11 29 | is_real = 0 30 | iszero_tol = 0 31 | measure = 1 32 | tensor_load_dir = 33 | tensor_save_dir = 34 | outdir = output_FT_TFI_square 35 | 36 | Lsub = [ 2 , 2 ] 37 | skew = 0 38 | 39 | start_datetime = 2023-07-10T10:20:43+09:00 40 | -------------------------------------------------------------------------------- /test/data/output_Honeycomb/correlation_length.dat: -------------------------------------------------------------------------------- 1 | # The meaning of each column is the following: 2 | # $1: direction 0: +x, 1: +y 3 | # $2: y (dir=0) or x (dir=1) coorinates 4 | # $3: correlation length xi = 1/e_1 5 | # $4-: eigenvalues e_i = -log|t_i/t_0| 6 | # where i > 0 and t_i is i-th largest eigenvalue of T 7 | 8 | 0 0 6.66568727386752435e-01 1.50022039575790966e+00 1.50022047269937442e+00 1.57789997508542901e+00 9 | 0 1 6.66568757083399688e-01 1.50022032892082002e+00 1.50022040604215645e+00 1.57789957489255994e+00 10 | 1 0 3.80856687934344462e-01 2.62565955037761878e+00 2.62565977052944399e+00 2.84344463780670420e+00 11 | 1 1 3.80856611352631047e-01 2.62566007833880244e+00 2.62566029593923522e+00 2.84344591134371427e+00 12 | -------------------------------------------------------------------------------- /test/data/output_Honeycomb/density.dat: -------------------------------------------------------------------------------- 1 | Energy = -5.34095773345756530e-01 0.00000000000000000e+00 2 | Sz = 7.31725374736313938e-11 0.00000000000000000e+00 3 | Sx = 4.59026130909803057e-07 0.00000000000000000e+00 4 | bond_hamiltonian = -5.34095773345756530e-01 0.00000000000000000e+00 5 | SzSz = -2.75550443297481129e-01 0.00000000000000000e+00 6 | SxSx = -1.29272665938510278e-01 0.00000000000000000e+00 7 | SySy = -1.29272664109765040e-01 0.00000000000000000e+00 8 | -------------------------------------------------------------------------------- /test/data/output_Honeycomb/onesite_obs.dat: -------------------------------------------------------------------------------- 1 | # The meaning of each column is the following: 2 | # $1: op_group 3 | # $2: site_index 4 | # $3: real 5 | # $4: imag 6 | # The names of op_group are the following: 7 | # 0: Sz 8 | # 1: Sx 9 | # -1: norm 10 | 11 | 0 0 3.92407919736761868e-01 0.00000000000000000e+00 12 | 0 1 -3.92406971374600511e-01 0.00000000000000000e+00 13 | 0 2 -3.92420876383622608e-01 0.00000000000000000e+00 14 | 0 3 3.92419928314151401e-01 0.00000000000000000e+00 15 | 1 0 -8.59656162072889483e-06 0.00000000000000000e+00 16 | 1 1 3.64142095562085427e-06 0.00000000000000000e+00 17 | 1 2 2.46737045531784390e-05 0.00000000000000000e+00 18 | 1 3 -1.78824593644311871e-05 0.00000000000000000e+00 19 | -1 0 7.83851009077763949e-01 0.00000000000000000e+00 20 | -1 1 7.83851176141132089e-01 0.00000000000000000e+00 21 | -1 2 7.83856019759313627e-01 0.00000000000000000e+00 22 | -1 3 7.83856041593976927e-01 0.00000000000000000e+00 23 | -------------------------------------------------------------------------------- /test/data/output_Honeycomb/parameters.dat: -------------------------------------------------------------------------------- 1 | simple_num_step = [100] 2 | simple_tau = [0.01] 3 | simple_inverse_lambda_cutoff = 1e-12 4 | simple_gauge_fix = 0 5 | simple_gauge_maxiter = 100 6 | simple_gauge_convergence_epsilon = 0.01 7 | 8 | full_num_step = [10] 9 | full_inverse_projector_cutoff = 1e-12 10 | full_inverse_precision = 1e-12 11 | full_convergence_epsilon = 1e-06 12 | full_iteration_max = 100 13 | full_gauge_fix = true 14 | full_fastfullupdate = true 15 | 16 | ctm_dimension = 10 17 | ctm_inverse_projector_cutoff = 1e-12 18 | ctm_convergence_epsilon = 1e-06 19 | ctm_iteration_max = 10 20 | ctm_projector_corner = true 21 | use_rsvd = false 22 | rsvd_oversampling_factor = 2 23 | meanfield_env = false 24 | 25 | mode = ground state 26 | simple 27 | Lcor = 0 28 | seed = 11 29 | is_real = 1 30 | iszero_tol = 0 31 | measure = 1 32 | tensor_load_dir = 33 | tensor_save_dir = 34 | outdir = output_Honeycomb 35 | 36 | Lsub = [ 2 , 2 ] 37 | skew = 0 38 | 39 | start_datetime = 2023-07-19T14:55:06+09:00 40 | -------------------------------------------------------------------------------- /test/data/output_Honeycomb_skew/correlation_length.dat: -------------------------------------------------------------------------------- 1 | # The meaning of each column is the following: 2 | # $1: direction 0: +x, 1: +y 3 | # $2: y (dir=0) or x (dir=1) coorinates 4 | # $3: correlation length xi = 1/e_1 5 | # $4-: eigenvalues e_i = -log|t_i/t_0| 6 | # where i > 0 and t_i is i-th largest eigenvalue of T 7 | 8 | 0 0 6.66578282498365593e-01 1.50019889074686730e+00 1.50019934614638273e+00 1.57785157857388270e+00 9 | 1 0 3.80805292977883125e-01 2.62601391955462971e+00 2.62601445825335089e+00 2.84380095045527215e+00 10 | 1 1 3.80805292977883181e-01 2.62601391955462926e+00 2.62601445825335089e+00 2.84380095045527170e+00 11 | -------------------------------------------------------------------------------- /test/data/output_Honeycomb_skew/density.dat: -------------------------------------------------------------------------------- 1 | Energy = -5.34093829044720136e-01 0.00000000000000000e+00 2 | Sz = 2.83533835299110137e-10 0.00000000000000000e+00 3 | Sx = -2.30175554348515413e-06 0.00000000000000000e+00 4 | bond_hamiltonian = -5.34093829044720136e-01 0.00000000000000000e+00 5 | SzSz = -2.75567115680583674e-01 0.00000000000000000e+00 6 | SxSx = -1.29263360718481768e-01 0.00000000000000000e+00 7 | SySy = -1.29263352645654583e-01 0.00000000000000000e+00 8 | -------------------------------------------------------------------------------- /test/data/output_Honeycomb_skew/onesite_obs.dat: -------------------------------------------------------------------------------- 1 | # The meaning of each column is the following: 2 | # $1: op_group 3 | # $2: site_index 4 | # $3: real 5 | # $4: imag 6 | # The names of op_group are the following: 7 | # 0: Sz 8 | # 1: Sx 9 | # -1: norm 10 | 11 | 0 0 3.92433684918384984e-01 0.00000000000000000e+00 12 | 0 1 -3.92433684351317313e-01 0.00000000000000000e+00 13 | 1 0 4.60358957805966063e-05 0.00000000000000000e+00 14 | 1 1 -5.06394068675669146e-05 0.00000000000000000e+00 15 | -1 0 7.83868487251178303e-01 0.00000000000000000e+00 16 | -1 1 7.83868486353289429e-01 0.00000000000000000e+00 17 | -------------------------------------------------------------------------------- /test/data/output_Honeycomb_skew/parameters.dat: -------------------------------------------------------------------------------- 1 | simple_num_step = [100] 2 | simple_tau = [0.01] 3 | simple_inverse_lambda_cutoff = 1e-12 4 | simple_gauge_fix = 0 5 | simple_gauge_maxiter = 100 6 | simple_gauge_convergence_epsilon = 0.01 7 | 8 | full_num_step = [10] 9 | full_inverse_projector_cutoff = 1e-12 10 | full_inverse_precision = 1e-12 11 | full_convergence_epsilon = 1e-06 12 | full_iteration_max = 100 13 | full_gauge_fix = true 14 | full_fastfullupdate = true 15 | 16 | ctm_dimension = 10 17 | ctm_inverse_projector_cutoff = 1e-12 18 | ctm_convergence_epsilon = 1e-06 19 | ctm_iteration_max = 10 20 | ctm_projector_corner = true 21 | use_rsvd = false 22 | rsvd_oversampling_factor = 2 23 | meanfield_env = false 24 | 25 | mode = ground state 26 | simple 27 | Lcor = 0 28 | seed = 11 29 | is_real = 1 30 | iszero_tol = 0 31 | measure = 1 32 | tensor_load_dir = 33 | tensor_save_dir = 34 | outdir = output_Honeycomb_skew 35 | 36 | Lsub = [ 2 , 1 ] 37 | skew = -1 38 | 39 | start_datetime = 2023-07-19T14:55:08+09:00 40 | -------------------------------------------------------------------------------- /test/data/output_J1J2_AFH/correlation_length.dat: -------------------------------------------------------------------------------- 1 | # The meaning of each column is the following: 2 | # $1: direction 0: +x, 1: +y 3 | # $2: y (dir=0) or x (dir=1) coorinates 4 | # $3: correlation length xi = 1/e_1 5 | # $4-: eigenvalues e_i = -log|t_i/t_0| 6 | # where i > 0 and t_i is i-th largest eigenvalue of T 7 | 8 | 0 0 8.70216105977537291e-01 1.14913984369051980e+00 1.29951112021886761e+00 1.52626669776438129e+00 9 | 0 1 8.70168073679187692e-01 1.14920327491660945e+00 1.29998498776131877e+00 1.52637013645470043e+00 10 | 1 0 6.87370024902514865e-01 1.45482049517917722e+00 1.61499654604236120e+00 1.83915271345120823e+00 11 | 1 1 6.87894858233682460e-01 1.45371053153052254e+00 1.61001693863312911e+00 1.80780740368048809e+00 12 | -------------------------------------------------------------------------------- /test/data/output_J1J2_AFH/density.dat: -------------------------------------------------------------------------------- 1 | Energy = -4.71967824268860692e-01 0.00000000000000000e+00 2 | Sz = -2.88470509982179102e-03 0.00000000000000000e+00 3 | Sx = -1.21956083374257063e-01 0.00000000000000000e+00 4 | hamiltonian = -4.71967824268860692e-01 0.00000000000000000e+00 5 | SzSz = -2.78547076723497433e-01 0.00000000000000000e+00 6 | SxSx = -7.99138424355703564e-02 0.00000000000000000e+00 7 | SySy = -1.42855656018435334e-01 0.00000000000000000e+00 8 | -------------------------------------------------------------------------------- /test/data/output_J1J2_AFH/onesite_obs.dat: -------------------------------------------------------------------------------- 1 | # The meaning of each column is the following: 2 | # $1: op_group 3 | # $2: site_index 4 | # $3: real 5 | # $4: imag 6 | # The names of op_group are the following: 7 | # 0: Sz 8 | # 1: Sx 9 | # -1: norm 10 | 11 | 0 0 3.42511056918580470e-01 0.00000000000000000e+00 12 | 0 1 -3.86361718243797225e-01 0.00000000000000000e+00 13 | 0 2 -3.03715989991965529e-01 0.00000000000000000e+00 14 | 0 3 3.36027830917895121e-01 0.00000000000000000e+00 15 | 1 0 -2.63833687006556961e-01 0.00000000000000000e+00 16 | 1 1 -1.06591553376301010e-01 0.00000000000000000e+00 17 | 1 2 -2.72320269300860729e-01 0.00000000000000000e+00 18 | 1 3 1.54921176186690435e-01 0.00000000000000000e+00 19 | -1 0 6.95429410496171685e-01 0.00000000000000000e+00 20 | -1 1 7.45899033336969497e-01 0.00000000000000000e+00 21 | -1 2 7.33262129029364162e-01 0.00000000000000000e+00 22 | -1 3 6.92498182244301042e-01 0.00000000000000000e+00 23 | -------------------------------------------------------------------------------- /test/data/output_J1J2_AFH/parameters.dat: -------------------------------------------------------------------------------- 1 | simple_num_step = [100] 2 | simple_tau = [0.01] 3 | simple_inverse_lambda_cutoff = 1e-12 4 | simple_gauge_fix = 0 5 | simple_gauge_maxiter = 100 6 | simple_gauge_convergence_epsilon = 0.01 7 | 8 | full_num_step = [1] 9 | full_inverse_projector_cutoff = 1e-12 10 | full_inverse_precision = 1e-12 11 | full_convergence_epsilon = 1e-06 12 | full_iteration_max = 100 13 | full_gauge_fix = true 14 | full_fastfullupdate = true 15 | 16 | ctm_dimension = 5 17 | ctm_inverse_projector_cutoff = 1e-12 18 | ctm_convergence_epsilon = 1e-06 19 | ctm_iteration_max = 100 20 | ctm_projector_corner = true 21 | use_rsvd = false 22 | rsvd_oversampling_factor = 2 23 | meanfield_env = false 24 | 25 | Lcor = 0 26 | seed = 11 27 | is_real = 1 28 | iszero_tol = 0 29 | measure = 1 30 | tensor_load_dir = 31 | tensor_save_dir = 32 | outdir = output_J1J2_AFH 33 | 34 | Lsub = [ 2 , 2 ] 35 | skew = 0 36 | 37 | start_datetime = 2023-06-07T16:31:18+09:00 38 | -------------------------------------------------------------------------------- /test/data/output_RSVD/correlation_length.dat: -------------------------------------------------------------------------------- 1 | # The meaning of each column is the following: 2 | # $1: direction 0: +x, 1: +y 3 | # $2: y (dir=0) or x (dir=1) coorinates 4 | # $3: correlation length xi = 1/e_1 5 | # $4-: eigenvalues e_i = -log|t_i/t_0| 6 | # where i > 0 and t_i is i-th largest eigenvalue of T 7 | 8 | 0 0 6.88695039985187107e-01 1.45202149273720438e+00 1.57319977106406683e+00 1.74778134044166000e+00 9 | 0 1 6.88697943894192699e-01 1.45201537025879923e+00 1.57318870616615114e+00 1.74555305749211609e+00 10 | 1 0 6.28667030345474553e-01 1.59066716040519096e+00 1.72559130373946146e+00 1.92673238689337767e+00 11 | 1 1 6.28642454827198383e-01 1.59072934435342983e+00 1.72591461607902041e+00 1.93003133052151088e+00 12 | -------------------------------------------------------------------------------- /test/data/output_RSVD/density.dat: -------------------------------------------------------------------------------- 1 | Energy = -6.19586141059654150e-01 0.00000000000000000e+00 2 | Sz = 6.24769001866300969e-03 -2.25123136949235366e-15 3 | Sx = -4.01056653321696516e-02 -6.43392851433750621e-16 4 | Sy = 4.94186616552133445e-02 8.96572849594022667e-17 5 | bond_hamiltonian = -6.19586141059654150e-01 5.82610064415346294e-16 6 | SzSz = -1.38599084645263937e-01 1.00053109826491253e-16 7 | SxSx = -2.78736112442398543e-01 9.41933653637062370e-16 8 | SySy = -2.02250943971991642e-01 -3.93820917008925646e-16 9 | -------------------------------------------------------------------------------- /test/data/output_RSVD/parameters.dat: -------------------------------------------------------------------------------- 1 | simple_num_step = [100] 2 | simple_tau = [0.01] 3 | simple_inverse_lambda_cutoff = 1e-12 4 | simple_gauge_fix = 0 5 | simple_gauge_maxiter = 100 6 | simple_gauge_convergence_epsilon = 0.01 7 | 8 | full_num_step = [1] 9 | full_inverse_projector_cutoff = 1e-12 10 | full_inverse_precision = 1e-12 11 | full_convergence_epsilon = 1e-06 12 | full_iteration_max = 100 13 | full_gauge_fix = true 14 | full_fastfullupdate = true 15 | 16 | ctm_dimension = 5 17 | ctm_inverse_projector_cutoff = 1e-12 18 | ctm_convergence_epsilon = 1e-06 19 | ctm_iteration_max = 100 20 | ctm_projector_corner = false 21 | use_rsvd = true 22 | rsvd_oversampling_factor = 2 23 | meanfield_env = false 24 | 25 | mode = ground state 26 | simple 27 | Lcor = 0 28 | seed = 11 29 | is_real = 0 30 | iszero_tol = 0 31 | measure = 1 32 | tensor_load_dir = 33 | tensor_save_dir = 34 | outdir = output_RSVD 35 | 36 | Lsub = [ 2 , 2 ] 37 | skew = 0 38 | 39 | start_datetime = 2023-12-27T10:08:59+09:00 40 | -------------------------------------------------------------------------------- /test/data/output_RSVD/time.dat: -------------------------------------------------------------------------------- 1 | time all = 2.33961 2 | time simple update = 0.870278 3 | time full update = 0.304127 4 | time environment = 0.930526 5 | time observable = 0.223058 6 | -------------------------------------------------------------------------------- /test/data/output_TE_TFI/parameters.dat: -------------------------------------------------------------------------------- 1 | simple_num_step = [100] 2 | simple_tau = [0.01] 3 | simple_inverse_lambda_cutoff = 1e-12 4 | simple_gauge_fix = 0 5 | simple_gauge_maxiter = 100 6 | simple_gauge_convergence_epsilon = 0.01 7 | 8 | full_num_step = [0] 9 | full_inverse_projector_cutoff = 1e-12 10 | full_inverse_precision = 1e-12 11 | full_convergence_epsilon = 1e-06 12 | full_iteration_max = 100 13 | full_gauge_fix = true 14 | full_fastfullupdate = true 15 | 16 | ctm_dimension = 10 17 | ctm_inverse_projector_cutoff = 1e-12 18 | ctm_convergence_epsilon = 1e-06 19 | ctm_iteration_max = 10 20 | ctm_projector_corner = true 21 | use_rsvd = false 22 | rsvd_oversampling_factor = 2 23 | meanfield_env = false 24 | 25 | mode = time evolution 26 | finite temperature 27 | simple 28 | Lcor = 0 29 | seed = 11 30 | is_real = 0 31 | iszero_tol = 0 32 | measure = 1 33 | tensor_load_dir = 34 | tensor_save_dir = 35 | outdir = output_TE_TFI 36 | 37 | Lsub = [ 2 , 2 ] 38 | skew = 0 39 | 40 | start_datetime = 2023-07-07T15:51:09+09:00 41 | -------------------------------------------------------------------------------- /test/data/simple_mode.toml: -------------------------------------------------------------------------------- 1 | [model] 2 | type = 'spin' 3 | S = 0.5 4 | J0x = 1.0 5 | J0y = 1.0 6 | J1y = 1.0 7 | J1z = 1.0 8 | "J0'x" = 0.5 9 | "J0'y" = 0.5 10 | "J1'y" = 0.5 11 | "J1'z" = 0.5 12 | "J0''x" = 0.25 13 | "J0''y" = 0.25 14 | "J1''y" = 0.25 15 | "J1''z" = 0.25 16 | hx = 0.1 17 | hy = 0.01 18 | hz = 1.0 19 | 20 | [lattice] 21 | type = 'square lattice' 22 | L = 2 23 | W = 2 24 | initial = 'ferro' 25 | virtual_dim = 3 26 | 27 | [parameter] 28 | [parameter.simple_update] 29 | tau = 0.01 30 | num_step = 100 31 | [parameter.full_update] 32 | tau = 0.01 33 | num_step = 1 34 | -------------------------------------------------------------------------------- /test/data/simple_mode_2.toml: -------------------------------------------------------------------------------- 1 | [model] 2 | type = 'spin' 3 | S = 0.5 4 | J0x = 1.0 5 | J0y = 1.0 6 | J1y = 1.0 7 | J1z = 1.0 8 | "J0'x" = 0.5 9 | "J0'y" = 0.5 10 | "J1'y" = 0.5 11 | "J1'z" = 0.5 12 | "J0''x" = 0.25 13 | "J0''y" = 0.25 14 | "J1''y" = 0.25 15 | "J1''z" = 0.25 16 | 17 | [lattice] 18 | type = 'triangular lattice' 19 | L = 3 20 | W = 3 21 | initial = 'random' 22 | virtual_dim = 3 23 | 24 | [parameter] 25 | [parameter.simple_update] 26 | tau = 0.01 27 | num_step = 100 28 | [parameter.full_update] 29 | tau = 0.01 30 | num_step = 1 31 | -------------------------------------------------------------------------------- /test/data/simple_update.dat: -------------------------------------------------------------------------------- 1 | 0.29730177875068 0 0.29730177875068 0 0 0.29730177875068 0 0.29730177875068 0.29730177875068 0 0.29730177875068 0 0 0.29730177875068 0 0.29730177875068 0.29730177875068 0 0.29730177875068 0 0 0.29730177875068 0 0.29730177875068 0.29730177875068 0 0.29730177875068 0 0 0.29730177875068 0 0.29730177875068 2 | 0.29730177875068 0 0.29730177875068 0 0.29730177875068 0 0.29730177875068 0 0.29730177875068 0 0.29730177875068 0 0.29730177875068 0 0.29730177875068 0 0 0.29730177875068 0 0.29730177875068 0 0.29730177875068 0 0.29730177875068 0 0.29730177875068 0 0.29730177875068 0 0.29730177875068 0 0.29730177875068 3 | 0.840896415253715 0.840896415253715 4 | -------------------------------------------------------------------------------- /test/data/std_mode_multi.toml: -------------------------------------------------------------------------------- 1 | [observable] 2 | 3 | [[observable.multisite]] 4 | name = "multisite" 5 | group = 0 6 | dim= [2, 2, 2] 7 | multisites = """ 8 | 0 1 0 0 1 9 | """ 10 | ops = [0, 0, 0] 11 | -------------------------------------------------------------------------------- /tool/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | foreach(name tenes_simple tenes_std) 2 | add_custom_target(${name} ALL 3 | COMMAND echo '\#!${TENES_PYTHON_EXECUTABLE}' > ${CMAKE_CURRENT_BINARY_DIR}/${name} 4 | COMMAND cat ${CMAKE_CURRENT_SOURCE_DIR}/${name}.py >> ${CMAKE_CURRENT_BINARY_DIR}/${name} 5 | COMMAND chmod +x ${CMAKE_CURRENT_BINARY_DIR}/${name} 6 | ) 7 | install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${name} DESTINATION bin) 8 | endforeach() 9 | -------------------------------------------------------------------------------- /tool/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.black] 2 | line-length = 88 3 | --------------------------------------------------------------------------------