TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The tensor product, demystified (2018)

94 点作者 RevoGen超过 1 年前

11 条评论

ubavic超过 1 年前
Hmm, I always disliked coordinate approach to (multi)linear algebra. To me, the notion of a tensor product clicked with the following definition:<p>Tensor product v₁⊗v₂ of vectors form V is bilinear form on the dual space V* defined by v₁⊗v₂(ω₁,ω₂) = v₁(ω₁)v₂(ω₂). Tensor product V⊗V is space of all bilinear forms on V*,<p>This can easily be generalized to products of forms (covariant tensors), and mixed tensor products. Getting coordinate representation in basis (E₁ ... Eₙ) is trivial: (v₁⊗v₂)ₖ,ₗ = v₁⊗v₂(εₖ,εₗ) where εₖ is dual to Eₖ...
评论 #37361604 未加载
评论 #37361508 未加载
Y_Y超过 1 年前
It was a bit annoying that the first few examples give a <i>flattened</i> tensor product. It&#x27;s explained at the end, but the dimensions are at least as important as the values and it feels wrong to skip that (isomorphism notwithstanding).
mbivert超过 1 年前
Some additional ressources on tensors I&#x27;ve found useful:<p>1) A video[0] by Michael Penn exposing this idea of &quot;tensor product of vector spaces.&quot; It&#x27;s close to what is presented in this blog post, but more rigorous&#x2F;complete.<p>2) Two videos[1][2] by Frederic Schuller. They are each from of bigger courses (resp. ~Differential Geometry for Physics and Quantum Mechanics), but I think they are self-contained enough to be intelligible. They both present tensors in different settings, so one will have to work a little to unify all this. I like in particular how in [1] he really takes the time to first distinguish between all the different tensor product (of space, of vectors, of operators): the usual notation&#x2F;terminology can be needlessly confusing for beginners.<p>[0]: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=K7f2pCQ3p3U">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=K7f2pCQ3p3U</a><p>[1]: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=OZ1WCyJmjgo">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=OZ1WCyJmjgo</a><p>[2]: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=4l-qzZOZt50">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=4l-qzZOZt50</a>
lisper超过 1 年前
&gt; But why the tensor product? Why is it that this construction—out of all things—describes the interactions within a quantum system so well, so naturally? I don’t know the answer<p>That&#x27;s an odd thing for the author to say, because s&#x2F;he gives the answer later in the very same passage:<p>&gt; but perhaps the appropriateness of tensor products shouldn&#x27;t be too surprising. The tensor product itself captures all ways that basic things can &quot;interact&quot; with each other!<p>That <i>is</i> the answer. It&#x27;s the tensor product because there are logically no other possibilities. The tensor product says everything you can possibly say about the interactions of two systems whose states are described by a (possibly infinite) set of numbers and whose interactions correspond to some basic constraints, like being time-reversible. It just so happens that nature behaves according to those constraints, and that is why the tensor product describes the behavior of nature.
评论 #37365255 未加载
评论 #37366455 未加载
sigmoid10超过 1 年前
A nice, high school level writeup of how to calculate this product with ordinary vectors, but it totally drops the ball on the necessity and its use in physics. It would probably be best to ignore the entire last paragraph and instead read up on pure vs. mixed quantum states if you actually care about that.
评论 #37362882 未加载
akasakahakada超过 1 年前
Tensor product is basically the mathematical way to express if condition.<p>Say you have 2x2 matrix A, B, C.<p>Any arbitrary component within the Tensor(A, B, C) is:<p><pre><code> if A =(a1,a2) and B=(b1,b2) and C=(c1,c2): this value </code></pre> The coordination is concatenation of matching dimension: (a1b1c1, a2b2c2)<p>While in many computational natural science, people using tensor product to store and manipulate data. Also it is how the mathematical equations being written on paper.<p>But in computer science&#x27;s perspective, dealing with tensor matrix is simply a waste of memory since 90% of the time people are dealing with sparse system. System that their matrix is dominated by zero. Also it would be super clear if people just write if-then pseudocode instead of cryptic half-bake tensor expressions. People tend to invent their own notation while writting paper.
评论 #37361465 未加载
hackandthink超过 1 年前
Not relevant for tensor product:<p>The author seems to be related to <a href="https:&#x2F;&#x2F;www.sandboxaq.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.sandboxaq.com&#x2F;</a>.<p>&quot;SandboxAQ leverages the compound effects of AI and Quantum technologies (AQ) to solve hard challenges impacting society.&quot;<p>This reads like a scam (don&#x27;t know anything about it).
ziofill超过 1 年前
Very nice, but there’s a technical error in the section “in quantum physics”. A density matrix as described does not represent the state of two systems, just one system. I think the author is confusing a vector in H⊗H with a bounded operator on H.
saberience超过 1 年前
This didn&#x27;t demystify anything to me, I left it more mystified it than when I entered.
uptownfunk超过 1 年前
Very well written. The author should write textbooks.
tempodox超过 1 年前
If only those squiggles were readable.