From adb46adb2f8d76b55c3156b490740f93963086d3 Mon Sep 17 00:00:00 2001 From: Mariia Mykhailova Date: Mon, 5 Sep 2022 10:54:40 -0700 Subject: [PATCH 1/4] Fix API docs rendering for CY gate --- .../TargetDefinitions/Decompositions/CYFromCNOT.qs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Simulation/TargetDefinitions/Decompositions/CYFromCNOT.qs b/src/Simulation/TargetDefinitions/Decompositions/CYFromCNOT.qs index 364b4d2c573..d8037d33a2a 100644 --- a/src/Simulation/TargetDefinitions/Decompositions/CYFromCNOT.qs +++ b/src/Simulation/TargetDefinitions/Decompositions/CYFromCNOT.qs @@ -11,10 +11,12 @@ namespace Microsoft.Quantum.Canon { /// This operation can be simulated by the unitary matrix /// $$ /// \begin{align} - /// 1 & 0 & 0 & 0 \\\\ - /// 0 & 1 & 0 & 0 \\\\ - /// 0 & 0 & 0 & -i \\\\ - /// 0 & 0 & i & 0 + /// \left(\begin{matrix} + /// 1 & 0 & 0 & 0 \\\\ + /// 0 & 1 & 0 & 0 \\\\ + /// 0 & 0 & 0 & -i \\\\ + /// 0 & 0 & i & 0 + /// \end{matrix}\right) /// \end{align}, /// $$ /// where rows and columns are organized as in the quantum concepts guide. @@ -43,4 +45,4 @@ namespace Microsoft.Quantum.Canon { controlled distribute; controlled adjoint self; } -} \ No newline at end of file +} From 9dc8fe786049f7a9b2e6fb7be38594d463a9c417 Mon Sep 17 00:00:00 2001 From: Mariia Mykhailova Date: Mon, 5 Sep 2022 10:56:44 -0700 Subject: [PATCH 2/4] Fix API docs rendering for CZ gate --- .../Decompositions/CZFromSinglyControlled.qs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Simulation/TargetDefinitions/Decompositions/CZFromSinglyControlled.qs b/src/Simulation/TargetDefinitions/Decompositions/CZFromSinglyControlled.qs index 1c187619a69..a75978e49d2 100644 --- a/src/Simulation/TargetDefinitions/Decompositions/CZFromSinglyControlled.qs +++ b/src/Simulation/TargetDefinitions/Decompositions/CZFromSinglyControlled.qs @@ -11,10 +11,12 @@ namespace Microsoft.Quantum.Canon { /// This operation can be simulated by the unitary matrix /// $$ /// \begin{align} - /// 1 & 0 & 0 & 0 \\\\ - /// 0 & 1 & 0 & 0 \\\\ - /// 0 & 0 & 1 & 0 \\\\ - /// 0 & 0 & 0 & -1 + /// \left(\begin{matrix} + /// 1 & 0 & 0 & 0 \\\\ + /// 0 & 1 & 0 & 0 \\\\ + /// 0 & 0 & 1 & 0 \\\\ + /// 0 & 0 & 0 & -1 + /// \end{matrix}\right) /// \end{align}, /// $$ /// where rows and columns are organized as in the quantum concepts guide. @@ -54,4 +56,4 @@ namespace Microsoft.Quantum.Canon { } adjoint self; } -} \ No newline at end of file +} From 9d3fa7bdf932e03843dde642b7225873ce9f04fc Mon Sep 17 00:00:00 2001 From: Mariia Mykhailova Date: Mon, 5 Sep 2022 11:10:42 -0700 Subject: [PATCH 3/4] Fix links in R1Frac API docs --- src/Simulation/TargetDefinitions/Decompositions/R1Frac.qs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Simulation/TargetDefinitions/Decompositions/R1Frac.qs b/src/Simulation/TargetDefinitions/Decompositions/R1Frac.qs index 5c96cb77fb7..41242a091ae 100644 --- a/src/Simulation/TargetDefinitions/Decompositions/R1Frac.qs +++ b/src/Simulation/TargetDefinitions/Decompositions/R1Frac.qs @@ -15,8 +15,8 @@ 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". + /// > , and does not include the + /// > factor of $1/ 2$ included by . /// /// # Input /// ## numerator From 65666eb58d9bc97c3891d240d39c65276ebab3ca Mon Sep 17 00:00:00 2001 From: Mariia Mykhailova Date: Mon, 5 Sep 2022 11:11:30 -0700 Subject: [PATCH 4/4] Fix links in RFrac API docs --- src/Simulation/TargetDefinitions/Decompositions/RFrac.qs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simulation/TargetDefinitions/Decompositions/RFrac.qs b/src/Simulation/TargetDefinitions/Decompositions/RFrac.qs index 0e199c4874e..350e0e1df52 100644 --- a/src/Simulation/TargetDefinitions/Decompositions/RFrac.qs +++ b/src/Simulation/TargetDefinitions/Decompositions/RFrac.qs @@ -18,7 +18,7 @@ namespace Microsoft.Quantum.Intrinsic { /// /// > [!WARNING] /// > This operation uses the **opposite** sign convention from - /// > @"microsoft.quantum.intrinsic.r". + /// > . /// /// # Input /// ## pauli