示例#1
0
 private static QVoid CreateArgument(System.CommandLine.Parsing.ParseResult parseResult) => QVoid.Instance;
示例#2
0
 public System.Threading.Tasks.Task <int> GenerateAzurePayload(System.CommandLine.Parsing.ParseResult parseResult, global::Microsoft.Quantum.EntryPointDriver.GenerateAzurePayloadSettings settings) => global::Microsoft.Quantum.EntryPointDriver.Azure.GenerateAzurePayload(settings, global::System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("__qsharp_data_qir_v1__.bc") is { } qirStream ? new global::Microsoft.Quantum.EntryPointDriver.QirSubmission(qirStream, "QuantumRNG.SampleRandomNumber", global::System.Collections.Immutable.ImmutableList.Create <global::Microsoft.Quantum.Runtime.Argument>()) : null);
示例#3
0
 public Int64 CreateArgument(System.CommandLine.Parsing.ParseResult parseResult) => parseResult.ValueForOption <Int64>("--" + System.CommandLine.Parsing.StringExtensions.ToKebabCase("max"));
 public System.Threading.Tasks.Task <int> Simulate(System.CommandLine.Parsing.ParseResult parseResult, Microsoft.Quantum.EntryPointDriver.DriverSettings settings, string simulator) => Microsoft.Quantum.EntryPointDriver.Simulation <global::BB84.Start, QVoid, QVoid> .Simulate(this, this.CreateArgument(parseResult), settings, simulator);
 public System.Threading.Tasks.Task <int> Submit(System.CommandLine.Parsing.ParseResult parseResult, Microsoft.Quantum.EntryPointDriver.AzureSettings settings) => Microsoft.Quantum.EntryPointDriver.Azure.Submit(global::BB84.Start.Info, this.CreateArgument(parseResult), settings);
 public System.Threading.Tasks.Task <int> Simulate(System.CommandLine.Parsing.ParseResult parseResult, Microsoft.Quantum.EntryPointDriver.DriverSettings settings, string simulator) => Microsoft.Quantum.EntryPointDriver.Simulation <global::QuantumRNG.SampleRandomNumber, QVoid, Int64> .Simulate(this, this.CreateArgument(parseResult), settings, simulator);
 public Double CreateArgument(System.CommandLine.Parsing.ParseResult parseResult) => parseResult.ValueForOption <Double>("--" + System.CommandLine.Parsing.StringExtensions.ToKebabCase("alpha"));