Skip to content

Commit 7bf3826

Browse files
authored
Fix doc comment on DumpOperation (#2016)
The matrix was wrong in the doc comment, in that it was showing H as diagonal and shouldn't be.
1 parent 6f376c4 commit 7bf3826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/std/src/Std/Diagnostics.qs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function DumpRegister(register : Qubit[]) : Unit {
7878
/// # Remarks
7979
/// When run on the sparse-state simulator, the following snippet
8080
/// will output the matrix
81-
/// $\left(\begin{matrix} 0.0 & 0.707 \\\\ 0.707 & 0.0\end{matrix}\right)$:
81+
/// $\left(\begin{matrix} 0.707 & 0.707 \\\\ 0.707 & -0.707\end{matrix}\right)$:
8282
///
8383
/// ```qsharp
8484
/// operation DumpH() : Unit {

0 commit comments

Comments
 (0)