File:MUB bases plot.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file(SVG file, nominally 500 × 656 pixels, file size: 27 KB)

Summary

Description
English: Three orthonormal bases in a two-dimensional vector space, where bases B1 and B2 are mutually unbiased. Basis B3 is an example of a basis that is not mutually unbiased neither with B1 nor with B2. Circles are drawn to guide the eye when comparing overlaps of different vectors.
Čeština: Tři ortonormální báze dvourozměrného vektorového prostoru, kde báze B1 a B2 tvoří sadu MUB bází. Báze B3 je příkladem báze, která MUB bázi netvoří, a to ani s bází B1, ani s bází B2. Kružnice jsou vykresleny jako pomůcka pro porovnání překryvů jednotlivých vektorů.
Date
Source Own work
Author JozumBjada

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 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.

Source code

This animation was created using Wolfram language 12.0.0 for Microsoft Windows (64-bit) (April 6, 2019). The source code follows (formatted as a .wl file).

(* ::Package:: *)

(* ::Input::Initialization:: *)
arrow[col_,ang_]:=With[{fac=1.2},
{AbsoluteThickness[3],Lighter[col,.5],Line[{{{0,0},fac AngleVector[ang+\[Pi]]}}],AbsoluteThickness[5],col,Arrowheads[0.1],Arrow[Line[{{0,0},AngleVector[ang]}]]}
]
axisSystemFg[col_,ang_,lab_,rad_:.3,offset_:{-1,1}]:={arrow[col,ang],arrow[col,ang+\[Pi]/2],Text[Style[lab,col,Bold,20],rad AngleVector[ang-\[Pi]],offset,AngleVector[ang]]}
background[col_,ang_]:=With[{end=AngleVector[ang]},
{Darker[col,.0],AbsoluteThickness[2.5],AbsoluteDashing[{10,5}],Line[{{0,end[[2]]},end,{end[[1]],0}}],col,Opacity[.1],Rectangle[{0,0},end]}
]
axisSystemBg[col_,ang_,arcrad_]:=With[{angend=ang+ \[Pi]/2},
{background[col,ang],background[col,angend],If[arcrad!=0,{col,Disk[{0,0},arcrad,{ang,angend}],Disk[{0,0},arcrad,\[Pi]+{ang,angend}]},Nothing]}
]


(* ::Input::Initialization:: *)
gr=With[{ang1=0,ang2=-\[Pi]/4,ang3=-2\[Pi]/6,col1=Black,col2=ColorData[81,7],col3=ColorData[81,10],rotang=15Degree},

Graphics[Rotate[#,rotang]&@{
axisSystemBg[col3,ang3,0],
axisSystemBg[col2,ang2,0.07],
{Gray,Circle[{0,0},Cos[ang3]],Circle[{0,0},Cos[ang2]],Circle[{0,0},Cos[ang3+\[Pi]/2]]},

axisSystemFg[col3,ang3,"B3",.4,{-1,-1}],
axisSystemFg[col2,ang2,"B2",.4,{-1,1}],
axisSystemFg[col1,ang1,"B1",.35]
},PlotRange->{{-.5,1.1},{-1,1.1}},ImageSize->400]
]


(* ::Input:: *)
(*SetDirectory[NotebookDirectory[]]*)
(*Export["mub_plot.svg",gr]*)

Captions

Mutually unbiased bases - example

Items portrayed in this file

depicts

18 August 2022

image/svg+xml

File history

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

Date/TimeThumbnailDimensionsUserComment
current20:31, 18 August 2022Thumbnail for version as of 20:31, 18 August 2022500 × 656 (27 KB)JozumBjadaUploaded while editing "Wikipedista:JozumBjada/Pískoviště" on cs.wikipedia.org
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

Metadata