Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
471 changes: 284 additions & 187 deletions SQIR/Equivalences.v

Large diffs are not rendered by default.

12 changes: 4 additions & 8 deletions SQIR/ExtractionGateSet.v
Original file line number Diff line number Diff line change
Expand Up @@ -294,22 +294,19 @@ Proof.
unfold uc_eval. simpl.
rewrite Ropp_0.
apply f_equal.
unfold rotation.
solve_matrix; autorewrite with Cexp_db trig_db R_db; lca.
lma'; autorewrite with Cexp_db trig_db R_db; lca.
(* U_U2 *)
unfold uc_eval. simpl.
apply f_equal.
unfold rotation.
solve_matrix; autorewrite with Cexp_db trig_db R_db; lca.
lma'; autorewrite with Cexp_db trig_db R_db; lca.
(* U_CU1 *)
rewrite invert_control.
unfold uc_eval. simpl.
apply control_cong.
unfold uc_equiv. simpl.
rewrite Ropp_0.
apply f_equal.
unfold rotation.
solve_matrix; autorewrite with Cexp_db trig_db R_db; lca.
lma'; autorewrite with Cexp_db trig_db R_db; lca.
split; intro; invert_is_fresh; repeat constructor; auto.
(* U_CH *)
rewrite invert_control.
Expand All @@ -333,8 +330,7 @@ Proof.
unfold uc_equiv. simpl.
rewrite Ropp_0.
apply f_equal.
unfold rotation.
solve_matrix; autorewrite with Cexp_db trig_db R_db; lca.
lma'; autorewrite with Cexp_db trig_db R_db; lca.
split; intro; invert_is_fresh; repeat constructor; auto.
rewrite <- is_fresh_invert.
rewrite <- 2 fresh_control.
Expand Down
Loading
Loading