Skip to content

Commit

Permalink
Fix R1Frac doc comments (#1851)
Browse files Browse the repository at this point in the history
  • Loading branch information
swernli authored Aug 15, 2024
1 parent 9ae1d2a commit 3b7b713
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions library/std/src/intrinsic.qs
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,7 @@ namespace Microsoft.Quantum.Intrinsic {
///
/// WARNING:
/// This operation uses the **opposite** sign convention from
/// Microsoft.Quantum.Intrinsic.R, and does not include the
/// factor of 1/2 included by Microsoft.Quantum.Intrinsic.R1.
/// Microsoft.Quantum.Intrinsic.R.
///
/// # Input
/// ## numerator
Expand All @@ -479,7 +478,7 @@ namespace Microsoft.Quantum.Intrinsic {
/// $$
/// \begin{align}
/// R_1(n, k) \mathrel{:=}
/// \operatorname{diag}(1, e^{i \pi k / 2^n}).
/// \operatorname{diag}(1, e^{i \pi n / 2^k}).
/// \end{align}
/// $$
///
Expand Down

0 comments on commit 3b7b713

Please sign in to comment.