<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://qetlab.com/wiki/index.php?action=history&amp;feed=atom&amp;title=DephasingChannel</id>
	<title>DephasingChannel - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://qetlab.com/wiki/index.php?action=history&amp;feed=atom&amp;title=DephasingChannel"/>
	<link rel="alternate" type="text/html" href="https://qetlab.com/wiki/index.php?title=DephasingChannel&amp;action=history"/>
	<updated>2026-06-05T07:48:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.3</generator>
	<entry>
		<id>https://qetlab.com/wiki/index.php?title=DephasingChannel&amp;diff=764&amp;oldid=prev</id>
		<title>Nathaniel: Created page with &quot;{{Function |name=DephasingChannel |desc=Produces a dephasing channel |rel=DepolarizingChannel |cat=Superoperators |upd=January 22, 201...&quot;</title>
		<link rel="alternate" type="text/html" href="https://qetlab.com/wiki/index.php?title=DephasingChannel&amp;diff=764&amp;oldid=prev"/>
		<updated>2015-01-22T17:36:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Function |name=DephasingChannel |desc=Produces a dephasing channel |rel=&lt;a href=&quot;/DepolarizingChannel&quot; title=&quot;DepolarizingChannel&quot;&gt;DepolarizingChannel&lt;/a&gt; |cat=&lt;a href=&quot;/List_of_functions#Superoperators&quot; title=&quot;List of functions&quot;&gt;Superoperators&lt;/a&gt; |upd=January 22, 201...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Function&lt;br /&gt;
|name=DephasingChannel&lt;br /&gt;
|desc=Produces a dephasing channel&lt;br /&gt;
|rel=[[DepolarizingChannel]]&lt;br /&gt;
|cat=[[List of functions#Superoperators|Superoperators]]&lt;br /&gt;
|upd=January 22, 2015}}&lt;br /&gt;
&amp;lt;tt&amp;gt;'''DephasingChannel'''&amp;lt;/tt&amp;gt; is a [[List of functions|function]] that returns the Choi matrix of the partially dephasing channel, which acts as follows:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\Delta(X) := (1-p)\mathrm{diag}(X) + pX,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where $\mathrm{diag}$ is the map that erases everything off the diagonal of its input, and $0 \leq p \leq 1$ is a given parameter ($p = 0$ by default).&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
* &amp;lt;tt&amp;gt;DELTA = DephasingChannel(DIM)&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;DELTA = DephasingChannel(DIM,P)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Argument descriptions==&lt;br /&gt;
* &amp;lt;tt&amp;gt;DIM&amp;lt;/tt&amp;gt;: The dimension of the channel. That is, the channel will act on &amp;lt;tt&amp;gt;DIM&amp;lt;/tt&amp;gt;-by-&amp;lt;tt&amp;gt;DIM&amp;lt;/tt&amp;gt; matrices.&lt;br /&gt;
* &amp;lt;tt&amp;gt;P&amp;lt;/tt&amp;gt; (optional, default 0): A parameter (from 0 to 1, inclusive) that specifies which partially dephasing channel to produce. &amp;lt;tt&amp;gt;P = 0&amp;lt;/tt&amp;gt; gives the completely dephasing channel, and &amp;lt;tt&amp;gt;P = 1&amp;lt;/tt&amp;gt; gives the identity channel.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===The completely dephasing channel===&lt;br /&gt;
The completely dephasing channel maps every density matrix to its diagonal:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt; rho = RandomDensityMatrix(3)&lt;br /&gt;
&lt;br /&gt;
rho =&lt;br /&gt;
&lt;br /&gt;
   0.2575            -0.1464 + 0.0460i   0.0869 - 0.1260i&lt;br /&gt;
  -0.1464 - 0.0460i   0.5016            -0.0074 + 0.1864i&lt;br /&gt;
   0.0869 + 0.1260i  -0.0074 - 0.1864i   0.2409          &lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; ApplyMap(rho,DephasingChannel(3))&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
    0.2575         0         0&lt;br /&gt;
         0    0.5016         0&lt;br /&gt;
         0         0    0.2409&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{SourceCode|name=DephasingChannel}}&lt;/div&gt;</summary>
		<author><name>Nathaniel</name></author>
	</entry>
</feed>