## Reduced density matrix and partial trace

The reduced matrix is defined as the partial trace of the density matrix. In linear algebra and functional analysis, the partial trace is a generalization of the trace. Whereas the trace is a scalar valued function on operators, the partial trace is an operator-valued function. The partial trace has applications in quantum information and decoherence which is relevant for quantum measurement and thereby to the decoherent approaches to interpretations of quantum mechanics, including consistent histories and the relative state interpretation.

## Blogging with Jupyter and Pelican

ipynb2pelican is used to provide jupyter ipynb support in pelican.

## Installation and Setup¶

• Jupyter, and an article telling what is jupyter notebook
• Pelican, pythonic blog system supports markdown, rst, asciidoc, ipynb etc.
• ipynb2pelican, a plugin enables ipynb support by metacell
• ghp-import is needed for github page import. It can be …

## ipynb2pelican Plugin released!

Yet another Pelican Plugin for blogging with Jupyter Notebooks using MetaCell to store metadata.

Thanks to super cow power of python, we can finally publish ipynb easily! Below is the README.md from the project at this time.

The ipynb2pelican plugin provides markup for Jupyter/IPython notebooks in pelican, so …

## Next Permutation

Aim: Find a larger permutation

We must move a larger number forward. So we should go from the tail to find any new number is smaller than a number behind it. If no next permutation, reverse list.

In [ ]:
def next_permutation(l):
'''Give out the next permutation of list l
>>> next_permutation …