Loading [MathJax]/jax/output/CommonHTML/jax.js

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
documentation:language_reference:functions:rotate [2019/08/07 10:26] Simon Heinzedocumentation: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:
  
 ### ###
-//Rotate(ψ, R)// or //Rotate(O, R)// rotates the basis of a wave-function or operator.+//Rotate(M, R)//, //Rotate(ψ, R)////Rotate($O,R)//or//Rotate(TB,R$)// rotates the basis of a quadratic matrix, a wave-function, an operator, or a tight-binding object (passive transformation). For a matrix it thus returns RMRT, where R denotes the complex conjugate and RT the transpose of the rotation matrix R
 + 
 +R needs to be a matrix of dimension N1×N2, where N2 equals the number of rows of M, or NFermion+NBoson of ψ, 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. 
 + 
 +RRT=1 is not checked by Quanty, to allow scaling rotations. 
 + 
 ### ###
  
 ===== Input ===== ===== Input =====
  
-  * psi or Opp Wavefunction or operator +  * M, $\psi,O$ or TB a quadratic (complex or real valued) matrix, a wave-function, an operator, or a tight-binding object. 
-  * rotmat matrix of dimension NFermion+NBoson (table of tables) or real or complex numbers+  * R a complex or real valued generalised rotation matrix.
  
 ===== Output ===== ===== Output =====
  
-  * psi or Opp Wavefunction or operator+  * M, $\psi^\prime,O^\prime$ or TB the rotated quadratic matrix, wave-function, operator, or tight-binding object.
  
 ===== Example ===== ===== Example =====
Print/export