From 1a82b5617014a7bf20149189dfeeb6a4f07adf5e Mon Sep 17 00:00:00 2001 From: Irina Hristova Date: Sat, 10 Oct 2020 01:03:41 +0300 Subject: [PATCH 1/3] Update CommonGates.qs --- Standard/src/Canon/CommonGates.qs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Standard/src/Canon/CommonGates.qs b/Standard/src/Canon/CommonGates.qs index 65e755f6bd5..64315547131 100644 --- a/Standard/src/Canon/CommonGates.qs +++ b/Standard/src/Canon/CommonGates.qs @@ -12,10 +12,12 @@ namespace Microsoft.Quantum.Canon { /// /// $$ /// \begin{align} - /// 1 & 0 & 0 & 0 \\\\ - /// 0 & 1 & 0 & 0 \\\\ - /// 0 & 0 & 0 & 1 \\\\ - /// 0 & 0 & 1 & 0 + /// \left(\begin{matrix} + /// 1 & 0 & 0 & 0 \\\\ + /// 0 & 1 & 0 & 0 \\\\ + /// 0 & 0 & 0 & 1 \\\\ + /// 0 & 0 & 1 & 0 + /// \end{matrix}\right) /// \end{align}, /// $$ /// where rows and columns are organized as in the quantum concepts guide. From 4a700dcfe475e557d44432c44fb8b84b195796f0 Mon Sep 17 00:00:00 2001 From: Mathias Soeken Date: Mon, 12 Oct 2020 07:38:18 +0200 Subject: [PATCH 2/3] Update Standard/src/Canon/CommonGates.qs --- Standard/src/Canon/CommonGates.qs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Standard/src/Canon/CommonGates.qs b/Standard/src/Canon/CommonGates.qs index 64315547131..7f4d018d502 100644 --- a/Standard/src/Canon/CommonGates.qs +++ b/Standard/src/Canon/CommonGates.qs @@ -13,9 +13,9 @@ namespace Microsoft.Quantum.Canon { /// $$ /// \begin{align} /// \left(\begin{matrix} - /// 1 & 0 & 0 & 0 \\\\ - /// 0 & 1 & 0 & 0 \\\\ - /// 0 & 0 & 0 & 1 \\\\ + /// 1 & 0 & 0 & 0 \\ + /// 0 & 1 & 0 & 0 \\ + /// 0 & 0 & 0 & 1 \\ /// 0 & 0 & 1 & 0 /// \end{matrix}\right) /// \end{align}, From 30c6023cbddb4281389ccbeea62b7a5ff82c2cfe Mon Sep 17 00:00:00 2001 From: Irina Hristova Date: Mon, 12 Oct 2020 22:35:08 +0300 Subject: [PATCH 3/3] Update Standard/src/Canon/CommonGates.qs Co-authored-by: Chris Granade --- Standard/src/Canon/CommonGates.qs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Standard/src/Canon/CommonGates.qs b/Standard/src/Canon/CommonGates.qs index 7f4d018d502..64315547131 100644 --- a/Standard/src/Canon/CommonGates.qs +++ b/Standard/src/Canon/CommonGates.qs @@ -13,9 +13,9 @@ namespace Microsoft.Quantum.Canon { /// $$ /// \begin{align} /// \left(\begin{matrix} - /// 1 & 0 & 0 & 0 \\ - /// 0 & 1 & 0 & 0 \\ - /// 0 & 0 & 0 & 1 \\ + /// 1 & 0 & 0 & 0 \\\\ + /// 0 & 1 & 0 & 0 \\\\ + /// 0 & 0 & 0 & 1 \\\\ /// 0 & 0 & 1 & 0 /// \end{matrix}\right) /// \end{align},