Difference between revisions of "List of functions"

From QETLAB
Jump to navigation Jump to search
m
Line 1: Line 1:
 
This is a '''list of functions''' provided by [[QETLAB]], arranged by category. If you would prefer an alphabetical list of all functions please see [[:Category:Functions|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.
 
This is a '''list of functions''' provided by [[QETLAB]], arranged by category. If you would prefer an alphabetical list of all functions please see [[:Category:Functions|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==
+
==Basic operations==
 
* <tt>[[IsPSD]]</tt>: Determines whether or not a matrix is [[positive semidefinite]]
 
* <tt>[[IsPSD]]</tt>: Determines whether or not a matrix is [[positive semidefinite]]
 
* <tt>[[Tensor]]</tt>: [[Kronecker product|Kronecker tensor product]] of two or more matrices
 
* <tt>[[Tensor]]</tt>: [[Kronecker product|Kronecker tensor product]] of two or more matrices
 
* <tt>[[TensorSum]]</tt>: Computes a vector or operator from its tensor decomposition
 
* <tt>[[TensorSum]]</tt>: Computes a vector or operator from its tensor decomposition
  
==Entanglement and Separability==
+
==Entanglement and separability==
 
* <tt>[[FilterNormalForm]]</tt>: Computes the [[filter normal form]] of an operator
 
* <tt>[[FilterNormalForm]]</tt>: Computes the [[filter normal form]] of an operator
 
* <tt>[[IsEntanglingGate]]</tt>: Determines if a [[unitary]] is an [[entangling gate]]
 
* <tt>[[IsEntanglingGate]]</tt>: Determines if a [[unitary]] is an [[entangling gate]]
Line 32: Line 32:
 
* <tt>[[TraceNorm]]</tt>: Computes the [[trace norm]] of an operator
 
* <tt>[[TraceNorm]]</tt>: Computes the [[trace norm]] of an operator
  
==Permutations and Symmetry of Subsystems==
+
==Permutations and symmetry of subsystems==
 
* <tt>[[AntisymmetricProjection]]</tt>: Produces the [[projection]] onto the [[antisymmetric subspace]]
 
* <tt>[[AntisymmetricProjection]]</tt>: Produces the [[projection]] onto the [[antisymmetric subspace]]
 
* <tt>[[PermutationOperator]]</tt>: Produces a [[unitary operator]] that permutes subsystems
 
* <tt>[[PermutationOperator]]</tt>: Produces a [[unitary operator]] that permutes subsystems
Line 40: Line 40:
 
* <tt>[[SymmetricProjection]]</tt>: Produces the projection onto the symmetric subspace
 
* <tt>[[SymmetricProjection]]</tt>: Produces the projection onto the symmetric subspace
  
==Random Things==
+
==Random things==
 
* <tt>[[RandomDensityMatrix]]</tt>: Generates a random [[density matrix]]
 
* <tt>[[RandomDensityMatrix]]</tt>: Generates a random [[density matrix]]
 
* <tt>[[RandomStateVector]]</tt>: Generates a random pure state vector
 
* <tt>[[RandomStateVector]]</tt>: Generates a random pure state vector
Line 46: Line 46:
 
* <tt>[[RandomUnitary]]</tt>: Generates a random [[unitary]] or [[orthogonal matrix]]
 
* <tt>[[RandomUnitary]]</tt>: Generates a random [[unitary]] or [[orthogonal matrix]]
  
==Special States, Vectors, and Operators==
+
==Special states, vectors, and operators==
 
* <tt>[[ChessboardState]]</tt>: Produces a chessboard state
 
* <tt>[[ChessboardState]]</tt>: Produces a chessboard state
 
* <tt>[[FourierMatrix]]</tt>: Generates the [[unitary matrix]] that implements the [[quantum Fourier transform]]
 
* <tt>[[FourierMatrix]]</tt>: Generates the [[unitary matrix]] that implements the [[quantum Fourier transform]]
Line 72: Line 72:
 
* <tt>[[Twirl]]</tt>: Twirls a bipartite or multipartite operator
 
* <tt>[[Twirl]]</tt>: Twirls a bipartite or multipartite operator
  
==Unextendible Product Bases==
+
==Unextendible product bases==
 
* <tt>[[IsUPB]]</tt>: Determines whether or not a given set of vectors form an [[unextendible product basis]]
 
* <tt>[[IsUPB]]</tt>: Determines whether or not a given set of vectors form an [[unextendible product basis]]
 
* <tt>[[MinUPBSize]]</tt>: Gives the minimum cardinality of an [[unextendible product basis]] in given dimensions
 
* <tt>[[MinUPBSize]]</tt>: Gives the minimum cardinality of an [[unextendible product basis]] in given dimensions
Line 84: Line 84:
 
* <tt>[[Purity]]</tt>: Computes the purity of a quantum state
 
* <tt>[[Purity]]</tt>: Computes the purity of a quantum state
  
==Helper Functions==
+
==Helper functions==
 
* <tt>[[iden]]</tt>: Computes a sparse or full identity matrix
 
* <tt>[[iden]]</tt>: Computes a sparse or full identity matrix
 
* <tt>[[jacobi_poly]]</tt>: Computes the coefficients of Jacobi polynomials
 
* <tt>[[jacobi_poly]]</tt>: Computes the coefficients of Jacobi polynomials

Revision as of 14:58, 22 September 2014

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

Unextendible product bases

Miscellaneous

Helper functions

  • iden: Computes a sparse or full identity matrix
  • jacobi_poly: Computes the coefficients of Jacobi polynomials
  • 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
  • sk_iterate: Computes a lower bound of the S(k)-norm of an operator
  • spnull: Returns a sparse orthonormal basis for the null space
  • sporth: Returns a sparse orthonormal basis for the range