# openfermion.ops.antisymmetric_canonical_form

Compute the canonical form of an antisymmetric matrix.

The input is a real, antisymmetric n x n matrix A, where n is even. Its canonical form is::

``````A = R^T C R
``````

where R is a real, orthogonal matrix and C has the form::

``````[  0     D ]
[ -D     0 ]
``````

where D is a diagonal matrix with nonnegative entries.

`antisymmetric_matrix` `ndarray`

An antisymmetric matrix with even dimension.

`canonical` `ndarray`

The canonical form C of antisymmetric_matrix

`orthogonal` `ndarray`

The orthogonal transformation R.

[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"Missing the information I need" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Too complicated / too many steps" },{ "type": "thumb-down", "id": "outOfDate", "label":"Out of date" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples / code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Other" }]
[{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type": "thumb-up", "id": "otherUp", "label":"Other" }]