entanglement.c File Reference

#include <stdio.h>
#include <math.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_complex_math.h>
#include <gsl/gsl_eigen.h>
#include "quantum_system.h"
#include "density_matrix.h"
#include "operators.h"
#include "misc.h"
#include "gsl_ext.h"

Functions

double entanglement_neumann_entropy (gsl_matrix_complex *rho)
double entanglement_log_neg (gsl_matrix_complex *rho)
double entanglement_concurrence (quantum_system *qs, gsl_matrix_complex *rho)

Function Documentation

double entanglement_concurrence ( quantum_system qs,
gsl_matrix_complex *  rho 
)

Calculate the concurrence for the density matrix (two TLS) rho.

Calculate the concurrence for the density matrix of a two-qubit system.

Parameters:
qs Data structure that specifies the form of the quantum system.
rho The density matrix for a two-qubit system.

double entanglement_log_neg ( gsl_matrix_complex *  rho  ) 

Calculate the log negativity for the density matrix of two TLS, rho.

Calculate the negativity of a two-qubit system.

Parameters:
rho Density matrix for a two-qubit system.

double entanglement_neumann_entropy ( gsl_matrix_complex *  rho  ) 

Calculate the von Neumann Entropy of a system with density matrix rho.

This function takes a density matrix as input and calculates the von Neumann entropy. Note that the density matrix is not restricted to be representing any particular for of quantum system.

Parameters:
rho The density matrix for which the von Neumann entropy is to be calculated.


Generated on Thu Jun 12 16:48:45 2008 for QDpack by  doxygen 1.5.1