General Functions

In Hilbert Space, nobody can hear you scream...

Hilbert Space

Hilbert Spacearrow-up-right

The primary mathematical object in quantum theory is the Hilbert spacearrow-up-right. We consider only finite-dimensional Hilbert spaces, denoted by H\mathcal{H}. Although we will be considering finite-dimensional spaces exclusively, we note here that many of the statements and claims extend directly to the case of separable, infinite-dimensional Hilbert spaces, especially for operationally-defined tasks and information quantities.

A dd-dimensional Hilbert space (1d<)(1 \le d < \infty) is defined to be a complex vector space equipped with an inner product. We use the notation ψ{\displaystyle |\psi\rangle}to denote a vector in H\mathcal{H}. More generally, a Hilbert space is a "complete inner product" space.

circle-info

Completeness is an issue that pops up only in infinite-dimensional spaces, so all finite-dimensional inner-product spaces are Hilbert spaces.

Bra-Ket Notation

Driac's Notationarrow-up-right

A ket is of the form v{\displaystyle |v\rangle } . Mathematically it denotes a vectorarrow-up-right, v{\displaystyle {\boldsymbol {v}}}, in an abstract (complex) vector spacearrow-up-right V{\displaystyle V}, and physically it represents a state of some quantum system. An example of a Ket can be r=[xyz]{\displaystyle |r\rangle } = \begin{bmatrix} x \\ y\\ z\end{bmatrix} represents a vector r=[xyz]{\displaystyle \vec{r} } = \begin{bmatrix} x \\ y\\ z\end{bmatrix}.

A bra is of the form f{\displaystyle \langle f|}. Mathematically it denotes a linear formarrow-up-right f:VC{\displaystyle f:V\to \mathbb {C} }, i.e. a linear maparrow-up-right that maps each vector in V{\displaystyle V} to a number in the complex plane C{\displaystyle \mathbb {C} }. Letting the linear functional f{\displaystyle \langle f|} act on a vector v{\displaystyle |v\rangle } is written as fvC{\displaystyle \langle f|v\rangle \in \mathbb {C} }. The bra is similar to the ket, but the values are in a row, and each element is the complex conjugatearrow-up-right of the ket's elements.

In the simple case where we consider the vector space Cn{\displaystyle \mathbb {C} ^{n}}, a ket can be identified with a column vectorarrow-up-right, and a bra as a row vectorarrow-up-right.

Meaning :

A=[A1A2A3]{\displaystyle \langle A| }=\begin{bmatrix}A_1&A_2&A_3&\dots\end{bmatrix} & B=[B1B2B3]{\displaystyle |B\rangle }=\begin{bmatrix}B_1\\B_2\\B_3\\\vdots\end{bmatrix}

Example:

0=[10]{\displaystyle |0\rangle }=\begin{bmatrix}1\\0\end{bmatrix}, for two dimensional Hilbert Space ,

Defining a basis state 0{\displaystyle |0\rangle }, we can use the ket module like this:

Here we have defined the ket v for v=[10]{\displaystyle |v\rangle } = \begin{bmatrix} 1 \\ 0 \end{bmatrix}. In numpy, defining the same would need one to define the matrix manually, just as shown in the Overview section.

Partial Transpose

Peres–Horodecki criterionarrow-up-right

The Partial Transpose plays an important role in quantum information theory due to its connection with entanglement. In fact, it leads to a sufficient condition for a bipartite state to be entangled.

Given quantum systems AA and BB, the partial transpose on BB is denoted by TBidATBT_B\equiv id_A \otimes T_B, and it is defined as,

TB(XAB):=j,j=0dB1(1AiiB)XAB(1AiiB)T_B(X_{AB}) := \sum\limits^{d_B-1}_{j, j'=0} (\mathbf{1}_A \otimes \ket{i}\bra{i'}_B) X_{AB} (\mathbf{1}_A \otimes \ket{i}\bra{i'}_B)

partial_transpose(...) is a function that computes the partial transpose of a matrix. The transposition may be taken on any subset of the subsystems on which the matrix acts.

Defining a state X with [ ... ]

Now we can apply the partial_transpose function over our state X :

Last updated