List of functions: Difference between revisions

From QETLAB
Jump to navigation Jump to search
Added some new functions
Line 49: Line 49:
* <tt>[[WernerState]]</tt>: Produces a [[Werner state]]
* <tt>[[WernerState]]</tt>: Produces a [[Werner state]]


==Special Superoperators==
==Superoperators==
* <tt>[[ApplyMap]]</tt>: Applies a [[superoperator]] to an operator
* <tt>[[ChoiMatrix]]</tt>: Computes the [[Choi matrix]] of a superoperator
* <tt>[[PartialMap]]</tt>: Applies a superoperator to a subsystem of an operator
* <tt>[[PartialTrace]]</tt>: Computes the [[partial trace]] of a matrix
* <tt>[[PartialTrace]]</tt>: Computes the [[partial trace]] of a matrix
* <tt>[[PartialTranspose]]</tt>: Computes the [[partial transpose]] of a matrix
* <tt>[[PartialTranspose]]</tt>: Computes the [[partial transpose]] of a matrix
Line 62: Line 65:
* <tt>[[iden]]</tt>: Computes a sparse or full identity matrix
* <tt>[[iden]]</tt>: Computes a sparse or full identity matrix
* <tt>[[kron]]</tt>: A faster version of MATLAB's [http://www.mathworks.com/help/matlab/ref/kron.html kron] function
* <tt>[[kron]]</tt>: A faster version of MATLAB's [http://www.mathworks.com/help/matlab/ref/kron.html kron] function
* <tt>[[normalize_cols]]</tt>: Scales the columns of a matrix to have norm 1
* <tt>[[opt_args]]</tt>: Handles optional input arguments for functions
* <tt>[[opt_args]]</tt>: Handles optional input arguments for functions
* <tt>[[opt_disp]]</tt>: Display a message to the user (sometimes)
* <tt>[[opt_disp]]</tt>: Display a message to the user (sometimes)

Revision as of 17:16, 2 January 2013

This is a list of functions provided by QETLAB, arranged by category. If you would prefer an alphabetical list of all functions please see this page. Brief descriptions of these functions are provided here, as well as links to their documentation pages, where full details and numerous examples can be found.

Basic Operations

Entanglement and Separability

Norms

Permutations and Symmetry of Subsystems

Random Things

Special States, Vectors, and Operators

Superoperators

Miscellaneous

Helper Functions

  • iden: Computes a sparse or full identity matrix
  • kron: A faster version of MATLAB's kron function
  • normalize_cols: Scales the columns of a matrix to have norm 1
  • opt_args: Handles optional input arguments for functions
  • opt_disp: Display a message to the user (sometimes)
  • perm_inv: Computes the inverse of a permutation
  • perm_sign: Computes the sign of a permutation
  • spnull: Returns a sparse orthonormal basis for the null space
  • sporth: Returns a sparse orthonormal basis for the range