Add support for new microsoft-qc provider (#1091)
* Add support for new microsoft-qc provider * Make submitter specific to estimator * Fix second QIR Submitter factory as well
This commit is contained in:
Родитель
0f26a00302
Коммит
77085fb06f
|
@ -28,6 +28,11 @@ namespace Microsoft.Azure.Quantum
|
|||
"Microsoft.Quantum.Providers.Targets.MicrosoftSimulatorSubmitter, Microsoft.Quantum.Providers.Core",
|
||||
"QirSubmitter",
|
||||
ImmutableArray.Create("FullComputation")),
|
||||
new SubmitterInfo(
|
||||
new Regex(@"\Amicrosoft\.estimator(\.[\w-_]+)?\z"),
|
||||
"Microsoft.Quantum.Providers.Targets.MicrosoftEstimatorSubmitter, Microsoft.Quantum.Providers.Core",
|
||||
"QirSubmitter",
|
||||
ImmutableArray.Create("FullComputation")),
|
||||
new SubmitterInfo(
|
||||
new Regex(@"\Aquantinuum\.([\w-_]+\.)*[\w-_]+\z"),
|
||||
"Microsoft.Quantum.Providers.Quantinuum.Targets.QuantinuumQirSubmitter, Microsoft.Quantum.Providers.Honeywell",
|
||||
|
@ -49,7 +54,13 @@ namespace Microsoft.Azure.Quantum
|
|||
new Regex(@"\Amicrosoft\.simulator\.([\w]+\.)*[\w]+\z"),
|
||||
"Microsoft.Quantum.Providers.Targets.MicrosoftSimulatorSubmitter, Microsoft.Quantum.Providers.Core",
|
||||
"QirPayloadGenerator",
|
||||
ImmutableArray.Create("FullComputation")));
|
||||
ImmutableArray.Create("FullComputation")),
|
||||
new SubmitterInfo(
|
||||
new Regex(@"\Amicrosoft\.estimator(\.[\w-_]+)?\z"),
|
||||
"Microsoft.Quantum.Providers.Targets.MicrosoftEstimatorSubmitter, Microsoft.Quantum.Providers.Core",
|
||||
"QirPayloadGenerator",
|
||||
ImmutableArray.Create("FullComputation"))
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// Information about each supported Q# submitter.
|
||||
|
|
Загрузка…
Ссылка в новой задаче