<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.swarma.org/index.php?action=history&amp;feed=atom&amp;title=%E7%9F%A9%E9%98%B5%E7%9A%84%E5%81%8F%E8%BF%B9</id>
	<title>矩阵的偏迹 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.swarma.org/index.php?action=history&amp;feed=atom&amp;title=%E7%9F%A9%E9%98%B5%E7%9A%84%E5%81%8F%E8%BF%B9"/>
	<link rel="alternate" type="text/html" href="https://wiki.swarma.org/index.php?title=%E7%9F%A9%E9%98%B5%E7%9A%84%E5%81%8F%E8%BF%B9&amp;action=history"/>
	<updated>2026-11-03T14:58:23Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.swarma.org/index.php?title=%E7%9F%A9%E9%98%B5%E7%9A%84%E5%81%8F%E8%BF%B9&amp;diff=34793&amp;oldid=prev</id>
		<title>2024年5月21日 (二) 09:13 Gyt666</title>
		<link rel="alternate" type="text/html" href="https://wiki.swarma.org/index.php?title=%E7%9F%A9%E9%98%B5%E7%9A%84%E5%81%8F%E8%BF%B9&amp;diff=34793&amp;oldid=prev"/>
		<updated>2024-05-21T09:13:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024年5月21日 (二) 09:13的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l64&quot; &gt;第64行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第64行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;其中只有那些b=b'的项才能保留下来。这就是复合空间中的矩阵与子空间中的向量做内积的结果。结果是为另外一部分子空间的矩阵，也就是偏迹运算的含义。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;其中只有那些b=b'的项才能保留下来。这就是复合空间中的矩阵与子空间中的向量做内积的结果。结果是为另外一部分子空间的矩阵，也就是偏迹运算的含义。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;category&lt;/del&gt;:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;旧词条迁移&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Category&lt;/ins&gt;:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;待润色&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gyt666</name></author>
	</entry>
	<entry>
		<id>https://wiki.swarma.org/index.php?title=%E7%9F%A9%E9%98%B5%E7%9A%84%E5%81%8F%E8%BF%B9&amp;diff=15495&amp;oldid=prev</id>
		<title>小趣木木：创建页面，内容为“矩阵的偏迹运算是量子力学中的一种特殊的运算，它是一种特殊的矩阵迹运算。只不过这种取迹的过程并不是对全空间…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.swarma.org/index.php?title=%E7%9F%A9%E9%98%B5%E7%9A%84%E5%81%8F%E8%BF%B9&amp;diff=15495&amp;oldid=prev"/>
		<updated>2020-10-16T10:45:34Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“矩阵的偏迹运算是&lt;a href=&quot;/index.php?title=%E9%87%8F%E5%AD%90%E5%8A%9B%E5%AD%A6&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;量子力学（页面不存在）&quot;&gt;量子力学&lt;/a&gt;中的一种特殊的运算，它是一种特殊的&lt;a href=&quot;/index.php?title=%E7%9F%A9%E9%98%B5%E8%BF%B9&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;矩阵迹（页面不存在）&quot;&gt;矩阵迹&lt;/a&gt;运算。只不过这种取迹的过程并不是对全空间…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;矩阵的偏迹运算是[[量子力学]]中的一种特殊的运算，它是一种特殊的[[矩阵迹]]运算。只不过这种取迹的过程并不是对全空间展开的，而是对某一个子空间。&lt;br /&gt;
