pdft.manifolds.group_by_manifold

pdft.manifolds.group_by_manifold#

pdft.manifolds.group_by_manifold(tensors)[source]#

{manifold: [indices]} bucket map.

Mirror of upstream src/manifolds.jl:113-119, with size-aware bucketing (U(2) and U(4) go to separate buckets because UnitaryManifold has a d field that participates in equality).

Parameters:

tensors (list[Array])

Return type:

dict