Difference between revisions of "Ttclass/rand.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Normalise remaining wiki page to current Spinach source header) |
||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:ttclass/rand.m}} __NOTOC__ | {{DISPLAYTITLE:ttclass/rand.m}} __NOTOC__ | ||
| − | Generates tensor train matrix with random | + | Generates a tensor train representation of a matrix with random |
| − | topology at the tensor train supplied, and specified | + | tensor train cores, same physical index topology at the tensor |
| + | train supplied, and user-specified bond ranks. | ||
| + | ==Syntax== | ||
| − | + | tt=rand(tt,ttrank) | |
==Arguments== | ==Arguments== | ||
| − | tt - a tensor train object | + | tt - a tensor train object |
ttrank - bond rank, a positive integer | ttrank - bond rank, a positive integer | ||
| Line 15: | Line 17: | ||
==Outputs== | ==Outputs== | ||
| − | tt - a tensor train object | + | tt - a tensor train object |
d.savostyanov@soton.ac.uk | d.savostyanov@soton.ac.uk | ||
ilya.kuprov@weizmann.ac.il | ilya.kuprov@weizmann.ac.il | ||
Revision as of 15:13, 5 April 2026
Generates a tensor train representation of a matrix with random
tensor train cores, same physical index topology at the tensor
train supplied, and user-specified bond ranks.
Syntax
tt=rand(tt,ttrank)
Arguments
tt - a tensor train object
ttrank - bond rank, a positive integer
Outputs
tt - a tensor train object
d.savostyanov@soton.ac.uk ilya.kuprov@weizmann.ac.il