Skip to content

Commit 9081860

Browse files
authored
Fixes for QuantumLib 1.6.0 and performance improvements (#61)
1 parent cc932ab commit 9081860

12 files changed

+1087
-867
lines changed

SQIR/Equivalences.v

+284-187
Large diffs are not rendered by default.

SQIR/ExtractionGateSet.v

+4-8
Original file line numberDiff line numberDiff line change
@@ -294,22 +294,19 @@ Proof.
294294
unfold uc_eval. simpl.
295295
rewrite Ropp_0.
296296
apply f_equal.
297-
unfold rotation.
298-
solve_matrix; autorewrite with Cexp_db trig_db R_db; lca.
297+
lma'; autorewrite with Cexp_db trig_db R_db; lca.
299298
(* U_U2 *)
300299
unfold uc_eval. simpl.
301300
apply f_equal.
302-
unfold rotation.
303-
solve_matrix; autorewrite with Cexp_db trig_db R_db; lca.
301+
lma'; autorewrite with Cexp_db trig_db R_db; lca.
304302
(* U_CU1 *)
305303
rewrite invert_control.
306304
unfold uc_eval. simpl.
307305
apply control_cong.
308306
unfold uc_equiv. simpl.
309307
rewrite Ropp_0.
310308
apply f_equal.
311-
unfold rotation.
312-
solve_matrix; autorewrite with Cexp_db trig_db R_db; lca.
309+
lma'; autorewrite with Cexp_db trig_db R_db; lca.
313310
split; intro; invert_is_fresh; repeat constructor; auto.
314311
(* U_CH *)
315312
rewrite invert_control.
@@ -333,8 +330,7 @@ Proof.
333330
unfold uc_equiv. simpl.
334331
rewrite Ropp_0.
335332
apply f_equal.
336-
unfold rotation.
337-
solve_matrix; autorewrite with Cexp_db trig_db R_db; lca.
333+
lma'; autorewrite with Cexp_db trig_db R_db; lca.
338334
split; intro; invert_is_fresh; repeat constructor; auto.
339335
rewrite <- is_fresh_invert.
340336
rewrite <- 2 fresh_control.

0 commit comments

Comments
 (0)