permute for anyonic tensors when it can be done without braiding#45
permute for anyonic tensors when it can be done without braiding#45mhauru wants to merge 5 commits intoQuantumKitHub:masterfrom
permute for anyonic tensors when it can be done without braiding#45Conversation
|
Some thoughts:
|
|
I agree with this being separate from For |
If you start reading about general categories, then yes there are separate notions of left and right duality, and they come with left and right transposes (adjoint mates), corresponding to clockwise or anticlockwise rotations. And they can be distinct. This then also requires that you introduce separate left and right dual objects associated with e.g. the simple objects. In particular, the left dual of the right dual is the object itself (or could at least be identified with it, i.e. it's isomorphic), but e.g. the double left dual could be a distinct (non-isomorphic) object. However, I don't know of any practical example where this is true (at least finite-dimensional, technically, I think there are issues with the double dual of an infinite dimensional Hilbert space not being the same nor isomorphic to the original Hilbert space). So I didn't want to go to that level of generality. A pivotal structure in a category is what provides an isomorphism between left and right dual objects. But it's a functor, meaning that those isomorphisms also identify left and right transposes of morphisms. Now I assume that all those isomorphisms really mean, being identical. So our minimal assumption is that categories are pivotal, and I guess also spherical, meaning that we do not distinguish between left and right traces. See (https://jutho.github.io/TensorKit.jl/latest/man/categories/#ss_dual) for more. |
|
Closing, since master now has it's own implementation of this functionality. |
The changes we discussed. Probably not ready for merging, you may want to restructure things. Works for the cases I've needed so far though.
Based on #44, so includes all those commits as well.