pdft.manifolds.OrthogonalManifold#
- class pdft.manifolds.OrthogonalManifold(d=2)[source]#
Bases:
objectO(d) for real-valued d×d unitaries (subset of UnitaryManifold).
Implementation: project gradients to the REAL skew-symmetric tangent subspace; Cayley retraction with a real W keeps the tensor real throughout training. Hadamards initialised at canonical form [[1, 1], [1, -1]] / sqrt(2) live in O(2) (det = -1) — the connected component is preserved by retraction, so we stay on the same coset.
- Parameters:
d (int)
Methods
Attributes