[ITensors] Better prime and tag defaults for polar and qr #525
Labels
api
Issues related to the interface
breaking
This would require a breaking change
bug
Something isn't working
decompositions
Issues related to tensor decompositions.
Milestone
The functions
polar
andqr
don't have great tag and prime defaults, for example:gives:
and
gives:
For
polar
, the tricky part is that the new Index must be made so that it doesn't clash with any of the existing indices. However, in general it has the same space as the right set of indices, so right now it is set to have the same ID. It may be too difficult in general to ensure it has a unique set of indices, so it may be best to give it a unique ID (we could give it a special set of tags, but I am hesitant to do that since if you add on tags, an index may run out of tag slots).The text was updated successfully, but these errors were encountered: