Nothing could be simpler Generate the notebook inline your graphics using %matplotlib -inline in the first cell as shown export as an html file. Upload the html to as a media file to the wordpress site. Make note of the url … [Read more]
Simple itertools examples
If we have a quantum system that has n_sites and n_levels, itertools.product provides a convenient way to enumerate the basis_states: [crayon-66ec52d582b7f432159984/] [crayon-66ec52d582b8e585520269/] … [Read more]
Partial Trace of the Density Matrix – Simple example and python code
[latexpage] Here we discuss the meaning of a partial trace and show how to perform this operation. We provide explicit examples and a python implementation that is intended to be instructive, but is not (at all) optimized for … [Read more]
Example python post
Here is something that you might want to do in python: [crayon-66ec52d58c66a722082648/] … [Read more]