Difference between revisions of "Ttclass/ranks.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Sync syntax/arguments/outputs with current Spinach source) |
||
| Line 1: | Line 1: | ||
Returns the bond dimensions of a tensor train. Syntax: | Returns the bond dimensions of a tensor train. Syntax: | ||
| + | |||
Revision as of 15:12, 5 April 2026
Returns the bond dimensions of a tensor train. Syntax:
ttranks=ranks(ttrain)
The output is (ncores+1) by (ntrains) array. The first and the last elements for each train are 1.