==定义==&lt;br /&gt;
&lt;br /&gt;
如果我们有两个[[希尔伯特空间]]分别记为H&amp;lt;sub&amp;gt;A&amp;lt;/sub&amp;gt;和H&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt;，它们可以分别用来表示两个量子系统A和B，那么我们就能对这两个空间做直积运算，从而得到系统A与B的复合系统，记为：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H_{A,B}=H_A\otimes H_B&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
设空间H&amp;lt;sub&amp;gt;A,B&amp;lt;/sub&amp;gt;中的密度矩阵为ρ&amp;lt;sub&amp;gt;A,B&amp;lt;/sub&amp;gt;。再设&amp;lt;math&amp;gt;\{\omega_i|i=1,2,...,N_B\}&amp;lt;/math&amp;gt;为空间H&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt;的一组基矢，其中N&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt;为H&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt;空间的维度，那么我们定义ρ&amp;lt;sub&amp;gt;A,B&amp;lt;/sub&amp;gt;对子系统B求偏迹为：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_A=Tr_B(\rho_{A,B})=\sum_{i=1}^{N_B}{\langle \omega_i |\rho_{A,B} |\omega_i \rangle}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
上式是按照狄拉克记号写的。其中&amp;lt;math&amp;gt;\langle| \rho_{A,B} |\omega_i \rangle&amp;lt;/math&amp;gt;表示ρ&amp;lt;sub&amp;gt;A,B&amp;lt;/sub&amp;gt;与ω&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;做内积。但是我们知道，ρ&amp;lt;sub&amp;gt;A,B&amp;lt;/sub&amp;gt;是复合[[希尔伯特空间]]H&amp;lt;sub&amp;gt;A,B&amp;lt;/sub&amp;gt;中的矩阵，而ω&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;是空间H&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt;中的变量，所以这两者做内积就比较特殊。&lt;br /&gt;
&lt;br /&gt;
==复合空间中的向量与子空间中的向量的内积==&lt;br /&gt;
&lt;br /&gt;
为了说明这种内积究竟是如何运算的，我们需要先定义A,B复合系统（复合空间H&amp;lt;sub&amp;gt;A,B&amp;lt;/sub&amp;gt;）中的向量与B空间中的向量做内积是什么意思。假设X是H&amp;lt;sub&amp;gt;A,B&amp;lt;/sub&amp;gt;中的向量。这样X可以写成：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
|X\rangle = \sum_{a,b} x_{a,b} |a\rangle \otimes |b\rangle&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
也就是将X分解为H&amp;lt;sub&amp;gt;A,B&amp;lt;/sub&amp;gt;中的一组基向量的线性叠加。其中&amp;lt;math&amp;gt;|a\rangle \otimes |b\rangle&amp;lt;/math&amp;gt;就是任意一个基向量。而a,b分别又是H&amp;lt;sub&amp;gt;A&amp;lt;/sub&amp;gt;和H&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt;的基向量。既然{b}是H&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt;的一组基，那么自然我们可以把H&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt;中的任意一个向量Y分解：&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
|Y\rangle = \sum_{b} y_b |b\rangle&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
那么我们定义X与Y的内积为：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\langle X|Y\rangle = \sum_{a,b} x*_{a,b} \langle a| \otimes \langle b| \cdot \sum_{b} y_b |b\rangle = \sum_{a,b,b'} x*_{a,b} y_{b'} \langle a| \langle b|b' \rangle &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
注意，我们这里做的就按照狄拉克记号进行展开。另外，由于上式最后需要计算b与b'向量的内积，而我们知道b是H&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt;的一组[[完全正交基]]，所以&amp;lt;b|b\'&amp;gt;=0当b不等于b\'的时候，而当b=b\'的时候，&amp;lt;b|b\'&amp;gt;=1，所以X与Y的内积可以简化为：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\langle X|Y\rangle = \sum_{a,b} x*_{a,b} y_{b} \langle a|&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==复合空间中的矩阵与子空间中的向量内积==&lt;br /&gt;
&lt;br /&gt;
理解了复合空间中向量与子空间向量的内积就不难理解矩阵与向量的内积了。设ρ为复合空间中的矩阵，则：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\rho_{A,B}=\sum_{a,a',b,b'} \rho_{a,a',b,b'} (|a\rangle \langle a'|) \otimes (|b\rangle \langle b'|) =\sum_{a,a',b,b'} \rho_{a,a',b,b'} (|a\rangle \otimes |b\rangle) (\langle b' |\otimes \langle a'|)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
其中a,a'是HA中的一组基，b是HB中的基向量。|&amp;gt;&amp;lt;|运算表示[[向量的直积]]运算。其中的运算法则就是按照狄拉克记号，把它分解为向量的内积运算：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\langle|Y \rho_{A,B}|Y\rangle=(\sum_b'' y_{b''}* \langle b''|)(\sum_{a,a',b,b'} \rho_{a,a',b,b'} (|a\rangle \otimes |b\rangle) (\langle b' |\otimes \langle a'|))(\sum_b'' y_{b''} |b''\rangle)=\sum_{a,a'}\rho_{a,a',b'',b''} y_{b''}y_{b''}*|a\rangle \langle a|&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
所以我们不难理解偏迹运算写成矩阵形式相当于：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sum_{b} \langle \omega_{b} | \rho_{A,B} | \omega_b \rangle=\sum_{a,a',b,b'}\rho_{a,a',b,b'} |a\rangle \langle a'| \langle b|b'\rangle&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
其中只有那些b=b'的项才能保留下来。这就是复合空间中的矩阵与子空间中的向量做内积的结果。结果是为另外一部分子空间的矩阵，也就是偏迹运算的含义。&lt;br /&gt;
[[category:旧词条迁移]]&lt;/div&gt;</summary>
		<author><name>小趣木木</name></author>
	</entry>
</feed>