This is a file from the Wikimedia Commons

File:Bloch Sphere.svg

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Original file(SVG file, nominally 163 × 185 pixels, file size: 51 KB)

Summary

Description
English: Bloch sphere; a geometrical representation of a two-level quantum system. Rendered with Asymptote.
Date
Source Own work
Author Glosser.ca
Other versions

Derivative works of this file:

SVG development
AsymptoteLogo.svg
This vector image was created with Asymptote by dvisvgm.

CPP

size(6.5cm,6.5cm);
import olympiad;
 
pair origin, xhat, yhat, zhat;
origin=(0,0); xhat=-(1,1); yhat=(1,0); zhat=(0,1);
 
draw(circle(origin,1));
draw(ellipse(origin,1,2/5),dashed); //major axis = 2, minor axis = 4/5
 
draw(origin--zhat,Arrow);
label("$\hat{\mathbf{z}}=\left|0\right\rangle$",zhat,N);
label("$-\hat{\mathbf{z}}=\left|1\right\rangle$",-zhat,S);
 
draw(origin--yhat,Arrow);
label("$\hat{\mathbf{y}}$",yhat,E);
 
pair intersection;
intersection = 2/sqrt(29)*xhat;
 
draw(origin--intersection,Arrow);
label("$\hat{\mathbf{x}}$",intersection,SW);
 
pair psipoint = 0.6*expi(4*pi/13);
pair psiprime = psipoint - (0,0.7);
 
draw(origin--psipoint);
dot(psipoint);
label("$\left|\psi\right\rangle$",psipoint,NE);
 
draw(psipoint--psiprime--origin,dotted);
 
path thetaArc,phiArc;
thetaArc=Arc(origin,0.15,degrees(4*pi/13),90);
phiArc=Arc(origin,0.1,degrees(angle(psiprime)),degrees(-3*pi/4));
 
draw(thetaArc);
label("$\theta$",thetaArc);
 
draw(phiArc);
label("$\phi$",phiArc,S);


Licensing

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 3.0 Unported 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 alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

The olympiad package needed to draw arcs can be found here.

File history

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

Date/TimeThumbnailDimensionsUserComment
current02:06, 23 December 2012Thumbnail for version as of 02:06, 23 December 2012163 × 185 (51 KB)Glosser.caImproved text readability in thumbnails
02:41, 20 December 2012Thumbnail for version as of 02:41, 20 December 2012263 × 285 (51 KB)Glosser.caUser created page with UploadWizard

More than 100 pages use this file. The following list shows the first 100 pages that use this file only. A full list is available.

Global file usage

The following other wikis use this file:

View more global usage of this file.

Metadata