File:TLSRWA.gif

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

TLSRWA.gif (360 × 402 pixels, file size: 2.07 MB, MIME type: image/gif, looped, 101 frames, 1.0 s)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Two-level-system on resonance with a driving field with and without applying the rotating-wave approximation.
Date
Source Own work
Author Rolancito
(* Source code written in Mathematica 11.1 by Rolancito, Feb. 2018. This source code is public domain. *)
(* Time evolution of a two-level-system with level splitting = 1 interacting with a laser beam on resonance and coupling term = 0.1 *)
ClearAll["Global`*"]
(* Coupled differential equations *)
CDE = NDSolve[{I cg'[t] == ce[t] 0.1 Cos[-t] E^(-I t), I ce'[t] == cg[t] 0.1 Cos[-t] E^(I t), cg[0] == 0, ce[0] == 1}, {cg, ce}, {t, 0, 20 \[Pi]}]
CDERWA = NDSolve[{I cg'[t] == ce[t] 0.1 /2, I ce'[t] == cg[t] 0.1 /2, cg[0] == 0, ce[0] == 1}, {cg, ce}, {t, 0, 20 \[Pi]}]
(* Bloch sphere *)
tlsrwagif = 
  Table[Show[
    ParametricPlot3D[
     Evaluate[{2 Re[cg[t] Conjugate[ce[t]]], 
          2 Im[ce[t] Conjugate[cg[t]]], 
          cg[t] Conjugate[cg[t]] - 
           ce[t] Conjugate[ce[t]]} /. # & /@ {CDE, CDERWA}], {t, 0, 
      20 \[Pi]}, PlotRange -> All, 
     ColorFunction -> Function[{t}, Hue[t]]], 
    Graphics3D[{PointSize[Large], 
      Point[Evaluate[{2 Re[cg[time] Conjugate[ce[time]]], 
          2 Im[ce[time] Conjugate[cg[time]]], 
          cg[time] Conjugate[cg[time]] - 
           ce[time] Conjugate[ce[time]]} /. CDE]], Opacity[0.5], 
      Sphere[{0, 0, 0}, 1]}]], {time, 0, 20 \[Pi], \[Pi]/5}];
Export["TLSRWA.gif", tlsrwagif, "AnimationRepetitions" -> \[Infinity]]

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current08:59, 4 February 2018Thumbnail for version as of 08:59, 4 February 2018360 × 402 (2.07 MB)Rolancito (talk | contribs)Infinite Loop
08:49, 4 February 2018Thumbnail for version as of 08:49, 4 February 2018360 × 402 (2.07 MB)Rolancito (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata