diff --git a/Standard/src/Characterization/EstimateFrequency.cs b/Standard/src/Characterization/EstimateFrequency.cs index b044e3ad..75cec3ee 100644 --- a/Standard/src/Characterization/EstimateFrequency.cs +++ b/Standard/src/Characterization/EstimateFrequency.cs @@ -71,7 +71,7 @@ namespace Microsoft.Quantum.Characterization var qubits = this.Allocate.Apply(count); Exception? innerException = null; - double result = null; + double result = 0.0; try { preparation.Apply(qubits);