Delightful Dandelions

  • Chess
  • Python
  • Quantum Mechanics

  • Chess
  • Python
  • Quantum Mechanics

Embed an ipython jupyter notebook in wordpress

October 19, 2017 by delightfuldandelions 1 Comment

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

October 15, 2017 by delightfuldandelions Leave a Comment

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-642548edbe27b176687457/] [crayon-642548edbe289072478043/]   … [Read more]

Partial Trace of the Density Matrix – Simple example and python code

January 28, 2017 by delightfuldandelions Leave a Comment

  [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

January 7, 2017 by delightfuldandelions Leave a Comment

Here is something that you might want to do in python:   [crayon-642548edc1a4e771512235/] … [Read more]

Copyright © 2023 · Minimum Pro Theme on Genesis Framework · WordPress · Log in