qsharp-runtime icon indicating copy to clipboard operation
qsharp-runtime copied to clipboard

Consider refactoring the `Simulator` property of "CommonNativeSimulator/QubitManager.cs"

Open kuzminrobin opened this issue 3 years ago • 0 comments

            public CommonNativeSimulator? Simulator { get; set; }   // Must not be nullable (and public). But we cannot 
                // initialize it properly _during construction_. We initialize it _after construction_. 
                // That is why it is nullable and public.

Details.

kuzminrobin avatar Oct 14 '21 21:10 kuzminrobin