AddSpin

Matrix.AddSpin($M$) takes a Matrix $M$ that acts on a space with no spin included and returns the matrix doubled in size, where every former entry now splits in spin-up and spin-down. This behaviour is equivalent to calling Matrix.Enlarge($M$,2).

Example

An example will follow one day.

Input

Example.Quanty
-- some example code

Result

text produced as output

Table of contents

Print/export