Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
documentation:language_reference:functions:rotate [2019/08/07 10:26] – Simon Heinze | documentation:language_reference:functions:rotate [2019/08/07 10:51] (current) – Major Update, including the mentioning of the rotation convention Simon Heinze | ||
---|---|---|---|
Line 2: | Line 2: | ||
### | ### | ||
- | // | + | // |
+ | |||
+ | $R$ needs to be a matrix of dimension $N_1\times N_2$, where $N_2$ equals the number of rows of $M$, or $N_{Fermion}+N_{Boson}$ of $\psi$, $O$ or $TB$. The rotation matrix $R$ is not required to be quadratic, it is therefore possible to use rotations to change the number of dimensions of the Hilbert-space. | ||
+ | |||
+ | $R^\ast \cdot R^T = 1$ is not checked by Quanty, to allow scaling rotations. | ||
+ | |||
### | ### | ||
===== Input ===== | ===== Input ===== | ||
- | * psi or Opp : Wavefunction | + | * $M$, $\psi$, $O$ or $TB$ : a quadratic (complex |
- | * rotmat | + | * $R$ : a complex |
===== Output ===== | ===== Output ===== | ||
- | * psi or Opp : Wavefunction or operator | + | * $M^\prime$, $\psi^\prime$, $O^\prime$ |
===== Example ===== | ===== Example ===== |