Skip to content

Commit

Permalink
Merge 13b18a6 into abbb8df
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarzc authored Aug 3, 2024
2 parents abbb8df + 13b18a6 commit a96cff8
Showing 1 changed file with 8 additions and 30 deletions.
38 changes: 8 additions & 30 deletions vscode/src/azure/providerProperties.ts
Original file line number Diff line number Diff line change
@@ -1,40 +1,18 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

// Note: Most of these should be dynamic at some point, with configuration coming
// from the service, and able to be overridden by settings.

const targetsThatSupportQir = [
"quantinuum.sim.h1-1sc",
"quantinuum.sim.h1-1e",
"quantinuum.qpu.h1-1",
"quantinuum.sim.h1-2sc",
"quantinuum.sim.h1-2e",
"quantinuum.qpu.h1-2",
"quantinuum.sim.h2-1sc",
"quantinuum.sim.h2-1e",
"quantinuum.qpu.h2-1",
"rigetti.sim.qvm",
"rigetti.qpu.ankaa-2",
"rigetti.qpu.ankaa-9q-1",
"rigetti.qpu.aspen-m-3",
"ionq.qpu-preview",
"ionq.qpu.aria-1-preview",
"ionq.qpu.aria-2-preview",
"ionq.qpu.forte-1",
"ionq.simulator-preview",
"ionq.qpu",
"ionq.qpu.aria-1",
"ionq.qpu.aria-2",
"ionq.simulator",
];

const excludeTargets: string[] = ["rigetti.qpu.aspen-m-2"];
const excludeTargets: string[] = ["ionq.qpu", "rigetti.qpu.aspen-m-2"];

const excludeProviders: string[] = [];

export function targetSupportQir(target: string) {
return targetsThatSupportQir.includes(target);
// Note: Most of these should be dynamic at some point, with configuration coming
// from the service, and able to be overridden by settings.
return (
target.startsWith("ionq") ||
target.startsWith("quantinuum") ||
target.startsWith("rigetti")
);
}

export function shouldExcludeTarget(target: string) {
Expand Down

0 comments on commit a96cff8

Please sign in to comment.