Difference between revisions of "List of functions"

From QETLAB
Jump to navigation Jump to search
m
m
Line 44: Line 44:
 
* <tt>[[XORQuantumValue]]</tt>: Computes the quantum value of a nonlocal binary XOR game
 
* <tt>[[XORQuantumValue]]</tt>: Computes the quantum value of a nonlocal binary XOR game
  
==Norms and Distance Measures==
+
==Norms and distance measures==
===Vectors and Pure States===
+
===Vectors and pure states===
 
* <tt>[[SkVectorNorm]]</tt>: Computes the s(k)-norm of a vector
 
* <tt>[[SkVectorNorm]]</tt>: Computes the s(k)-norm of a vector
  
===Operators and Mixed States===
+
===Operators and mixed states===
 
* <tt>[[Fidelity]]</tt>: Computes the fidelity of two density matrices
 
* <tt>[[Fidelity]]</tt>: Computes the fidelity of two density matrices
 
* <tt>[[kpNorm]]</tt>: Computes the (k,p)-norm of a vector or matrix
 
* <tt>[[kpNorm]]</tt>: Computes the (k,p)-norm of a vector or matrix
Line 57: Line 57:
 
* <tt>[[TraceNorm]]</tt>: Computes the trace norm of an operator
 
* <tt>[[TraceNorm]]</tt>: Computes the trace norm of an operator
  
===Superoperators and Channels===
+
===Superoperators and channels===
 
* <tt>[[CBNorm]]</tt>: Computes the completely bounded norm of a superoperator
 
* <tt>[[CBNorm]]</tt>: Computes the completely bounded norm of a superoperator
 
* <tt>[[DiamondNorm]]</tt>: Computes the diamond norm of a superoperator
 
* <tt>[[DiamondNorm]]</tt>: Computes the diamond norm of a superoperator

Revision as of 15:32, 20 November 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

Distinguishing objects

Entanglement and separability

Pure states

Mixed states

Ball of separability

  • AbsPPTConstraints: Builds the eigenvalue matrices that determine whether or not a state is absolutely PPT
  • InSeparableBall: Checks whether or not an operator is in the ball of separability centered at the maximally-mixed state
  • IsAbsPPT: Determines whether or not a density matrix is absolutely PPT

Entanglement measures

  • Negativity: Computes the negativity of a bipartite density matrix

Information theory

  • Entropy: Computes the von Neumann entropy of a density matrix

Nonlocal games

Norms and distance measures

Vectors and pure states

Operators and mixed states

  • Fidelity: Computes the fidelity of two density matrices
  • kpNorm: Computes the (k,p)-norm of a vector or matrix
  • kpNormDual: Computes the dual of the (k,p)-norm of a vector or matrix
  • KyFanNorm: Computes the Ky Fan k-norm of an operator
  • SkOperatorNorm: Bounds the S(k)-norm of an operator
  • SchattenNorm: Computes the Schatten p-norm of an operator
  • TraceNorm: Computes the trace norm of an operator

Superoperators and channels

  • CBNorm: Computes the completely bounded norm of a superoperator
  • DiamondNorm: Computes the diamond norm of a superoperator

Permutations and symmetry of subsystems

Random things

Special states, vectors, and operators

Superoperators

Unextendible product bases

  • IsUPB: Determines whether or not a set of product vectors form a UPB
  • MinUPBSize: Gives the minimum cardinality of an unextendible product basis in given dimensions
  • UPB: Generates an unextendible product basis

Miscellaneous

  • Commutant: Computes the commutant of a set of matrices
  • IsTotallyNonsingular: Determines whether or not a matrix is totally nonsingular
  • IsTotallyPositive: Determines whether or not a matrix is totally positive
  • Majorizes: Determines whether or not a vector or matrix majorizes another
  • OperatorSinkhorn: Performs the operator Sinkhorn iteration, making all single-party reduced states proportional to the identity
  • Purity: Computes the purity of a quantum state

Helper functions

  • iden: Computes a sparse or full identity matrix
  • jacobi_poly: Computes the coefficients of Jacobi polynomials
  • normalize_cols: Scales the columns of a matrix to have norm 1
  • one_factorization: Computes a 1-factorization of a list of objects
  • opt_args: Handles optional input arguments for functions
  • opt_disp: Display a message to the user (sometimes)
  • perfect_matchings: Gives all perfect matchings of N objects
  • 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
  • vec_partitions: Produces all possible partitions of a vector