The scalar product, also called dot product, is an operation between two vectors that produces a Scalar, hence the name. If the vectors are complex, it is also called the Hermitian product. It is denoted in a variety of ways: (v,w), v⋅w or ⟨v∣w⟩ (in braket notation).
In finite-dimensional vector spaces, such as RN or CN, the scalar product is defined as a sum of products of the vector components. Let v,w be two vectors in the space, then the scalar product between the two is
(v,w)≡i=0∑Nvi∗wi
where vi and wi are the i-th component of the vectors and the ∗ symbol denotes the complex conjugate. If vi is real, it can safely be removed, as vi∗=vi for any real. It can also be expressed geometrically as
(v,w)≡∥v∥∥w∥cosθ
where θ is the angle between the two vectors and ∥⋅∥ refers to the norm of a vector.
The scalar product of an element with itself satisfies all of the properties of a norm and is called the norm induced by the scalar product, and denoted as usual: (v,v)=∥v∥.
The scalar product can also be defined on infinite-dimensional spaces, such as Hilbert spaces or L^p spaces, by converting sums to integrals. Then taking two functions f(x) and g(x) in such a space, the scalar product between them is
It is a continuous operation, i.e. given a sequence {xn} converging to x∈H where H is a Hilbert space, it holds that for every y∈H we have n→∞lim(y,xn)=(y,x).
Consider the vectors v1 and v2 in some vector space V equipped with a Basis{e1,…,en}. They can be expressed as a Linear combination of basis vectors as v1=∑i=1nαiei and v2=∑j=1nβjej, using suitable values αi and βi. The scalar product between these two is
Il prodotto scalare può anche essere applicato su matrici. Prendiamo A^,B^∈M2(C) matrici 2×2. Considero la traccia della matrice Tr(A^)=i=1∑nAii. E' importante notare che la traccia è unica e non cambia in base alla rappresentazione della matrice (ossia la base rispetto al quale è espressa):
TrA^=i=1∑n⟨ψi∣A^ψi⟩∀base o.n.{∣ψi⟩}i=1n∈Cn
La matrice U^=[⟨ψk∣ϕi⟩] è unitaria, ossia U^U^†=1^=U^†U^.
Prendendo ∣ψ⟩,∣ϕ⟩∈CN. Il prodotto scalare possiamo scriverlo come
\langle \psi|\phi\rangle=\sum\limits_{i=1}^{n}\psi^{\ast}_{i}\phi_{i}=\sum\limits_{i=1}^{n}\langle \psi|\chi_{i}\rangle\langle \chi_{i}|\phi\rangle=\ldots$$usando una base ortonormale $\{|\chi_{i}\rangle\}^{n}_{i=1}\in\mathbb{C}^{N}$ da cui, usando la completezza dei [[Proiettore|proiettori]]
Possiamo generalizzare a $|\psi\rangle,|\phi\rangle\in L^{2}(\mathbb{R},dx)$, ricordando che $\psi^{\ast}_{i}=\overline{\langle \chi_{i}|\psi\rangle}$,