Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

support for non-vector-space (aux) modes in tensorials #243

Open
wants to merge 91 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 57 commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
14accf2
Separate Tensor and TensorCanonicalizer in different headers
Krzmbrzl Sep 8, 2023
f7d1fa0
Introduced Tensor type trait
Krzmbrzl Sep 19, 2023
ec222f1
Introduce auxiliary indices
Krzmbrzl Sep 20, 2023
b021d1f
Make comp impl more readable
Krzmbrzl Jan 25, 2024
e6d8603
tensor canonicalizer fix for aux indices
Krzmbrzl Jan 26, 2024
9f02e7d
Add Wick benchmark
Krzmbrzl Jan 26, 2024
ae9ac02
Generalize tensor canonicalization to work with aux indices
Krzmbrzl Jan 29, 2024
4fb866a
Try to adapt wick impl to new graph repr
Krzmbrzl Jan 29, 2024
3d1f50f
Revert "Try to adapt wick impl to new graph repr"
Krzmbrzl Jan 29, 2024
975f8a8
Use old graph for Wick
Krzmbrzl Feb 1, 2024
4bf174a
Fix canonicalization issues
Krzmbrzl Feb 1, 2024
8b2ff3c
Fix bubble_sort ignoring provided comp for zipped ranges
Krzmbrzl Feb 2, 2024
3c5270e
Support comparators on zipped elements in bubble_sort
Krzmbrzl Feb 2, 2024
fb1c470
More canonicalization
Krzmbrzl Feb 2, 2024
6c2ec80
Adapt test cases to use new canonical form
Krzmbrzl Feb 2, 2024
cd14c64
Generalize more code parts to use indices() instead of braket()
Krzmbrzl Feb 5, 2024
f0cd5bd
Fix wrong index label ordering
Krzmbrzl Feb 5, 2024
7dcf11b
Fix typo
Krzmbrzl Feb 5, 2024
78fe054
Account for aux indices in Tensor::static_less_than
Krzmbrzl Feb 5, 2024
3f56d95
Make TensorCanonicalizer expose two comparator objects
Krzmbrzl Feb 5, 2024
1342179
Provide explicit to_wstring(Symmetry) function
Krzmbrzl Feb 5, 2024
4579727
Get rid of duplication in testing of Sum equality
Krzmbrzl Feb 6, 2024
c43964e
Ensure failing eval node tests print something useful
Krzmbrzl Feb 6, 2024
7c49648
Introduce new logging var
Krzmbrzl Feb 6, 2024
8181b2b
Make aux index symmetry treatment consistent
Krzmbrzl Feb 6, 2024
2642ade
Adapt formatting & minor tweaks
Krzmbrzl Feb 8, 2024
897eeaa
Improve benchmark integration in build setup
Krzmbrzl Feb 8, 2024
45eeeb9
Make TensorNetworks constructible from single tensors
Krzmbrzl Feb 9, 2024
c81071c
Fix thousands seps in dot graph colors
Krzmbrzl Feb 9, 2024
a316a41
Use index label as vertex label (instead TeX)
Krzmbrzl Feb 9, 2024
2cfba37
Add executable to generate tensor network graphs
Krzmbrzl Feb 9, 2024
974f3bc
Add options to TN graph creator
Krzmbrzl Feb 12, 2024
5403c14
Format TN creator source code
Krzmbrzl Feb 12, 2024
1b591fa
Merge remote-tracking branch 'upstream/master' into general-tensor-in…
Krzmbrzl May 16, 2024
61b8347
Merge remote-tracking branch 'upstream/master' into general-tensor-in…
Krzmbrzl Jun 25, 2024
3850598
Make tensor_network_graphs propgram not fail tests
Krzmbrzl Jul 4, 2024
a6b3c5a
Merge remote-tracking branch 'upstream/master' into general-tensor-in…
Krzmbrzl Jul 4, 2024
cb19a4f
Formatting
Krzmbrzl Jul 4, 2024
d71f133
Merge remote-tracking branch 'upstream/master' into general-tensor-in…
Krzmbrzl Jul 5, 2024
dd88460
tensor dox++
evaleev Nov 17, 2024
4f3cd68
auxiliary -> aux
evaleev Nov 17, 2024
6af00a6
merged master into aux-indices
evaleev Nov 18, 2024
3dccf51
TN::Edge: assert vertices are nonnull in vertex accessors
evaleev Nov 18, 2024
c49da4a
temporary revert of TensorNetwork to TensorNetworkV2 + restoration of…
evaleev Nov 18, 2024
7e9ca6e
typo
evaleev Nov 19, 2024
5b2fe76
DefaultTensorCanonicalizer::apply: early exit if 1-body 0-aux operato…
evaleev Nov 19, 2024
ba832da
TensorBlockIndexComparer uses Index::operator< which is the right way…
evaleev Nov 19, 2024
8bfe40e
test_tensor_network.cpp: bliss graph ref output updated
evaleev Nov 19, 2024
4a95438
amend tests for ba832da3054fc181fee88d7c45f627a5ea9f1ae7
evaleev Nov 19, 2024
2e8c909
initial support for aux indices in old TensorNetwork
evaleev Nov 19, 2024
1f80f51
amend test_spin.cpp for changes in canonicalization due to 2e8c909078…
evaleev Nov 19, 2024
5e13a2c
tensor_network_graphs can use V1 and V2 TensorNetworks
evaleev Nov 19, 2024
9b8acfe
biproduct -> byproduct
evaleev Nov 19, 2024
7a4a2ad
to_latex(Tensor): auxiliary indices typeset in square brackets, by an…
evaleev Nov 19, 2024
805bc33
[unit] test_canonicalize.cpp: validate canonicalization of Tensors wi…
evaleev Nov 19, 2024
78b00a0
to_latex(Product) replace -1 prefactor by a minus sign
evaleev Nov 19, 2024
f18471c
[unit] test TensorNetwork with aux indices
evaleev Nov 19, 2024
747216e
Make output of Index::full_label() a bit more readable
Krzmbrzl Dec 17, 2024
73a54e6
Use full label as vertex label
Krzmbrzl Dec 17, 2024
f6c9253
Connect protoindex bundle vertices to the vertices of underlying indices
Krzmbrzl Dec 17, 2024
299d0cb
Allow whitespace within proto-index list
Krzmbrzl Dec 17, 2024
c1994d4
Make protobundle vertex labels a little more readable
Krzmbrzl Dec 17, 2024
e9acf0c
Decouple label annotations in eval exprs from full label representation
Krzmbrzl Dec 18, 2024
d9cedfd
Renamed VertexType::BraKet to VertexType::Particle as that fits futur…
Krzmbrzl Dec 18, 2024
0f51f6a
Create dedicated VertexPainter that ensures no color clashes can occur
Krzmbrzl Dec 18, 2024
ae76ae3
Make color in dot graphs more prominent (easier to differentiate colors)
Krzmbrzl Dec 18, 2024
e76ebb3
Functions for numeric comparison on `Index` suffix.
bimalgaudel Jan 9, 2025
8bc2046
Functions for CSV-transformation and density-fitting of 4-center 'g'.
bimalgaudel Jan 9, 2025
b818110
Add option to optimize function to control whether to reorder summand…
bimalgaudel Jan 10, 2025
a62e0f8
Add function to obtain the tensor-of-tensor indices as outer and inne…
bimalgaudel Jan 13, 2025
a5fba28
Consider proto-indices and aux indices in single-term optimization.
bimalgaudel Jan 13, 2025
befd214
Add definition for missing parse overload
Krzmbrzl Jan 13, 2025
bffc95a
Add Catch2 support for SeQuant objects
Krzmbrzl Jan 14, 2025
656616f
Merge remote-tracking branch 'upstream/master' into aux-indices
Krzmbrzl Jan 14, 2025
ff16b68
Fix formatting
Krzmbrzl Jan 14, 2025
8512cc7
Make ExprPtr hash as pointed-to Expr
Krzmbrzl Jan 15, 2025
9739183
Improvements for Catch2 SeQuant support
Krzmbrzl Jan 15, 2025
45ba1d8
Fix EvalNode tests
Krzmbrzl Jan 15, 2025
60d9609
Remove now redundant test utils header
Krzmbrzl Jan 15, 2025
de0d230
Add catch2_sequant.hpp to CMakeLists.txt
Krzmbrzl Jan 15, 2025
f87ebc7
Use new antisymm. tensor LaTeX repr in test
Krzmbrzl Jan 15, 2025
77944ed
Properly parse conjugate-complex variables
Krzmbrzl Jan 16, 2025
e68607c
Implement SimplifiesToMatcher
Krzmbrzl Jan 16, 2025
d66f6a0
Use SimplifiesTo matcher in canonicalization tests
Krzmbrzl Jan 16, 2025
3c596c2
Make use of to_string utility function
Krzmbrzl Jan 16, 2025
0931c3d
Extract VertexPainter implementation
Krzmbrzl Jan 16, 2025
2dfdc85
Make old graph repr use colors of new one
Krzmbrzl Jan 16, 2025
094aae0
Ops count for evaluations involving expressions with non-empty proto-…
bimalgaudel Jan 16, 2025
a274e52
More use of SimplifiesTo matcher
Krzmbrzl Jan 16, 2025
91f5a5c
Parse: support full symmetry specification
Krzmbrzl Jan 16, 2025
12a1df2
Avoid forbidden symmetry combination in tests
Krzmbrzl Jan 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
-DSEQUANT_USE_SYSTEM_BOOST_HASH=OFF
-DCMAKE_CXX_STANDARD=20
-DCMAKE_CXX_EXTENSIONS=OFF
-DSEQUANT_BUILD_BENCHMARKS=ON
steps:
- uses: actions/checkout@v4

