Skip to content

Commit

Permalink
Fix doc comment on DumpOperation (#2016)
Browse files Browse the repository at this point in the history
The matrix was wrong in the doc comment, in that it was showing H as
diagonal and shouldn't be.
  • Loading branch information
swernli authored Nov 12, 2024
1 parent 6f376c4 commit 7bf3826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/Std/Diagnostics.qs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function DumpRegister(register : Qubit[]) : Unit {
/// # Remarks
/// When run on the sparse-state simulator, the following snippet
/// will output the matrix
/// $\left(\begin{matrix} 0.0 & 0.707 \\\\ 0.707 & 0.0\end{matrix}\right)$:
/// $\left(\begin{matrix} 0.707 & 0.707 \\\\ 0.707 & -0.707\end{matrix}\right)$:
///
/// ```qsharp
/// operation DumpH() : Unit {
Expand Down

0 comments on commit 7bf3826

Please sign in to comment.