Physlib Documentation

QuantumInfo.ForMathlib.HermitianMat.Sqrt

noncomputable def HermitianMat.sqrt {d : Type u_1} {๐•œ : Type u_2} [Fintype d] [DecidableEq d] [RCLike ๐•œ] (A : HermitianMat d ๐•œ) :
HermitianMat d ๐•œ

The square root of a Hermitian matrix. Negative eigenvalues are mapped to zero.

Equations
Instances For
    theorem HermitianMat.sqrt_sq_eq_proj {d : Type u_1} {๐•œ : Type u_2} [Fintype d] [DecidableEq d] [RCLike ๐•œ] (A : HermitianMat d ๐•œ) :
    โ†‘A.sqrt * โ†‘A.sqrt = โ†‘Aโบ
    theorem HermitianMat.sqrt_sq {d : Type u_1} {๐•œ : Type u_2} [Fintype d] [DecidableEq d] [RCLike ๐•œ] {A : HermitianMat d ๐•œ} (hA : 0 โ‰ค A) :
    โ†‘A.sqrt * โ†‘A.sqrt = โ†‘A
    theorem HermitianMat.commute_sqrt_left {d : Type u_1} {๐•œ : Type u_2} [Fintype d] [DecidableEq d] [RCLike ๐•œ] {A B : HermitianMat d ๐•œ} (hAB : Commute โ†‘A โ†‘B) :
    Commute โ†‘A.sqrt โ†‘B
    theorem HermitianMat.commute_sqrt_right {d : Type u_1} {๐•œ : Type u_2} [Fintype d] [DecidableEq d] [RCLike ๐•œ] {A B : HermitianMat d ๐•œ} (hAB : Commute โ†‘A โ†‘B) :
    Commute โ†‘A โ†‘B.sqrt
    theorem HermitianMat.sqrt_inv_mul_self_mul_sqrt_inv_eq_one {d : Type u_1} {๐•œ : Type u_2} [Fintype d] [DecidableEq d] [RCLike ๐•œ] {A : HermitianMat d ๐•œ} (hA : (โ†‘A).PosDef) :
    โ†‘Aโปยน.sqrt * โ†‘A * โ†‘Aโปยน.sqrt = 1

    For a positive definite matrix A, A^{-1/2} * A * A^{-1/2} = I.

    theorem HermitianMat.sqrt_nonneg {d : Type u_1} {๐•œ : Type u_2} [Fintype d] [DecidableEq d] [RCLike ๐•œ] (A : HermitianMat d ๐•œ) :
    theorem HermitianMat.sqrt_pos {d : Type u_1} {๐•œ : Type u_2} [Fintype d] [DecidableEq d] [RCLike ๐•œ] {A : HermitianMat d ๐•œ} (h : 0 < A) :
    0 < A.sqrt
    theorem HermitianMat.sqrt_posDef {d : Type u_1} {๐•œ : Type u_2} [Fintype d] [DecidableEq d] [RCLike ๐•œ] {A : HermitianMat d ๐•œ} (hA : (โ†‘A).PosDef) :
    (โ†‘A.sqrt).PosDef

    Positivity extension for HermitianMat.sqrt

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For