plotEntanglement

Line2P.plotEntanglement(filename)

Creates a plot of the entanglement over time.

Parameters:filename (str) – the absolute/relative path to the desired output file.

Important

watch() must be called prior to propagation in order for the entanglement to be stored during propagation.

Note

  • ensure a file extension is present so that filetype is correctly set (choose one of png, pdf, ps, eps or svg).
  • Timesteps are recorded when propagations occur - to increase the number of timesteps, increase the number of propagations prior to plotting.