diff --git a/src/circuit_json.rs b/src/circuit_json.rs index 6047ce4..77da8b0 100644 --- a/src/circuit_json.rs +++ b/src/circuit_json.rs @@ -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,