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-67ec45516404b020029156/] [crayon-67ec45516408a266609025/] … [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-67ec455171c0f420123459/] … [Read more]