pdft.manifolds.Orthogonal2qManifold#

class pdft.manifolds.Orthogonal2qManifold[source]#

Bases: _TwoQubitStorage

O(4) for real-valued 2-qubit gates stored as (2, 2, 2, 2).

Projects gradients to the REAL skew-symmetric tangent subspace so the tensor stays in O(4) under Cayley retraction.

__init__()#
Return type:

None

Methods

__init__()

project(T, G)

retract(T, Xi, alpha, *[, I_batch])

transport(T_old, T_new, v)

Attributes

matrix: ClassVar[AbstractRiemannianManifold] = OrthogonalManifold(d=4)#