Physlib Documentation

QuantumInfo.ForMathlib.HermitianMat.Unitary

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    @[simp]
    theorem Matrix.neg_unitary_val {α : Type u_2} [DecidableEq α] [Fintype α] (u : 𝐔[α]) :
    ↑(-u) = -u
    @[simp]
    theorem Matrix.star_kron {α : Type u_2} {β : Type u_3} (a : Matrix α α ) (b : Matrix β β ) :
    star (kroneckerMap (fun (x1 x2 : ) => x1 * x2) a b) = kroneckerMap (fun (x1 x2 : ) => x1 * x2) (star a) (star b)
    theorem Matrix.kron_unitary {α : Type u_2} {β : Type u_3} [DecidableEq α] [Fintype α] [DecidableEq β] [Fintype β] (a : 𝐔[α]) (b : 𝐔[β]) :
    kroneckerMap (fun (x1 x2 : ) => x1 * x2) a b 𝐔[α × β]
    def Matrix.unitary_kron {α : Type u_2} {β : Type u_3} [DecidableEq α] [Fintype α] [DecidableEq β] [Fintype β] (a : 𝐔[α]) (b : 𝐔[β]) :
    𝐔[α × β]
    Equations
    Instances For
      @[simp]
      theorem Matrix.unitary_kron_apply {α : Type u_2} {β : Type u_3} [DecidableEq α] [Fintype α] [DecidableEq β] [Fintype β] (a : 𝐔[α]) (b : 𝐔[β]) (i₁ i₂ : α) (j₁ j₂ : β) :
      (unitary_kron a b) (i₁, j₁) (i₂, j₂) = a i₁ i₂ * b j₁ j₂
      @[simp]
      theorem Matrix.unitary_kron_one_one {α : Type u_2} {β : Type u_3} [DecidableEq α] [Fintype α] [DecidableEq β] [Fintype β] :
      theorem Matrix.unitary_row_sum_norm_sq {d : Type u_4} [Fintype d] [DecidableEq d] (C : Matrix d d ) (hC : C * C.conjTranspose = 1) (i : d) :
      j : d, C i j ^ 2 = 1

      For a unitary matrix C, the row sums of ‖C i j‖^2 equal 1.

      theorem Matrix.unitary_col_sum_norm_sq {d : Type u_4} [Fintype d] [DecidableEq d] (C : Matrix d d ) (hC : C.conjTranspose * C = 1) (j : d) :
      i : d, C i j ^ 2 = 1

      For a unitary matrix C, the column sums of ‖C i j‖^2 equal 1.

      @[simp]
      theorem HermitianMat.trace_conj_unitary {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n] [DecidableEq n] (A : HermitianMat n 𝕜) (U : (Matrix.unitaryGroup n 𝕜)) :
      ((conj U) A).trace = A.trace
      @[simp]
      theorem HermitianMat.le_conj_unitary {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n] [DecidableEq n] (A B : HermitianMat n 𝕜) (U : (Matrix.unitaryGroup n 𝕜)) :
      (conj U) A (conj U) B A B
      @[simp]
      theorem HermitianMat.inner_conj_unitary {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n] [DecidableEq n] (A B : HermitianMat n 𝕜) (U : (Matrix.unitaryGroup n 𝕜)) :
      inner ((conj U) A) ((conj U) B) = inner A B
      @[simp]
      theorem HermitianMat.eigenvalues_conj {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n] [DecidableEq n] (A : HermitianMat n 𝕜) (U : (Matrix.unitaryGroup n 𝕜)) :

      The eigenvalues of a Hermitian matrix conjugated by a unitary matrix are the same as the eigenvalues of the original matrix.