qsharp-lang 1.1.0-dev → 1.1.2-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "qsharp-lang",
3
3
  "description": "qsharp language package for quantum development",
4
- "version": "1.1.0-dev",
4
+ "version": "1.1.2-dev",
5
5
  "license": "MIT",
6
6
  "engines": {
7
7
  "node": ">=16.17.0"
@@ -112,7 +112,13 @@ function reDataToRowScatter(data: ReData, color: string): ScatterSeries {
112
112
  function createRunNames(estimatesData: ReData[]): string[] {
113
113
  // If there's only 1 entry, use the shared run name
114
114
  if (estimatesData.length === 1) {
115
- return [estimatesData[0].jobParams.sharedRunName];
115
+ const name =
116
+ estimatesData[0].jobParams.sharedRunName ??
117
+ estimatesData[0].jobParams.qubitParams.name ??
118
+ estimatesData[0].jobParams.qecScheme.name ??
119
+ "estimate";
120
+
121
+ return [name];
116
122
  }
117
123
 
118
124
  const fields: string[][] = [];