Difference between revisions of "Superop.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Update function See also links and function index membership)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:superop.m}} __NOTOC__
 
{{DISPLAYTITLE:superop.m}} __NOTOC__
−
 
 
Sided product superoperator in the spherical tensor basis set. Returns superoperators corresponding to right or left multiplication of a density matrix by a user-specified operator.
 
Sided product superoperator in the spherical tensor basis set. Returns superoperators corresponding to right or left multiplication of a density matrix by a user-specified operator.
  
 
==Syntax==
 
==Syntax==
  
−
A=superop(spin_system,opspec,side)
+
                      A=superop(spin_system,opspec,side)
  
−
==Arguments==
+
==Parameters==
  
−
opspec - Spinach operator specification described in Sections 2.1
+
        opspec - Spinach operator specification described in Sections 2.1
 
                   and 3.3 of the following paper:
 
                   and 3.3 of the following paper:
 
                         http://dx.doi.org/10.1016/j.jmr.2010.11.008
 
                         http://dx.doi.org/10.1016/j.jmr.2010.11.008
Line 19: Line 18:
 
==Outputs==
 
==Outputs==
  
−
A - a three-column array of row indices (first column),
+
              A - a three-column array of row indices (first column),
−
              column indices (second column) and values (third column).
+
                  column indices (second column) and values (third column).
−
 
 
−
Note: this is a very general function to which direct calls are not
 
−
      usually required - please use the (much friendlier) operator()
 
−
      function.
 
−
 
 
−
Note: the superoperator is returned in XYZ sparse format, which is
 
−
      different from Matlab's CSC format.
 
−
 
 
−
ilya.kuprov@weizmann.ac.il
 
−
hannah.hogben@chem.ox.ac.uk
 
  
 
==Examples==
 
==Examples==
−
 
 
See examples in the Spinach distribution relevant to this function.
 
See examples in the Spinach distribution relevant to this function.
  
 
==Notes==
 
==Notes==
 +
This is a very general function to which direct calls are not usually required; use the friendlier [[operator.m]] function where possible.
  
−
This page was generated from the function header in the Spinach repository.
+
The superoperator is returned in XYZ sparse format, which is different from Matlab's CSC sparse format.
  
 
==See also==
 
==See also==
−
 
+
[[oper2ist.m]], [[oper2bm.m]], [[sin_tran.m]], [[partner_state.m]], [[operator.m]], [[add_spins.m]], [[cg_fast.m]], [[clebsch_gordan.m]], [[comm.m]], [[hilb2liouv.m]], [[irr_sph_ten.m]], [[ist_product_table.m]], [[lorentz.m]], [[mat2sphten.m]], [[multipack.m]], [[pauli.m]], [[perm_group.m]], [[rocomm.m]], [[rwalk.m]], [[sle_operators.m]], [[sorensen.m]], [[spher_harmon.m]], [[sphten2mat.m]], [[stev2sph.m]], [[stevens.m]], [[twospinist.m]], [[wigner.m]], [[wigner_3j.m]], [[wigner_6j.m]], [[Kernel_functions]], [[Kernel_utilities]]
−
* [[oper2ist.m]]
 
−
* [[oper2bm.m]]
 
−
* [[sin_tran.m]]
 
−
* [[partner_state.m]]
 
−
* [[Kernel_functions]]
 
−
* [[Kernel_utilities]]
 
−
 
 
−
 
 
  
 
''Version 2.11, authors: [[Ilya Kuprov]], Hannah Hogben''
 
''Version 2.11, authors: [[Ilya Kuprov]], Hannah Hogben''

Latest revision as of 18:42, 6 June 2026

Sided product superoperator in the spherical tensor basis set. Returns superoperators corresponding to right or left multiplication of a density matrix by a user-specified operator.

Syntax

                     A=superop(spin_system,opspec,side)

Parameters

        opspec - Spinach operator specification described in Sections 2.1
                 and 3.3 of the following paper:
                        http://dx.doi.org/10.1016/j.jmr.2010.11.008
        side   - 'left' or 'right' causes the function to return a product
                 superoperator corresponding to a product from that side;
                 'comm' or 'acomm' results in commutation and anticommuta-
                 tion superoperator respectively.

Outputs

             A - a three-column array of row indices (first column),
                 column indices (second column) and values (third column).

Examples

See examples in the Spinach distribution relevant to this function.

Notes

This is a very general function to which direct calls are not usually required; use the friendlier operator.m function where possible.

The superoperator is returned in XYZ sparse format, which is different from Matlab's CSC sparse format.

See also

oper2ist.m, oper2bm.m, sin_tran.m, partner_state.m, operator.m, add_spins.m, cg_fast.m, clebsch_gordan.m, comm.m, hilb2liouv.m, irr_sph_ten.m, ist_product_table.m, lorentz.m, mat2sphten.m, multipack.m, pauli.m, perm_group.m, rocomm.m, rwalk.m, sle_operators.m, sorensen.m, spher_harmon.m, sphten2mat.m, stev2sph.m, stevens.m, twospinist.m, wigner.m, wigner_3j.m, wigner_6j.m, Kernel_functions, Kernel_utilities

Version 2.11, authors: Ilya Kuprov, Hannah Hogben