From 16a34bf85170bb24faf4257de1c13b8ea43b47c7 Mon Sep 17 00:00:00 2001 From: Hannah McDougall Date: Mon, 8 Jul 2024 14:29:51 +0100 Subject: [PATCH] handle legacy tk1 optype --- src/optype.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/optype.rs b/src/optype.rs index 9a9877e..70cdaca 100644 --- a/src/optype.rs +++ b/src/optype.rs @@ -156,10 +156,12 @@ pub enum OpType { /// \f$ \mathrm{TK1}(\alpha, \beta, \gamma) = \mathrm{Rz}(\alpha) /// \mathrm{Rx}(\beta) \mathrm{Rz}(\gamma) \f$ + #[serde(alias = "tk1")] TK1, /// \f$ \mathrm{TK2}(\alpha, \beta, \gamma) = \mathrm{XXPhase}(\alpha) /// \mathrm{YYPhase}(\beta) \mathrm{ZZPhase}(\gamma) \f$ + #[serde(alias = "tk2")] TK2, /// Controlled [`OpType::X`].