LeanPool.Monlib4.QuantumGraph.QamAExample #
Imported Lean Pool material for LeanPool.Monlib4.QuantumGraph.QamAExample.
Examples of single-edged quantum graph #
This file contains examples of single-edged quantum graphs over M₂(ℂ). The main result is
that all single-edged quantum graphs over M₂(ℂ) are isomorphic each other.
def
traceModuleDual
{𝕜 : Type u_1}
{n : Type u_2}
[Fintype n]
[RCLike 𝕜]
:
Module.Dual 𝕜 (Matrix n n 𝕜)
The trace functional on square matrices.
Equations
Instances For
The trace functional is faithful and positive.
theorem
Matrix.smul_stdBasisMatrix
{R : Type u_1}
{α : Type u_2}
{n : Type u_3}
{m : Type u_4}
[DecidableEq n]
[DecidableEq m]
[Zero R]
[SMulZeroClass α R]
(a : α)
(i : n)
(j : m)
(x : R)
:
theorem
Matrix.stdBasisMatrix.transpose
{R : Type u_1}
{n : Type u_2}
{m : Type u_3}
[DecidableEq n]
[DecidableEq m]
[Semiring R]
(i : n)
(j : m)
:
theorem
StarAlgEquiv.eq_comp_iff
{R : Type u_1}
{E₁ : Type u_2}
{E₂ : Type u_3}
{E₃ : Type u_4}
[_inst_1 : CommSemiring R]
[_inst_2 : Semiring E₂]
[_inst_3 : Semiring E₃]
[_inst_4 : AddCommMonoid E₁]
[_inst_5 : Algebra R E₂]
[_inst_6 : Algebra R E₃]
[_inst_7 : Module R E₁]
[_inst_8 : Star E₂]
[_inst_9 : Star E₃]
(f : E₂ ≃⋆ₐ[R] E₃)
(x : E₁ →ₗ[R] E₂)
(y : E₁ →ₗ[R] E₃)
:
theorem
Qam.iso_preserves_ir_reflexive
{n : Type u_1}
[Fintype n]
[DecidableEq n]
[Nontrivial n]
{φ : Module.Dual ℂ (Matrix n n ℂ)}
[hφ : φ.IsFaithfulPosMap]
{x y : Matrix n n ℂ →ₗ[ℂ] Matrix n n ℂ}
(hxhy : Iso x y)
(ir_reflexive : Prop)
[Decidable ir_reflexive]
:
a function f : A → B is almost injective if for all $x, y \in A$,
if $f(x)=f(y)$ then there exists some $0\neq\alpha \in \mathbb{C}$ such that
$x = \alpha y$ (in other words, $x$ and $y$ are co-linear)
Instances For
theorem
Matrix.IsAlmostHermitian.spectrum
{n : Type u_1}
[Fintype n]
[DecidableEq n]
{x : Matrix n n ℂ}
(hx : x.IsAlmostHermitian)
:
theorem
Matrix.IsAlmostHermitian.trace
{n : Type u_1}
[Fintype n]
[DecidableEq n]
{x : Matrix n n ℂ}
(hx : x.IsAlmostHermitian)
:
@[reducible]
noncomputable def
Matrix.IsAlmostHermitian.eigenvectorUnitary
{n : Type u_1}
[Fintype n]
[DecidableEq n]
{x : Matrix n n ℂ}
(hx : x.IsAlmostHermitian)
:
↥(unitaryGroup n ℂ)
The unitary eigenvector matrix chosen for an almost-Hermitian matrix.
Equations
Instances For
@[reducible]
noncomputable def
Matrix.IsAlmostHermitian.eigenvectorMatrix
{n : Type u_1}
[Fintype n]
[DecidableEq n]
{x : Matrix n n ℂ}
(hx : x.IsAlmostHermitian)
:
The eigenvector matrix chosen for an almost-Hermitian matrix.
Equations
Instances For
theorem
Matrix.IsAlmostHermitian.eigenvectorMatrix_eq
{n : Type u_1}
[Fintype n]
[DecidableEq n]
{x : Matrix n n ℂ}
(hx : x.IsAlmostHermitian)
:
theorem
Matrix.IsAlmostHermitian.eigenvectorUnitary_eq
{n : Type u_1}
[Fintype n]
[DecidableEq n]
{x : Matrix n n ℂ}
(hx : x.IsAlmostHermitian)
:
theorem
Matrix.IsAlmostHermitian.spectral_theorem'
{n : Type u_1}
[Fintype n]
[DecidableEq n]
{x : Matrix n n ℂ}
(hx : x.IsAlmostHermitian)
:
theorem
Matrix.IsAlmostHermitian.eigenvalues_eq
{n : Type u_1}
[Fintype n]
[DecidableEq n]
{x : Matrix n n ℂ}
(hx : x.IsAlmostHermitian)
:
theorem
Matrix.IsAlmostHermitian.spectral_theorem
{n : Type u_1}
[Fintype n]
[DecidableEq n]
{x : Matrix n n ℂ}
(hx : x.IsAlmostHermitian)
:
theorem
Matrix.IsAlmostHermitian.eigenvalues_eq_zero_iff
{n : Type u_1}
[Fintype n]
[DecidableEq n]
{x : Matrix n n ℂ}
(hx : x.IsAlmostHermitian)
:
theorem
Matrix.unitaryGroup.star_mul_cancel_right
{n : Type u_1}
[Fintype n]
[DecidableEq n]
{U₁ U₂ : ↥(unitaryGroup n ℂ)}
:
theorem
qamA.finTwoIso
(x y : { x : Matrix (Fin 2) (Fin 2) ℂ // x ≠ 0 })
(hx1 : IsSelfAdjoint (qamA ⋯ x))
(hx2 : (Qam.reflIdempotent ⋯ (qamA ⋯ x)) 1 = 0)
(hy1 : IsSelfAdjoint (qamA ⋯ y))
(hy2 : (Qam.reflIdempotent ⋯ (qamA ⋯ y)) 1 = 0)
:
theorem
Qam.finTwoIsoOfSingleEdge
{A B : Matrix (Fin 2) (Fin 2) ℂ →ₗ[ℂ] Matrix (Fin 2) (Fin 2) ℂ}
(hx0 : RealQam ⋯ A)
(hy0 : RealQam ⋯ B)
(hx : hx0.edges = 1)
(hy : hy0.edges = 1)
(hx1 : IsSelfAdjoint A)
(hx2 : (reflIdempotent ⋯ A) 1 = 0)
(hy1 : IsSelfAdjoint B)
(hy2 : (reflIdempotent ⋯ B) 1 = 0)
:
Iso A B