Posts tagged: Python

Verifying continuous-variable Bell correlations

CV systems are hard to get started with, but the package Strawberry Fields provides a nice framework and a perhaps even nicer documentation for beginners. Here we study a simple variant of the CHSH inequality in the CV setting.

Posted on . Tags: Noncommutative polynomials, Semidefinite programming, Quantum information theory, Python

From stochastic matrices to process matrices

The intuition behind the process matrix formalism in quantum physics from the perspective of probability theory

Posted on . Tags: Quantum information theory, Python

Relaxations of parametric and bilevel polynomial optimization problems

Semidefinite programming relaxations of polynomial optimization problems of commuting variables with moment constraints, parametric and bilevel variants.

Posted on . Tags: Noncommutative polynomials, Python, Semidefinite programming

Fast self-organizing maps in Python with Somoclu

Somoclu, a massively parallel implementation of self-organizing maps, has updated its visual capabilities for its Python interface.

Posted on . Tags: Python, Machine Learning

Semidefinite programming in Python

A brief overview of SDP solvers and tools in Python

Posted on . Tags: Semidefinite programming, Python

Optimal randomness generation from entangled quantum states

Optimal randomness generation from entangled quantum states: computational appendix to arXiv:1505.03837.

Posted on . Tags: Noncommutative polynomials, Python, Quantum information theory, Semidefinite programming

Detecting a rank loop in the NPA hierarchy

It is possible to detect a rank loop in the hierarchy of SDP relaxations of polynomial optimization problems, but an arbitrary-precision SDP solver is recommended.

Posted on . Tags: Noncommutative polynomials, Semidefinite programming, Quantum information theory, Python

Migrating an academic website from Wordpress to Pelican

In pursuit of open science, academics should blog. As good nerds, they should opt for static website generators. Pelican is a great option, but caveats apply.

Posted on . Tags: Academic publishing, Python

Using Cython with Pypy and Numpy

Load Cython modules from Pypy while also using Numpy.

Posted on . Tags: C++, Python

The Jordan-Wigner transformation in Python

Using SymPy, it is easy to calculate the Jordan-Wigner transformation in Python.

Posted on . Tags: Python, Quantum information theory

Reproducible research, literate programming, IPython, and GitHub

IPython's notebook interface combined with git and GitHub makes a perfect tool to promote reproducible academic publications.

Posted on . Tags: Academic publishing, Python

Ground state of spinless fermions with DMRG

Calculating the ground state of spinless fermions on an open two-dimensional lattice with density matrix renormalization group using ALPS.

Posted on . Tags: Python

Computer algebra system on a cell phone

Smartphones are powerful enough to run a Linux with a graphical interface: computer algebra systems are the next frontier in mobile computing.

Posted on . Tags: Python

Spyder: Getting closer to a viable Mathematica alternative

A combination of Spyder, IPython, SymPy, NumPy, and Matplotlib gets pretty close to replace Mathematica in most of my use cases.

Posted on . Tags: Python

Second-order semidefinite relaxation of a commutative polynomial optimization problem

Second-order semidefinite relaxation of a constrained commutative polynomial optimization problem using PICOS in Python, exporting to SDPA.

Posted on . Tags: Semidefinite programming, Python

Generating noncommutative monomials with SymPy

A Python solution to generate monomials of noncommutative variables.

Posted on . Tags: Noncommutative polynomials, Python