Expand Down
10 changes: 9 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ add_library(SeQuant-bliss
set(SeQuant_src
${PROJECT_BINARY_DIR}/SeQuant/version.hpp
SeQuant/version.cpp
SeQuant/core/abstract_tensor.cpp
SeQuant/core/abstract_tensor.hpp
SeQuant/core/algorithm.hpp
SeQuant/core/any.hpp
Expand Down Expand Up @@ -239,8 +238,12 @@ set(SeQuant_src
SeQuant/core/tag.hpp
SeQuant/core/tensor.cpp
SeQuant/core/tensor.hpp
SeQuant/core/tensor_canonicalizer.cpp
SeQuant/core/tensor_canonicalizer.hpp
SeQuant/core/tensor_network.cpp
SeQuant/core/tensor_network.hpp
SeQuant/core/tensor_network_v2.cpp
SeQuant/core/tensor_network_v2.hpp
SeQuant/core/timer.hpp
SeQuant/core/utility/context.hpp
SeQuant/core/utility/indices.hpp
Expand Down Expand Up @@ -559,6 +562,11 @@ if (BUILD_TESTING)
target_link_libraries(${example${i}} SeQuant)
endforeach ()

set(example12 "tensor_network_graphs")
add_executable(${example12} EXCLUDE_FROM_ALL
examples/${example12}/${example12}.cpp)
target_link_libraries(${example12} SeQuant)

# add tests for running examples
foreach (i RANGE ${lastexample})
if (TARGET ${example${i}})
Expand Down
117 changes: 0 additions & 117 deletions SeQuant/core/abstract_tensor.cpp

This file was deleted.

Loading
Loading