Difference between revisions of "List of functions"

From QETLAB
Jump to navigation Jump to search
Line 52: Line 52:
 
* <tt>[[ApplyMap]]</tt>: Applies a [[superoperator]] to an operator
 
* <tt>[[ApplyMap]]</tt>: Applies a [[superoperator]] to an operator
 
* <tt>[[ChoiMatrix]]</tt>: Computes the [[Choi matrix]] of a superoperator
 
* <tt>[[ChoiMatrix]]</tt>: Computes the [[Choi matrix]] of a superoperator
 +
* <tt>[[ComplementaryMap]]</tt>: Computes the [[complementary map]] of a superoperator
 +
* <tt>[[DualMap]]</tt>: Computes the [[dual map|dual]] of a superoperator in the [[Hilbert-Schmidt inner product]]
 
* <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>[[IsHermPreserving]]</tt>: Determines whether or not a superoperator is [[Hermiticity preserving]]

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