Skip to content

[ENHANCEMENT] Common FusionStyle in matricized contract #68

@mtfishman

Description

@mtfishman

In matricized contract, I think we should determine a common FusionStyle for the arrays involved in the operation and then pass that along in the matricize and unmatricize calls:

a_dest_mat = matricize(a_dest, biperm_dest)
a1_mat = matricize(a1, biperm1)
a2_mat = matricize(a2, biperm2)
mul!(a_dest_mat, a1_mat, a2_mat, α, β)
unmatricize!(a_dest, a_dest_mat, biperm_dest)
. Matricization has a potentially arbitrary permutation or basis, and using a common FusionStyle would help with making sure the matriciziation and unmatrcization is done in a consistent way so the bases are compatible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions