Skip to content

Commit 9fd715e

Browse files
committed
Update status bar text for QIR profile
1 parent 3fac71e commit 9fd715e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

vscode/src/circuit.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ export function updateCircuitPanel(
337337
? `${params.operation.operation} with ${params.operation.totalNumQubits} input qubits`
338338
: projectName;
339339

340-
// Trim the Q#: prefix from the target profile name - that's meant for the ui text in the status bar
341-
const target = `Target profile: ${getTargetFriendlyName(targetProfile).replace("Q#: ", "")} `;
340+
// Trim the QIR: prefix from the target profile name - that's meant for the ui text in the status bar
341+
const target = `Target profile: ${getTargetFriendlyName(targetProfile).replace("QIR: ", "")} `;
342342

343343
const props = {
344344
title,

vscode/src/config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ export async function setTarget(target: TargetProfile) {
3232
export function getTargetFriendlyName(targetProfile?: string) {
3333
switch (targetProfile) {
3434
case "base":
35-
return "Q#: QIR base";
35+
return "QIR: base";
3636
case "adaptive_ri":
37-
return "Q#: QIR Adaptive RI";
37+
return "QIR: Adaptive RI";
3838
case "adaptive_rif":
39-
return "Q#: QIR Adaptive RIF";
39+
return "QIR: Adaptive RIF";
4040
case "unrestricted":
41-
return "Q#: unrestricted";
41+
return "QIR: unrestricted";
4242
default:
4343
log.error("invalid target profile found");
44-
return "Q#: invalid";
44+
return "QIR: invalid";
4545
}
4646
}
4747

0 commit comments

Comments
 (0)