Skip to content

Commit c878472

Browse files
moved lemmas to correct files.
removed references to swapproperty file
1 parent 51a29bc commit c878472

File tree

5 files changed

+17
-21
lines changed

5 files changed

+17
-21
lines changed

GateHelpers.v

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ Require Import QuantumLib.Eigenvectors.
33
From Proof Require Import AlgebraHelpers.
44
From Proof Require Import MatrixHelpers.
55
From Proof Require Import SwapHelpers.
6-
From Proof Require Import SwapProperty.
76
From Proof Require Import QubitHelpers.
87
From Proof Require Import WFHelpers.
98

MatrixHelpers.v

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2426,3 +2426,20 @@ Proof.
24262426
}
24272427
}
24282428
Qed.
2429+
2430+
Lemma Mmult88_explicit_decomp: forall (A B: Square 8),
2431+
WF_Matrix A -> WF_Matrix B ->
2432+
A × B = ((fun x y =>
2433+
A x 0%nat * B 0%nat y + A x 1%nat * B 1%nat y
2434+
+ A x 2%nat * B 2%nat y + A x 3%nat * B 3%nat y
2435+
+ A x 4%nat * B 4%nat y + A x 5%nat * B 5%nat y
2436+
+ A x 6%nat * B 6%nat y + A x 7%nat * B 7%nat y) : Square 8).
2437+
Proof.
2438+
intros.
2439+
lma'.
2440+
unfold WF_Matrix.
2441+
intros.
2442+
destruct H1.
2443+
repeat rewrite H. lca. 1,2,3,4,5,6,7,8: lia.
2444+
repeat rewrite H0. lca. all: lia.
2445+
Qed.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Helper Files:
1313
- MatrixHelpers - Helper lemmas for matrix calculations.
1414
- QubitHelpers - Helper lemmas for unit vectors.
1515
- SwapHelpers - Helper lemmas for properties of swaps.
16-
- SwapProperty - Particular swap property that takes a long time to compile.
1716
- PartialTraceDefinitions - Adding the functions for tracing out qubits, and properties of the function.
1817
- TraceoutHelpers - Contains helper lemmas for tracing out qubits.
1918

SwapHelpers.v

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -191,24 +191,6 @@ Proof.
191191
reflexivity.
192192
Qed.
193193

194-
Lemma Mmult88_explicit_decomp: forall (A B: Square 8),
195-
WF_Matrix A -> WF_Matrix B ->
196-
A × B = ((fun x y =>
197-
A x 0%nat * B 0%nat y + A x 1%nat * B 1%nat y
198-
+ A x 2%nat * B 2%nat y + A x 3%nat * B 3%nat y
199-
+ A x 4%nat * B 4%nat y + A x 5%nat * B 5%nat y
200-
+ A x 6%nat * B 6%nat y + A x 7%nat * B 7%nat y) : Square 8).
201-
Proof.
202-
intros.
203-
lma'.
204-
unfold WF_Matrix.
205-
intros.
206-
destruct H1.
207-
repeat rewrite H. lca. 1,2,3,4,5,6,7,8: lia.
208-
repeat rewrite H0. lca. all: lia.
209-
Qed.
210-
211-
212194
Property swap_helper : forall (U : Square 4),
213195
WF_Matrix U ->
214196
swapbc × (U ⊗ I 2) × swapbc = swapab × (I 2 ⊗ U) × swapab.

Swaps.v

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ Require Import QuantumLib.Quantum.
22
From Proof Require Import SwapHelpers.
33
From Proof Require Import GateHelpers.
44
From Proof Require Import MatrixHelpers.
5-
From Proof Require Import SwapProperty.
65
From Proof Require Import WFHelpers.
76
Lemma a10 : forall (a b : Vector 2),
87
WF_Matrix a -> WF_Matrix b ->

0 commit comments

Comments
 (0)