Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed Feb 26, 2024
1 parent 8c69cb2 commit 4b0334f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/circuit_json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,11 @@ pub enum OpBox {
id: BoxID,
/// The classical basis state permutation.
permutation: Permutation,
// Synthesis strategy. See [`ToffoliBoxSynthStrat`].
strat: ToffoliBoxSynthStrat,
// The rotation axis of the multiplexors used in the decomposition. Can
// be either `Rx` or `Ry`. Only applicable to the
// [`ToffoliBoxSynthStrat::Matching`] strategy. Default to `Ry`.
#[serde(skip_serializing_if = "Option::is_none")]
#[serde(default)]
rotation_axis: Option<OpType>,
Expand Down

0 comments on commit 4b0334f

Please sign in to comment.