diff --git a/vscode/src/azure/providerProperties.ts b/vscode/src/azure/providerProperties.ts index eafa1d3fc3..314b7cf6b4 100644 --- a/vscode/src/azure/providerProperties.ts +++ b/vscode/src/azure/providerProperties.ts @@ -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) {