From f34e5987c1d00fa98a95e68fe252dded33a29eeb Mon Sep 17 00:00:00 2001 From: Irina Hristova Date: Wed, 15 Mar 2023 12:36:12 +0200 Subject: [PATCH] Update example of function _ComputeJordanWignerBitString --- .../JordanWigner/JordanWignerClusterOperatorEvolutionSet.qs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chemistry/src/Runtime/JordanWigner/JordanWignerClusterOperatorEvolutionSet.qs b/Chemistry/src/Runtime/JordanWigner/JordanWignerClusterOperatorEvolutionSet.qs index cbe767b5ba9..a576ef12c67 100644 --- a/Chemistry/src/Runtime/JordanWigner/JordanWignerClusterOperatorEvolutionSet.qs +++ b/Chemistry/src/Runtime/JordanWigner/JordanWignerClusterOperatorEvolutionSet.qs @@ -24,7 +24,7 @@ namespace Microsoft.Quantum.Chemistry.JordanWigner { /// Bitstring `Bool[]` that is `true` where a `PauliZ` should be applied. /// /// # Example - /// let bitString = _ComputeJordanWignerBitString(6, [0,1,2,6]) ; + /// let bitString = _ComputeJordanWignerBitString(7, [0,1,2,6]) ; /// // bitString is [false, false, false ,true, true, true, false]. function _ComputeJordanWignerBitString(nFermions: Int, idxFermions: Int[]) : Bool[] { if Length(idxFermions) % 2 != 0 {