qml.labs.dla¶
Experimental dynamical Lie algebra (DLA) functionality¶
|
Compute the dynamical Lie algebra \(\mathfrak{g}\) from a set of generators using their dense matrix representation. |
|
Compute the structure constants that make up the adjoint representation of a Lie algebra. |
|
Cartan Decomposition \(\mathfrak{g} = \mathfrak{k} \oplus \mathfrak{m}\). |
|
Apply a recursive Cartan decomposition specified by a chain of decomposition types. |
|
Compute a Cartan subalgebra (CSA) \(\mathfrak{a} \subseteq \mathfrak{m}\). |
|
Variational KaK decomposition of Hermitian |
Utility functions¶
|
Transform adjoint vector representations back into operator format. |
|
Decompose a batch of operators onto a given operator basis. |
|
Implementation of the trace inner product \(\langle A, B \rangle = \text{tr}\left(A B\right)/\text{dim}(A)\) between two Hermitian operators \(A\) and \(B\). |
|
Orthonormalize a list of basis vectors. |
Computes the coefficients of one or multiple Hermitian matrices in the Pauli basis. |
|
|
Decomposes a Hermitian matrix or a batch of matrices into a linear combination of Pauli operators. |
|
Utility function to check if operators in |
|
Helper function to check \([\text{ops1}, \text{ops2}] \subseteq \text{vspace}\). |
|
Helper function to check if all operators in |
|
Helper function to check the validity of a Cartan decomposition \(\mathfrak{g} = \mathfrak{k} \oplus \mathfrak{m}.\) |
|
Apply a |
|
Helper function to validate a khk decomposition |
|
Boilerplate jax optimization |
Involutions¶
A map \(\theta: \mathfrak{g} \rightarrow \mathfrak{g}\) from the Lie algebra \(\mathfrak{g}\) to itself is called an involution
when it fulfills \(\theta(\theta(g)) = g \ \forall g \in \mathfrak{g}\) and is compatible with commutators,
\([\theta(g), \theta(g')]=\theta([g, g']).\) Involutions are used to construct a cartan_decomp()
. There are seven canonical
Cartan involutions of real simple Lie algebras (AI, AII, AIII, BDI, CI, CII, DIII
),
see Wikipedia.
In addition, there is a canonical Cartan involution for real semisimple algebras that consist of
two isomorphic simple components (ClassB
), see here.
The Even-Odd involution. |
|
The Concurrence Canonical Decomposition \(\Theta(g) = -g^T\) as a Cartan involution function. |
|
|
Khaneja-Glaser involution, which is a type- |
|
Canonical Cartan decomposition of type AI, given by \(\theta: x \mapsto x^\ast\). |
|
Canonical Cartan decomposition of type AII, given by \(\theta: x \mapsto Y_0 x^\ast Y_0\). |
|
Canonical Cartan decomposition of type AIII, given by \(\theta: x \mapsto I_{p,q} x I_{p,q}\). |
|
Canonical Cartan decomposition of type BDI, given by \(\theta: x \mapsto I_{p,q} x I_{p,q}\). |
|
Canonical Cartan decomposition of type CI, given by \(\theta: x \mapsto x^\ast\). |
|
Canonical Cartan decomposition of type CII, given by \(\theta: x \mapsto K_{p,q} x K_{p,q}\). |
|
Canonical Cartan decomposition of type DIII, given by \(\theta: x \mapsto Y_0 x Y_0\). |
|
Canonical Cartan decomposition of class B, given by \(\theta: x \mapsto Y_0 x Y_0\). |