Skip to content

Commit

Permalink
handle legacy tk1 optype
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah McDougall authored and Hannah McDougall committed Jul 8, 2024
1 parent f97cca7 commit 16a34bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/optype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`].
Expand Down

0 comments on commit 16a34bf

Please sign in to comment.