-
Notifications
You must be signed in to change notification settings - Fork 46
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
Can the category VecG be supported? #227
Comments
Oh writing
will be good. |
Thanks for reporting this, this actually looks like a small bug in TensorKitSectors, where our automatic fallback is failing. I'll look into fixing that asap. [edit]: since |
A related question: the current tensor product of Graded spaces is written by my own. Directly using the tensor product without definition will report an error:
And my way of realizing the tensor product may not in a proper way, since the correct output should be a ProductSpace. |
I might be mistaken, but could it be that you are defining |
Thanks for answering.
as in documentation, then there is a error
Edit: OK writting
would be good. Edit:
|
I isolated the bug function and deleted the irrelevant lines, it seems that
|
Hi, please forgive me for my many naive questions. However, one can still perform the plannar permutation for VecD8 tensors, that is, it is allowed to write |
Yes, there is the |
In function tsvd, can I simultaneously give the truncation dimension and truncation error, such that the truncation is by the minimum of these two? |
yes, these truncation schemes support the following syntax: |
For the convenience of future generalization, I am trying to use the
It reports error
But it seems to be a plannar diagram. |
Your drawing does not correspond to the network. You have to draw a tensor
|
Thanks for your answer. I am still confused, in what case will the duality be automatically applied? Or do I need to apply the
Note that the T has trivial domain and T' has trivial codomain. So it should be a planar graph. Perhaps when domain or codomain are empty, the automatic check will treat it as the empty domain rather than codomain? |
The @planar TT[ld lu ru rd] := T[ld u rd] * T'[(); lu u ru] Note that it can sometimes be more convenient to write things in terms of @planar TT[ld lu ru rd] := T[ld u rd] * conj(T[lu u ru]) |
Thanks for your answer.
I am trying to perform the tensor trace for the planar tensor. The
Edit: I have changed the p and q to (p1,p2) and (q1,q2). Then it is correct. |
Thanks for reporting that, this is definitely a bug. |
Does there exist a combiner tensor to combining several tensor legs into a single one? |
Not yet; but you can easily do this yourself with
This will create a specific |
I am wondering for the VecG category, how can I use
Thanks Zhengyuan Yue for answering. Writing
would be fine. |
Or |
Hi I noticed that for a fusion category without braiding structure, doing |
If you just use |
Hi thanks for your guys' good package.
I am writing a code, whose tensors are morphisms in VecG, the category of G-graded vector spaces. It is not a braided category so there is only the fusion structure.
The following is the code to define the VecD8 category structure following your documentation.
It reports error:
I am wondering whether it can be supported with only a small modification? I am also writing a code, but I am only trying to tackle VecG case.
The text was updated successfully, but these errors were encountered: