Difference between revisions of "List of functions"

From QETLAB
Jump to navigation Jump to search
Line 53: Line 53:
 
* <tt>[[ChoiMatrix]]</tt>: Computes the [[Choi matrix]] of a superoperator
 
* <tt>[[ChoiMatrix]]</tt>: Computes the [[Choi matrix]] of a superoperator
 
* <tt>[[IsCP]]</tt>: Determines whether or not a superoperator is [[completely positive]]
 
* <tt>[[IsCP]]</tt>: Determines whether or not a superoperator is [[completely positive]]
 +
* <tt>[[IsHermPreserving]]</tt>: Determines whether or not a superoperator is [[Hermiticity preserving]]
 
* <tt>[[PartialMap]]</tt>: Applies a superoperator to a subsystem of an operator
 
* <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

Revision as of 16:17, 21 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