qsharp-widgets 1.26.3.dev0__py2.py3-none-any.whl → 1.26.4.dev0__py2.py3-none-any.whl
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.
- qsharp_widgets/__init__.py +3 -0
- qsharp_widgets/static/index.css +1 -1
- qsharp_widgets/static/index.js +98 -98
- {qsharp_widgets-1.26.3.dev0.dist-info → qsharp_widgets-1.26.4.dev0.dist-info}/METADATA +1 -1
- qsharp_widgets-1.26.4.dev0.dist-info/RECORD +6 -0
- qsharp_widgets-1.26.3.dev0.dist-info/RECORD +0 -6
- {qsharp_widgets-1.26.3.dev0.dist-info → qsharp_widgets-1.26.4.dev0.dist-info}/WHEEL +0 -0
qsharp_widgets/__init__.py
CHANGED
|
@@ -239,6 +239,9 @@ class MoleculeViewer(anywidget.AnyWidget):
|
|
|
239
239
|
|
|
240
240
|
Parameters:
|
|
241
241
|
- molecule_data: string containing the molecular data in XYZ format.
|
|
242
|
+
- cube_data (optional): a dictionary where keys are cube names and values are dictionaries with the following structure:
|
|
243
|
+
- "data": string containing the cube data in .cube file format.
|
|
244
|
+
- "info": (optional) a dictionary containing any metadata you want to display with the cube data.
|
|
242
245
|
"""
|
|
243
246
|
super().__init__(
|
|
244
247
|
molecule_data=molecule_data, cube_data=cube_data, isoval=isoval
|
qsharp_widgets/static/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root,body[data-theme=light],body[data-jp-theme-light=true],body[data-vscode-theme-kind=vscode-light],body[data-vscode-theme-kind=vscode-high-contrast-light]{--qdk-font-family: system-ui, "Segoe UI", "Roboto", sans-serif;--qdk-font-family-monospace: var( --vscode-editor-font-family, "Consolas", "Menlo", "Liberation Mono", monospace );--qdk-mid-gray: #888;--qdk-host-background: var( --vscode-editor-background, var(--jp-layout-color0, #eee) );--qdk-host-foreground: var( --vscode-editor-foreground, var(--jp-widgets-color, #222) );--qdk-background-accent: #ddd;--qdk-foreground-muted: #aaa;--qdk-text-high-contrast: #000;--qdk-widget-outline: #ccc;--qdk-menu-fill: #c4dbeb;--qdk-menu-fill-hover: #9cf;--qdk-menu-fill-selected: #7af;--qdk-focus-border: var(--vscode-focusBorder, var(--qdk-atom-fill));--qdk-description-foreground: var(--vscode-descriptionForeground, #666);--qdk-shape-fill: #8ab8ff;--qdk-shape-fill-selected: #b5c5f2;--qdk-shape-stroke-selected: #587ddd;--qdk-shape-stroke-hover: #6b6b6b;--qdk-gate-generic: #66d;--qdk-gate-pair: #eae753;--qdk-gate-measure: #822;--qdk-gate-reset: #282;--qdk-atom-fill: #0078d4;--qdk-atom-trail: #fa0}body[data-theme=dark],body[data-jp-theme-light=false],body[data-vscode-theme-kind=vscode-dark],body[data-vscode-theme-kind=vscode-high-contrast]{--qdk-host-background: var( --vscode-editor-background, var(--jp-layout-color0, #222) );--qdk-host-foreground: var( --vscode-editor-foreground, var(--jp-widgets-color, #eee) );--qdk-background-accent: #333;--qdk-foreground-muted: #666;--qdk-text-high-contrast: #fff;--qdk-widget-outline: #444;--qdk-menu-fill: #444;--qdk-menu-fill-hover: #468;--qdk-menu-fill-selected: #47a;--qdk-focus-border: var(--vscode-focusBorder, var(--qdk-atom-fill));--qdk-description-foreground: var( --vscode-descriptionForeground, var(--qdk-foreground-muted) );--qdk-shape-fill: #4aa3ff;--qdk-shape-fill-selected: #ffd54f;--qdk-shape-stroke-selected: #ffecb3;--qdk-shape-stroke-hover: #c5c5c5;--qdk-gate-generic: #ccf;--qdk-gate-pair: #b91;--qdk-gate-measure: #e88;--qdk-gate-reset: #8e8;--qdk-atom-fill: #9df;--qdk-atom-trail: #fa0}:root{--heading-background: #262679;--main-background: var( --vscode-editor-background, var(--jp-layout-color0, #ececf0) );--main-color: var( --vscode-editor-foreground, var(--jp-widgets-color, #202020) );--qs-tr-nth-color: var( --vscode-list-hoverBackground, var(--jp-layout-color1, var(--colab-secondary-surface-color, #f2f2f2)) );--nav-background: #bed1f4;--nav-hover-background: #b3bede;--nav-current-background: #b5c5f2;--border-color: #768f9c;--menu-box-fill: var(--main-background);--error-background-color: #ffe3e3;--warning-background-color: #fff6d7;--bar-selected-outline: #587ddd}.results-column{grid-area:results;margin-left:0;margin-top:32px;margin-right:120px}.active-tab{font-size:1.1rem;font-weight:600;text-decoration:underline}.results-labels{display:flex;height:32px}.results-labels>div{margin-right:40px;text-align:left;vertical-align:middle;cursor:pointer}.ast-output,.hir-output,.rir-output,.qir-output{height:40vh;min-height:400px;width:100%;resize:none;white-space:pre}.output-header{font-size:1.1rem;font-weight:400;margin-top:16px;margin-bottom:16px;display:flex;justify-content:space-between}.prev-next{font-weight:200;cursor:pointer}.result-label{margin-bottom:24px;font-style:italic;font-weight:300}.message-output{font-weight:300;font-size:1.1rem;margin-bottom:16px}.state-table{border-collapse:collapse;font-size:.9rem;width:100%;min-width:400px;margin-bottom:16px}.state-table thead tr{background:var(--nav-background)}.state-table tbody tr{border-top:1px solid gray}.state-table td,.state-table th{text-align:center;padding:6px;white-space:nowrap}.state-table progress{margin-right:2px}.histogram{max-height:calc(100vh - 40px);max-width:600px;border:1px solid var(--qdk-widget-outline);background-color:var(--qdk-host-background)}.bar{fill:var(--qdk-shape-fill)}.bar:hover{stroke:var(--qdk-shape-stroke-hover);stroke-width:.5}.bar-selected{stroke:var(--qdk-shape-stroke-selected);fill:var(--qdk-shape-fill-selected)}.bar-label{font-size:3pt;fill:var(--qdk-text-high-contrast);text-anchor:end;pointer-events:none}.bar-label-ket{font-family:var(--qdk-font-family-monospace);font-variant-ligatures:none}.histo-label{font-size:3.5pt;fill:var(--qdk-host-foreground)}.hover-text{font-size:3.5pt;fill:var(--qdk-host-foreground);text-anchor:middle}.menu-icon *{fill:var(--qdk-host-background);stroke:var(--qdk-host-foreground)}.menu-box{fill:var(--qdk-host-background);stroke:var(--qdk-host-foreground);stroke-width:.1}.menu-item{width:32px;height:10px;fill:var(--qdk-menu-fill);stroke:var(--qdk-mid-gray);stroke-width:.2}.menu-item:hover{stroke-width:.6;fill:var(--qdk-menu-fill-hover)}.menu-selected{fill:var(--qdk-menu-fill-selected)}.menu-text{font-size:4.5px;pointer-events:none;fill:var(--qdk-host-foreground)}.menu-separator{stroke:var(--qdk-mid-gray);stroke-width:.25}.help-info{fill:var(--qdk-host-background);stroke:var(--qdk-mid-gray);stroke-width:.5}.help-info-text{font-size:4.5px;pointer-events:none;fill:var(--qdk-host-foreground)}.estimate-details{padding:1em}.estimate-details>summary{font-size:1.1em}.estimate-table{margin-top:1em;font-size:.9em}.estimate-table tr:nth-child(2n){background-color:var(--qs-tr-nth-color)}.estimate-cell{vertical-align:top;padding-right:8px}.title-cell{font-weight:700;white-space:nowrap}.value-cell{text-align:center;width:100px;white-space:nowrap}.estimate-explanation{margin-top:1em;margin-bottom:1em;max-width:500px}.estimate-assumption{margin:1em}#pieChart{fill:var(--main-color)}.spaceReport{display:flex;flex-direction:column}.spaceReportHeader{font-size:13px;background-color:var(--qs-tr-nth-color);border-top:.5px gray solid;border-bottom:.5px gray solid;padding:10px}.spaceReportRow{display:flex;font-size:12px;padding:10px 24px}.spaceDetailText{width:200px}.qs-help{font-size:14px;line-height:1.5;word-wrap:break-word}.qs-help h1{margin-top:16px;margin-bottom:8px;line-height:1.25;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--vscode-editorWidget-border)}.qs-help h2{margin-top:16px;margin-bottom:8px;font-weight:600;line-height:1.25;padding-bottom:.3em;font-size:1.4em;border-bottom:1px solid var(--vscode-editorWidget-border)}.qs-resultsTable-sortedTable{border-collapse:collapse;margin:12px 0;outline:none}.qs-resultsTable-sortedTable th,.qs-resultsTable-sortedTable td{padding:4px 8px;text-align:left}.qs-resultsTable-dragEnter{background-color:#8888;border-left:1.5px solid blue;border-right:1.5px solid blue}.qs-resultsTable-sortedTable tr:nth-child(2n){background:var(--qs-tr-nth-color)}.qs-resultsTable-sortedTable tbody tr:hover{background:var(--vscode-list-hoverBackground, var(--js-layout-color2))}.qs-resultsTable-sortedTableSelectedRow td{background:var(--vscode-button-background, var(--jp-layout-color3));color:var(--vscode-button-foreground);font-weight:600}.qs-resultsTable-columnMenu{display:none;width:160px}.qs-resultsTable-showColumnMenu{display:block;position:absolute;background-color:var(--vscode-menu-background, var(--main-background));border:1px solid #8888;padding:4px;z-index:100;text-align:left}.qs-resultsTable-menuItem{cursor:pointer;background-color:var(--vscode-list-hoverBackground, var(--jp-layout-color1));padding:4px;margin:2px;font-size:14px;font-weight:400}.qs-resultsTable-menuItem:hover{background-color:var(--vscode-menu-border, var(--jp-layout-color2))}.qs-resultsTable-columnSelected{cursor:pointer;padding:4px;font-weight:400;font-size:14px;background-color:var(--vscode-button-background, var(--jp-brand-color1));color:var(--vscode-button-foreground, var(--jp-ui-inverse-font-color0));margin:2px;border-radius:3px}.qs-resultsTable-headerCell{padding-right:20px}.qs-resultsTable-sortHeaderCell{padding-right:4px}@keyframes codicon-spin{to{transform:rotate(360deg);transform-origin:center}}.codicon-modifier-spin{fill:var(--vscode-icon-foreground, gray);animation:codicon-spin 1.5s steps(45) infinite}.qs-scatterChart-x-axisTitle,.qs-scatterChart-y-axisTitle{text-anchor:middle;font-size:16px;fill:var(--main-color)}.qs-scatterChart-y-axisTitle{writing-mode:vertical-lr;transform:rotate(180deg)}.qs-scatterChart-point{r:2px;stroke-width:4px}.qs-scatterChart-hover:hover{r:4px;stroke-width:4px;fill:#fff}.qs-scatterChart-point-selected{r:8px;stroke-width:4px;fill:#fff}.qs-scatterChart-watermark{font-size:16px;fill:var(--main-color)}.qs-scatterChart-tooltip,.qs-scatterChart-selectedInfo{position:absolute;visibility:hidden;background:var(--main-background);color:var(--main-color);border:var(--border-color) 1px solid;padding:4px}.qs-scatterChart-tooltip:after,.qs-scatterChart-selectedInfo:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent var(--border-color) transparent}.qs-scatterChart-axis,.qs-scatterChart-tick-line{stroke:var(--border-color)}.qs-scatterChart-x-tick-text{text-anchor:middle;fill:var(--main-color)}.qs-scatterChart-y-tick-text{text-anchor:end;fill:var(--main-color)}.qs-estimatesOverview-error{color:red}.qs-estimatesOverview-saveIcon{cursor:pointer;width:3em;height:3em;background-color:var(--main-background);position:absolute;bottom:5px;left:5px;border:none}.qs-estimatesOverview-saveIconSvgPath{fill:var(--main-color)!important;fill-rule:evenodd!important;clip-rule:evenodd!important}.qs-circuit-panel{p{padding:10px 0}}.qs-circuit{background:var(--main-background);.qs-circuit-error,.qs-circuit-error p{padding:10px 0}line,circle,rect{stroke:var(--main-color);stroke-width:1}text{fill:var(--main-color);dominant-baseline:middle;text-anchor:middle;user-select:none;pointer-events:none}.qs-maintext{font-family:KaTeX_Main,MJXZERO,MJXTEX,sans-serif;font-style:normal}.gate .qs-group-label{fill:var(--main-color);text-anchor:start}.qs-mathtext{font-family:KaTeX_Math,MJXZERO,MJXTEX-I,serif}[data-vscode-theme-kind] .qs-mathtext{font-style:italic}.gate-unitary{fill:var(--vscode-input-background, #333333)}.gate text{fill:var(--vscode-input-foreground, #ffffff)}a.qs-circuit-source-link .qs-qubit-label{pointer-events:auto}a.qs-circuit-source-link:hover .gate-unitary{fill:var(--vscode-button-secondaryHoverBackground, #4d4d4d)}a.qs-circuit-source-link:hover .gate-measure,a.qs-circuit-source-link:hover .gate-ket{fill:var(--vscode-button-hoverBackground, #005a9e)}a.qs-circuit-source-link:hover .qs-qubit-label{fill:var(--vscode-editorLink-activeForeground, #5d5d5d)}a.qs-circuit-source-link:hover .control-dot,a.qs-circuit-source-link:hover .control-line{fill:var(--vscode-editorLink-activeForeground, #5d5d5d);stroke:var(--vscode-editorLink-activeForeground, #5d5d5d)}a.qs-circuit-source-link:hover .oplus>line,a.qs-circuit-source-link:hover .oplus>circle{stroke:var(--vscode-editorLink-activeForeground, #5d5d5d)}.arg-button{fill:var(--vscode-editor-foreground, #ffffff);text-decoration:none;cursor:default;pointer-events:none;word-spacing:-.2em}.arg-button.edit-mode{text-decoration:underline;cursor:pointer;pointer-events:all}.control-line,.control-dot{fill:var(--main-color)}.oplus>line,.oplus>circle{fill:var(--main-background);stroke:var(--main-color);stroke-width:2}.gate-measure{fill:var(--vscode-button-background, #007acc)}.qs-line-measure,.arc-measure{stroke:var(--vscode-button-foreground, #ffffff);fill:none;stroke-width:1}.gate-ket{fill:var(--vscode-button-background, #007acc)}text.ket-text{fill:var(--vscode-button-foreground, #ffffff);stroke:none}rect.gate-swap{fill:transparent;stroke:transparent}.register-classical{stroke-width:.5}.hidden{display:none}.classically-controlled-btn circle{fill:var(--main-background);stroke-width:1}.classically-controlled-btn text{dominant-baseline:middle;text-anchor:middle;stroke:none;font-family:KaTeX_Main,MJXZERO,MJXTEX,sans-serif;fill:var(--main-color)}.qviz .gate-collapse,.qviz .gate-expand{opacity:0;transition:opacity .2s}.qviz:hover .gate-collapse,.qviz:hover .gate-expand{visibility:visible;opacity:.2;transition:visibility .2s;transition:opacity .2s}.qviz:hover .gate-collapse:hover,.qviz:hover .gate-expand:hover{visibility:visible;opacity:1;transition:opacity .2s}.gate-expand,.gate-collapse{cursor:pointer}.gate-collapse circle,.gate-expand circle{fill:#fff;stroke-width:2px;stroke:#000}.gate-collapse path,.gate-expand path{stroke-width:4px;stroke:#000}.dropzone-layer{display:none}.dropzone{fill-opacity:0%;stroke-opacity:0%}.dropzone:hover{fill:var(--vscode-editor-selectionBackground, #ec7063);fill-opacity:50%}.dropzone-full-wire{fill-opacity:0%;stroke-opacity:0%}.dropzone-full-wire:hover{fill:var(--vscode-editor-selectionBackground, #ec7063);fill-opacity:50%}.grab{cursor:grab}.moving{cursor:move}.copying{cursor:copy}.panel{display:flex;flex-direction:row;height:100%;align-items:stretch;min-height:0}.container{display:flex}.edit-panel{display:flex;flex-direction:column}.title{margin:0 0 4px;font-size:1.2rem;user-select:none}.block{display:block}.target-input,.controls-input,.parameters-input{margin-bottom:8px}.toolbox-panel{width:100px;min-height:var(--minToolboxHeight);border-right:medium solid var(--vscode-editorWidget-border, #000000);height:100%;min-height:0;overflow-y:auto;overflow-x:hidden}.toolbox-panel .title{margin-top:6px}.toolbox-panel-svg{width:-webkit-fill-available;min-height:var(--minToolboxHeight);height:auto}.ghost{width:var(--minGateWidth);height:var(--gateHeight);position:absolute;z-index:1;pointer-events:none;opacity:.5}.ghost-opacity{opacity:.5}.svg-run-button-rect{fill:var(--vscode-button-background, #007acc);rx:8;filter:drop-shadow(0 2px 4px rgba(0,0,0,.15));transition:fill .2s,filter .2s}.svg-run-button:hover .svg-run-button-rect,.svg-run-button:focus .svg-run-button-rect{fill:var(--vscode-button-hoverBackground, #005a9e);filter:drop-shadow(0 4px 8px rgba(0,0,0,.25))}.svg-run-button:focus{outline:none}.svg-run-button-text{fill:var(--vscode-button-foreground, #ffffff);font-size:16px;font-family:Segoe UI,Arial,sans-serif;font-weight:700;text-anchor:middle;dominant-baseline:middle;pointer-events:none;letter-spacing:1px;user-select:none}.svg-run-button{cursor:pointer}}.context-menu{position:absolute;background-color:var(--vscode-menu-background, #ffffff);border:1px solid var(--vscode-menu-border, #cccccc);box-shadow:0 2px 10px #0003;z-index:1000;padding:5px 0;border-radius:4px}.context-menu-option{padding:8px 12px;cursor:pointer;white-space:nowrap;color:var(--vscode-menu-foreground, #000000)}.context-menu-option:hover{background-color:var(--vscode-menu-selectionBackground, #f0f0f0);color:var(--vscode-menu-selectionForeground, #000000)}.prompt-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.prompt-container{background:var(--vscode-editor-background, #ffffff);color:var(--vscode-editor-foreground, #000000);padding:20px;border-radius:5px;box-shadow:0 0 10px #0000001a;text-align:center;width:400px;max-width:90%}.prompt-message{margin-bottom:10px;color:var(--vscode-editor-foreground, #000000);font-size:1rem}.prompt-input{width:100%;padding:8px;margin-bottom:10px;background:var(--vscode-input-background, #ffffff);color:var(--vscode-input-foreground, #000000);border:1px solid var(--vscode-input-border, #cccccc);font-size:1rem;border-radius:4px;box-sizing:border-box}.prompt-buttons{display:flex;justify-content:space-between}.prompt-button{padding:8px 16px;margin:0 5px;background:var(--vscode-button-background, #007acc);color:var(--vscode-button-foreground, #ffffff);border:1px solid var(--vscode-button-border, transparent);cursor:pointer;border-radius:4px}.prompt-button:hover{background:var(--vscode-button-hoverBackground, #005a9e)}.prompt-button:disabled{opacity:.4;cursor:not-allowed}.pi-button{width:40px;height:40px;padding:0;text-align:center;line-height:40px;font-size:16px}.state-panel{flex:0 0 0px;border-left:none;display:flex;flex-direction:column;background:var(--qdk-host-background, #ffffff);pointer-events:auto;height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;position:relative;transition:flex-basis var(--stateAnimMs, .2s) ease,width var(--stateAnimMs, .2s) ease,padding-left var(--stateAnimMs, .2s) ease;padding-left:36px}.state-panel:not(.collapsed){flex-basis:226px}.state-panel .state-svg{flex:0 0 auto;width:100%;height:auto;transition:opacity var(--stateAnimMs, .2s) ease}.state-loading-overlay{position:absolute;inset:0 0 0 36px;display:none;align-items:center;justify-content:center;pointer-events:none;z-index:10;background:color-mix(in srgb,var(--qdk-host-background, #ffffff) 70%,transparent);backdrop-filter:blur(.5px)}.state-panel.loading:not(.collapsed):not(.message) .state-loading-overlay{display:flex}.state-loading-spinner{width:22px;height:22px;border-radius:999px;border:3px solid var(--qdk-host-foreground, #666);border-right-color:transparent;opacity:.8;animation:stateLoadingSpin .85s linear infinite}@keyframes stateLoadingSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dev-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;row-gap:4px;width:100%;padding:4px 6px;font-size:12px;border-bottom:1px solid #ddd;transition:opacity var(--stateAnimMs, .2s) ease}.dev-toolbar-sep{opacity:.6}.dev-toolbar input{width:56px}.state-panel.collapsed{flex:0 0 36px!important;width:36px;overflow:visible;padding-left:0}.state-panel.collapsed .state-svg,.state-panel.collapsed .dev-toolbar,.state-panel.collapsed .state-panel-message{opacity:0;pointer-events:none}.state-edge{position:absolute;top:0;left:0;bottom:0;width:36px;background:var(--qdk-background-accent, #e6e6e6);border-right:1px solid var(--qdk-widget-outline, #c8c8c8);box-shadow:inset -1px 0 #0000000f;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:20;pointer-events:auto}.state-edge:focus{outline:none}.state-edge-text{writing-mode:vertical-rl;text-orientation:mixed;font-size:16px;font-weight:600;color:var(--qdk-host-foreground, #333);letter-spacing:.65px;user-select:none}.state-edge .edge-icon{position:absolute;width:18px;height:18px;right:8px;pointer-events:none;transform-origin:50% 50%}.state-edge .edge-icon-top{top:8px}.state-edge .edge-icon-bottom{bottom:8px}.state-edge .edge-icon svg{width:100%;height:100%;display:block}.state-edge .edge-icon path{fill:var(--qdk-host-foreground, #555);stroke:none}.state-panel.collapsed .state-edge .edge-icon{transform:rotate(180deg)}.state-panel.message .state-svg,.state-panel.message .dev-toolbar{height:auto;display:none}.state-svg .state-header{font-size:17px;font-weight:600;text-anchor:start;dominant-baseline:hanging;pointer-events:none}.state-svg .state-separator{stroke:#ddd;stroke-width:1px}.state-svg .state-bar{opacity:.9;transition:fill var(--stateAnimMs, .2s) ease,opacity var(--stateAnimMs, .2s) ease}.state-svg .state-bar-label{font-size:14px;text-anchor:middle;dominant-baseline:hanging;pointer-events:none}.state-svg .state-phase-circle{fill:none;stroke:#666;stroke-width:1px}.state-svg .state-phase-text{text-anchor:middle;dominant-baseline:hanging;font-size:14px;pointer-events:none}.state-svg .state-phase-dot{stroke:#333;stroke-width:.5px;transition:fill var(--stateAnimMs, .2s) ease,opacity var(--stateAnimMs, .2s) ease}.state-svg .state-phase-wedge{stroke:none;fill-opacity:.75;transition:fill var(--stateAnimMs, .2s) ease,opacity var(--stateAnimMs, .2s) ease}.state-svg .state-bitstring{font-size:14px;text-anchor:middle;dominant-baseline:hanging;pointer-events:none}.state-svg .state-bitstring-fo{writing-mode:vertical-rl;text-orientation:mixed;font-size:14px;line-height:1;text-align:center;width:-moz-fit-content;width:fit-content;margin-left:auto;margin-right:auto;color:var(--qdk-host-foreground, #000);pointer-events:none}.state-panel-message{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:8px;text-align:center;font-size:13px;color:var(--qdk-description-foreground);z-index:20;pointer-events:none;transition:opacity var(--stateAnimMs, .2s) ease}.circuit-editor-container{display:flex;height:80vh;width:95vw;align-items:stretch}.circuit-wrapper{display:block;overflow:auto;width:100%;flex:1 1 auto;min-width:0}.empty-circuit-message{padding:2em;text-align:center;color:var(--qdk-description-foreground);font-size:1.1em}.qs-atoms-app{background-color:var(--qdk-host-background);color:var(--qdk-host-foreground);font-family:var(--qdk-font-family);box-sizing:border-box;width:600px;border:1px solid var(--qdk-mid-gray);border-radius:8px;margin:24px auto auto;padding:16px;display:flex;flex-direction:column;position:relative}.qs-atoms-app:focus{outline:none}.qs-atoms-toolstrip{display:flex;align-items:center;justify-content:space-between}.qs-atoms-toolbar{height:28px;user-select:none}.qs-atoms-icon>circle{stroke:var(--qdk-host-foreground);stroke-width:6;fill:transparent;cursor:pointer}.qs-atoms-icon>.qs-atoms-info-dot{fill:var(--qdk-host-foreground);stroke:none;pointer-events:none}.qs-atoms-icon>circle:hover{stroke-width:10}.qs-atoms-icon>path{stroke:none;fill:var(--qdk-host-foreground);pointer-events:none}.qs-atoms-icon>.qs-atoms-icon-line{fill:none;stroke-width:16;stroke:var(--qdk-host-foreground);stroke-linecap:round;stroke-linejoin:round}.qs-atoms-slider:focus{outline:none}.qs-atoms-step{text-align:end;margin-right:20px;user-select:none;-webkit-user-select:none}.qs-atoms-bigsmall{margin-left:auto}.qs-atoms-zones{margin:8px auto}.qs-atoms-zone-text{font-size:8px;font-family:system-ui;fill:var(--qdk-mid-gray);stroke-width:0;user-select:none;-webkit-user-select:none}.qs-atoms-label{font-size:6px;font-family:system-ui;fill:var(--qdk-foreground-muted);stroke-width:0;user-select:none;-webkit-user-select:none;text-anchor:middle;dominant-baseline:central;width:20px}.qs-atoms-zonebox{stroke:var(--qdk-host-background);stroke-width:.75;fill:var(--qdk-menu-fill)}.qs-atoms-qubit{stroke:none;fill:var(--qdk-atom-fill)}.qs-atoms-qubit-trail-start{stroke:var(--qdk-mid-gray);stroke-width:1px;fill:var(--qdk-menu-fill);r:3px}.qs-atoms-qubit-trail{stroke:var(--qdk-mid-gray);stroke-width:1.5px;fill:none;stroke-dasharray:1,1}.qs-atoms-qubit-highlight{stroke:var(--qdk-atom-trail);stroke-width:1px}.qs-atoms-gate{fill:var(--qdk-gate-generic);stroke-width:0}.qs-atoms-gate-cz{fill:var(--qdk-gate-pair)}.qs-atoms-gate-mz{fill:var(--qdk-gate-measure)}.qs-atoms-gate-reset{fill:var(--qdk-gate-reset)}.qs-atoms-gate-text{stroke-width:0;fill:var(--qdk-host-background);font-size:5px;font-family:Verdana,Geneva,Tahoma,sans-serif;text-anchor:middle;dominant-baseline:central}.qs-atoms-gate-text-small{font-size:4px}.qs-atoms-info-box{position:absolute;display:none;left:40px;top:48px;border:1px solid var(--qdk-mid-gray);border-radius:8px;background-color:var(--qdk-host-background);color:var(--qdk-host-foreground);padding:16px;width:250px}.qs-atoms-info-box-grid{display:grid;grid-template-columns:50px 200px;padding:8px}#viewer,#viewer-container{width:100%;height:100%;margin:0;overflow:hidden}#viewer{width:100%;height:100%}#view-dropdown-container{position:absolute;top:10px;left:10px;height:20px;padding:10px;border-radius:4px;z-index:10;font-family:system-ui}#viewSelector{padding-left:4px}.view-option{display:flex;align-items:center;gap:8px}.view-option label{margin-right:0;white-space:nowrap;min-width:120px}.view-option select,.view-option input[type=range]{color:var(--qdk-host-foreground);background-color:var(--qdk-host-background)}#cube-dropdown-container{position:absolute;top:40px;left:10px;padding:10px;height:20px;border-radius:4px;z-index:10;font-family:system-ui}#isoval-slider-container{position:absolute;top:70px;left:10px;padding:10px;height:40px;border-radius:4px;z-index:10;font-family:system-ui}#isovalSlider{width:100px;outline:none}#isovalInput{width:64px}*,*:before,*:after{box-sizing:inherit;margin:0;padding:0}html{box-sizing:border-box;font-size:16px}
|
|
1
|
+
:root,body[data-theme=light],body[data-jp-theme-light=true],body[data-vscode-theme-kind=vscode-light],body[data-vscode-theme-kind=vscode-high-contrast-light]{--qdk-font-family: system-ui, "Segoe UI", "Roboto", sans-serif;--qdk-font-family-monospace: var( --vscode-editor-font-family, "Consolas", "Menlo", "Liberation Mono", monospace );--qdk-mid-gray: #888;--qdk-host-background: var( --vscode-editor-background, var(--jp-layout-color0, #eee) );--qdk-host-foreground: var( --vscode-editor-foreground, var(--jp-widgets-color, #222) );--qdk-background-accent: #ddd;--qdk-foreground-muted: #aaa;--qdk-text-high-contrast: #000;--qdk-widget-outline: #ccc;--qdk-menu-fill: #c4dbeb;--qdk-menu-fill-hover: #9cf;--qdk-menu-fill-selected: #7af;--qdk-focus-border: var(--vscode-focusBorder, var(--qdk-atom-fill));--qdk-description-foreground: var(--vscode-descriptionForeground, #666);--qdk-shape-fill: #8ab8ff;--qdk-shape-fill-selected: #b5c5f2;--qdk-shape-stroke-selected: #587ddd;--qdk-shape-stroke-hover: #6b6b6b;--qdk-gate-generic: #66d;--qdk-gate-pair: #eae753;--qdk-gate-measure: #822;--qdk-gate-reset: #282;--qdk-atom-fill: #0078d4;--qdk-atom-trail: #fa0}body[data-theme=dark],body[data-jp-theme-light=false],body[data-vscode-theme-kind=vscode-dark],body[data-vscode-theme-kind=vscode-high-contrast]{--qdk-host-background: var( --vscode-editor-background, var(--jp-layout-color0, #222) );--qdk-host-foreground: var( --vscode-editor-foreground, var(--jp-widgets-color, #eee) );--qdk-background-accent: #333;--qdk-foreground-muted: #666;--qdk-text-high-contrast: #fff;--qdk-widget-outline: #444;--qdk-menu-fill: #444;--qdk-menu-fill-hover: #468;--qdk-menu-fill-selected: #47a;--qdk-focus-border: var(--vscode-focusBorder, var(--qdk-atom-fill));--qdk-description-foreground: var( --vscode-descriptionForeground, var(--qdk-foreground-muted) );--qdk-shape-fill: #4aa3ff;--qdk-shape-fill-selected: #ffd54f;--qdk-shape-stroke-selected: #ffecb3;--qdk-shape-stroke-hover: #c5c5c5;--qdk-gate-generic: #ccf;--qdk-gate-pair: #b91;--qdk-gate-measure: #e88;--qdk-gate-reset: #8e8;--qdk-atom-fill: #9df;--qdk-atom-trail: #fa0}:root{--heading-background: #262679;--main-background: var( --vscode-editor-background, var(--jp-layout-color0, #ececf0) );--main-color: var( --vscode-editor-foreground, var(--jp-widgets-color, #202020) );--qs-tr-nth-color: var( --vscode-list-hoverBackground, var(--jp-layout-color1, var(--colab-secondary-surface-color, #f2f2f2)) );--nav-background: #bed1f4;--nav-hover-background: #b3bede;--nav-current-background: #b5c5f2;--border-color: #768f9c;--menu-box-fill: var(--main-background);--error-background-color: #ffe3e3;--warning-background-color: #fff6d7;--bar-selected-outline: #587ddd}.results-column{grid-area:results;margin-left:0;margin-top:32px;margin-right:120px}.active-tab{font-size:1.1rem;font-weight:600;text-decoration:underline}.results-labels{display:flex;height:32px}.results-labels>div{margin-right:40px;text-align:left;vertical-align:middle;cursor:pointer}.ast-output,.hir-output,.rir-output,.qir-output{height:40vh;min-height:400px;width:100%;resize:none;white-space:pre}.output-header{font-size:1.1rem;font-weight:400;margin-top:16px;margin-bottom:16px;display:flex;justify-content:space-between}.prev-next{font-weight:200;cursor:pointer}.result-label{margin-bottom:24px;font-style:italic;font-weight:300}.message-output{font-weight:300;font-size:1.1rem;margin-bottom:16px}.state-table{border-collapse:collapse;font-size:.9rem;width:100%;min-width:400px;margin-bottom:16px}.state-table thead tr{background:var(--nav-background)}.state-table tbody tr{border-top:1px solid gray}.state-table td,.state-table th{text-align:center;padding:6px;white-space:nowrap}.state-table progress{margin-right:2px}.histogram{max-height:calc(100vh - 40px);max-width:600px;border:1px solid var(--qdk-widget-outline);background-color:var(--qdk-host-background)}.bar{fill:var(--qdk-shape-fill)}.bar:hover{stroke:var(--qdk-shape-stroke-hover);stroke-width:.5}.bar-selected{stroke:var(--qdk-shape-stroke-selected);fill:var(--qdk-shape-fill-selected)}.bar-label{font-size:3pt;fill:var(--qdk-text-high-contrast);text-anchor:end;pointer-events:none}.bar-label-ket{font-family:var(--qdk-font-family-monospace);font-variant-ligatures:none}.histo-label{font-size:3.5pt;fill:var(--qdk-host-foreground)}.hover-text{font-size:3.5pt;fill:var(--qdk-host-foreground);text-anchor:middle}.menu-icon *{fill:var(--qdk-host-background);stroke:var(--qdk-host-foreground)}.menu-box{fill:var(--qdk-host-background);stroke:var(--qdk-host-foreground);stroke-width:.1}.menu-item{width:32px;height:10px;fill:var(--qdk-menu-fill);stroke:var(--qdk-mid-gray);stroke-width:.2}.menu-item:hover{stroke-width:.6;fill:var(--qdk-menu-fill-hover)}.menu-selected{fill:var(--qdk-menu-fill-selected)}.menu-text{font-size:4.5px;pointer-events:none;fill:var(--qdk-host-foreground)}.menu-separator{stroke:var(--qdk-mid-gray);stroke-width:.25}.help-info{fill:var(--qdk-host-background);stroke:var(--qdk-mid-gray);stroke-width:.5}.help-info-text{font-size:4.5px;pointer-events:none;fill:var(--qdk-host-foreground)}.estimate-details{padding:1em}.estimate-details>summary{font-size:1.1em}.estimate-table{margin-top:1em;font-size:.9em}.estimate-table tr:nth-child(2n){background-color:var(--qs-tr-nth-color)}.estimate-cell{vertical-align:top;padding-right:8px}.title-cell{font-weight:700;white-space:nowrap}.value-cell{text-align:center;width:100px;white-space:nowrap}.estimate-explanation{margin-top:1em;margin-bottom:1em;max-width:500px}.estimate-assumption{margin:1em}#pieChart{fill:var(--main-color)}.spaceReport{display:flex;flex-direction:column}.spaceReportHeader{font-size:13px;background-color:var(--qs-tr-nth-color);border-top:.5px gray solid;border-bottom:.5px gray solid;padding:10px}.spaceReportRow{display:flex;font-size:12px;padding:10px 24px}.spaceDetailText{width:200px}.qs-help{font-size:14px;line-height:1.5;word-wrap:break-word}.qs-help h1{margin-top:16px;margin-bottom:8px;line-height:1.25;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--vscode-editorWidget-border)}.qs-help h2{margin-top:16px;margin-bottom:8px;font-weight:600;line-height:1.25;padding-bottom:.3em;font-size:1.4em;border-bottom:1px solid var(--vscode-editorWidget-border)}.qs-resultsTable-sortedTable{border-collapse:collapse;margin:12px 0;outline:none}.qs-resultsTable-sortedTable th,.qs-resultsTable-sortedTable td{padding:4px 8px;text-align:left}.qs-resultsTable-dragEnter{background-color:#8888;border-left:1.5px solid blue;border-right:1.5px solid blue}.qs-resultsTable-sortedTable tr:nth-child(2n){background:var(--qs-tr-nth-color)}.qs-resultsTable-sortedTable tbody tr:hover{background:var(--vscode-list-hoverBackground, var(--js-layout-color2))}.qs-resultsTable-sortedTableSelectedRow td{background:var(--vscode-button-background, var(--jp-layout-color3));color:var(--vscode-button-foreground);font-weight:600}.qs-resultsTable-columnMenu{display:none;width:160px}.qs-resultsTable-showColumnMenu{display:block;position:absolute;background-color:var(--vscode-menu-background, var(--main-background));border:1px solid #8888;padding:4px;z-index:100;text-align:left}.qs-resultsTable-menuItem{cursor:pointer;background-color:var(--vscode-list-hoverBackground, var(--jp-layout-color1));padding:4px;margin:2px;font-size:14px;font-weight:400}.qs-resultsTable-menuItem:hover{background-color:var(--vscode-menu-border, var(--jp-layout-color2))}.qs-resultsTable-columnSelected{cursor:pointer;padding:4px;font-weight:400;font-size:14px;background-color:var(--vscode-button-background, var(--jp-brand-color1));color:var(--vscode-button-foreground, var(--jp-ui-inverse-font-color0));margin:2px;border-radius:3px}.qs-resultsTable-headerCell{padding-right:20px}.qs-resultsTable-sortHeaderCell{padding-right:4px}@keyframes codicon-spin{to{transform:rotate(360deg);transform-origin:center}}.codicon-modifier-spin{fill:var(--vscode-icon-foreground, gray);animation:codicon-spin 1.5s steps(45) infinite}.qs-scatterChart-x-axisTitle,.qs-scatterChart-y-axisTitle{text-anchor:middle;font-size:16px;fill:var(--main-color)}.qs-scatterChart-y-axisTitle{writing-mode:vertical-lr;transform:rotate(180deg)}.qs-scatterChart-point{r:2px;stroke-width:4px}.qs-scatterChart-hover:hover{r:4px;stroke-width:4px;fill:#fff}.qs-scatterChart-point-selected{r:8px;stroke-width:4px;fill:#fff}.qs-scatterChart-watermark{font-size:16px;fill:var(--main-color)}.qs-scatterChart-tooltip,.qs-scatterChart-selectedInfo{position:absolute;visibility:hidden;background:var(--main-background);color:var(--main-color);border:var(--border-color) 1px solid;padding:4px}.qs-scatterChart-tooltip:after,.qs-scatterChart-selectedInfo:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent var(--border-color) transparent}.qs-scatterChart-axis,.qs-scatterChart-tick-line{stroke:var(--border-color)}.qs-scatterChart-x-tick-text{text-anchor:middle;fill:var(--main-color)}.qs-scatterChart-y-tick-text{text-anchor:end;fill:var(--main-color)}.qs-estimatesOverview-error{color:red}.qs-estimatesOverview-saveIcon{cursor:pointer;width:3em;height:3em;background-color:var(--main-background);position:absolute;bottom:5px;left:5px;border:none}.qs-estimatesOverview-saveIconSvgPath{fill:var(--main-color)!important;fill-rule:evenodd!important;clip-rule:evenodd!important}.qs-circuit-panel{p{padding:10px 0}}.qs-circuit{background:var(--main-background);.qs-circuit-error,.qs-circuit-error p{padding:10px 0}line,circle,rect{stroke:var(--main-color);stroke-width:1}text{fill:var(--main-color);dominant-baseline:middle;text-anchor:middle;user-select:none;pointer-events:none}.qs-maintext{font-family:KaTeX_Main,MJXZERO,MJXTEX,sans-serif;font-style:normal}.gate .qs-group-label{fill:var(--main-color);text-anchor:start}.qs-mathtext{font-family:KaTeX_Math,MJXZERO,MJXTEX-I,serif}[data-vscode-theme-kind] .qs-mathtext{font-style:italic}.gate-unitary{fill:var(--vscode-input-background, #333333)}.gate text{fill:var(--vscode-input-foreground, #ffffff)}a.qs-circuit-source-link .qs-qubit-label{pointer-events:auto}a.qs-circuit-source-link:hover .gate-unitary{fill:var(--vscode-button-secondaryHoverBackground, #4d4d4d)}a.qs-circuit-source-link:hover .gate-measure,a.qs-circuit-source-link:hover .gate-ket{fill:var(--vscode-button-hoverBackground, #005a9e)}a.qs-circuit-source-link:hover .qs-qubit-label{fill:var(--vscode-editorLink-activeForeground, #5d5d5d)}a.qs-circuit-source-link:hover .control-dot,a.qs-circuit-source-link:hover .control-line{fill:var(--vscode-editorLink-activeForeground, #5d5d5d);stroke:var(--vscode-editorLink-activeForeground, #5d5d5d)}a.qs-circuit-source-link:hover .oplus>line,a.qs-circuit-source-link:hover .oplus>circle{stroke:var(--vscode-editorLink-activeForeground, #5d5d5d)}.arg-button{fill:var(--vscode-editor-foreground, #ffffff);text-decoration:none;cursor:default;pointer-events:none;word-spacing:-.2em}.arg-button.edit-mode{text-decoration:underline;cursor:pointer;pointer-events:all}.control-line,.control-dot{fill:var(--main-color)}.oplus>line,.oplus>circle{fill:var(--main-background);stroke:var(--main-color);stroke-width:2}.gate-measure{fill:var(--vscode-button-background, #007acc)}.qs-line-measure,.arc-measure{stroke:var(--vscode-button-foreground, #ffffff);fill:none;stroke-width:1}.gate-ket{fill:var(--vscode-button-background, #007acc)}text.ket-text{fill:var(--vscode-button-foreground, #ffffff);stroke:none}rect.gate-swap{fill:transparent;stroke:transparent}.register-classical{stroke-width:.5}.hidden{display:none}.classically-controlled-btn circle{fill:var(--main-background);stroke-width:1}.classically-controlled-btn text{dominant-baseline:middle;text-anchor:middle;stroke:none;font-family:KaTeX_Main,MJXZERO,MJXTEX,sans-serif;fill:var(--main-color)}.qviz .gate-collapse,.qviz .gate-expand{opacity:0;transition:opacity .2s}.qviz:hover .gate-collapse,.qviz:hover .gate-expand{visibility:visible;opacity:.2;transition:visibility .2s;transition:opacity .2s}.qviz:hover .gate-collapse:hover,.qviz:hover .gate-expand:hover{visibility:visible;opacity:1;transition:opacity .2s}.gate-expand,.gate-collapse{cursor:pointer}.gate-collapse circle,.gate-expand circle{fill:#fff;stroke-width:2px;stroke:#000}.gate-collapse path,.gate-expand path{stroke-width:4px;stroke:#000}.dropzone-layer{display:none}.dropzone{fill-opacity:0%;stroke-opacity:0%}.dropzone:hover{fill:var(--vscode-editor-selectionBackground, #ec7063);fill-opacity:50%}.dropzone-full-wire{fill-opacity:0%;stroke-opacity:0%}.dropzone-full-wire:hover{fill:var(--vscode-editor-selectionBackground, #ec7063);fill-opacity:50%}.grab{cursor:grab}.moving{cursor:move}.copying{cursor:copy}.panel{display:flex;flex-direction:row;height:100%;align-items:stretch;min-height:0}.container{display:flex}.edit-panel{display:flex;flex-direction:column}.title{margin:0 0 4px;font-size:1.2rem;user-select:none}.block{display:block}.target-input,.controls-input,.parameters-input{margin-bottom:8px}.toolbox-panel{width:100px;min-height:var(--minToolboxHeight);border-right:medium solid var(--vscode-editorWidget-border, #000000);height:100%;min-height:0;overflow-y:auto;overflow-x:hidden}.toolbox-panel .title{margin-top:6px}.toolbox-panel-svg{width:-webkit-fill-available;min-height:var(--minToolboxHeight);height:auto}.ghost{width:var(--minGateWidth);height:var(--gateHeight);position:absolute;z-index:1;pointer-events:none;opacity:.5}.ghost-opacity{opacity:.5}.svg-run-button-rect{fill:var(--vscode-button-background, #007acc);rx:8;filter:drop-shadow(0 2px 4px rgba(0,0,0,.15));transition:fill .2s,filter .2s}.svg-run-button:hover .svg-run-button-rect,.svg-run-button:focus .svg-run-button-rect{fill:var(--vscode-button-hoverBackground, #005a9e);filter:drop-shadow(0 4px 8px rgba(0,0,0,.25))}.svg-run-button:focus{outline:none}.svg-run-button-text{fill:var(--vscode-button-foreground, #ffffff);font-size:16px;font-family:Segoe UI,Arial,sans-serif;font-weight:700;text-anchor:middle;dominant-baseline:middle;pointer-events:none;letter-spacing:1px;user-select:none}.svg-run-button{cursor:pointer}}.context-menu{position:absolute;background-color:var(--vscode-menu-background, #ffffff);border:1px solid var(--vscode-menu-border, #cccccc);box-shadow:0 2px 10px #0003;z-index:1000;padding:5px 0;border-radius:4px}.context-menu-option{padding:8px 12px;cursor:pointer;white-space:nowrap;color:var(--vscode-menu-foreground, #000000)}.context-menu-option:hover{background-color:var(--vscode-menu-selectionBackground, #f0f0f0);color:var(--vscode-menu-selectionForeground, #000000)}.prompt-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.prompt-container{background:var(--vscode-editor-background, #ffffff);color:var(--vscode-editor-foreground, #000000);padding:20px;border-radius:5px;box-shadow:0 0 10px #0000001a;text-align:center;width:400px;max-width:90%}.prompt-message{margin-bottom:10px;color:var(--vscode-editor-foreground, #000000);font-size:1rem}.prompt-input{width:100%;padding:8px;margin-bottom:10px;background:var(--vscode-input-background, #ffffff);color:var(--vscode-input-foreground, #000000);border:1px solid var(--vscode-input-border, #cccccc);font-size:1rem;border-radius:4px;box-sizing:border-box}.prompt-buttons{display:flex;justify-content:space-between}.prompt-button{padding:8px 16px;margin:0 5px;background:var(--vscode-button-background, #007acc);color:var(--vscode-button-foreground, #ffffff);border:1px solid var(--vscode-button-border, transparent);cursor:pointer;border-radius:4px}.prompt-button:hover{background:var(--vscode-button-hoverBackground, #005a9e)}.prompt-button:disabled{opacity:.4;cursor:not-allowed}.pi-button{width:40px;height:40px;padding:0;text-align:center;line-height:40px;font-size:16px}.state-panel{flex:0 0 0px;border-left:none;display:flex;flex-direction:column;background:var(--qdk-host-background, #ffffff);pointer-events:auto;height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;position:relative;transition:flex-basis var(--stateAnimMs, .2s) ease,width var(--stateAnimMs, .2s) ease,padding-left var(--stateAnimMs, .2s) ease;padding-left:36px}.state-panel:not(.collapsed){flex-basis:226px}.state-panel .state-svg{flex:0 0 auto;width:100%;height:auto;transition:opacity var(--stateAnimMs, .2s) ease}.state-loading-overlay{position:absolute;inset:0 0 0 36px;display:none;align-items:center;justify-content:center;pointer-events:none;z-index:10;background:color-mix(in srgb,var(--qdk-host-background, #ffffff) 70%,transparent);backdrop-filter:blur(.5px)}.state-panel.loading:not(.collapsed):not(.message) .state-loading-overlay{display:flex}.state-loading-spinner{width:22px;height:22px;border-radius:999px;border:3px solid var(--qdk-host-foreground, #666);border-right-color:transparent;opacity:.8;animation:stateLoadingSpin .85s linear infinite}@keyframes stateLoadingSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dev-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;row-gap:4px;width:100%;padding:4px 6px;font-size:12px;border-bottom:1px solid #ddd;transition:opacity var(--stateAnimMs, .2s) ease}.dev-toolbar-sep{opacity:.6}.dev-toolbar input{width:56px}.state-panel.collapsed{flex:0 0 36px!important;width:36px;overflow:visible;padding-left:0}.state-panel.collapsed .state-svg,.state-panel.collapsed .dev-toolbar,.state-panel.collapsed .state-panel-message{opacity:0;pointer-events:none}.state-edge{position:absolute;top:0;left:0;bottom:0;width:36px;background:var(--qdk-background-accent, #e6e6e6);border-right:1px solid var(--qdk-widget-outline, #c8c8c8);box-shadow:inset -1px 0 #0000000f;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:20;pointer-events:auto}.state-edge:focus{outline:none}.state-edge-text{writing-mode:vertical-rl;text-orientation:mixed;font-size:16px;font-weight:600;color:var(--qdk-host-foreground, #333);letter-spacing:.65px;user-select:none}.state-edge .edge-icon{position:absolute;width:18px;height:18px;right:8px;pointer-events:none;transform-origin:50% 50%}.state-edge .edge-icon-top{top:8px}.state-edge .edge-icon-bottom{bottom:8px}.state-edge .edge-icon svg{width:100%;height:100%;display:block}.state-edge .edge-icon path{fill:var(--qdk-host-foreground, #555);stroke:none}.state-panel.collapsed .state-edge .edge-icon{transform:rotate(180deg)}.state-panel.message .state-svg,.state-panel.message .dev-toolbar{height:auto;display:none}.state-svg .state-header{font-size:17px;font-weight:600;text-anchor:start;dominant-baseline:hanging;pointer-events:none}.state-svg .state-separator{stroke:#ddd;stroke-width:1px}.state-svg .state-bar{opacity:.9;transition:fill var(--stateAnimMs, .2s) ease,opacity var(--stateAnimMs, .2s) ease}.state-svg .state-bar-label{font-size:14px;text-anchor:middle;dominant-baseline:hanging;pointer-events:none}.state-svg .state-phase-circle{fill:none;stroke:#666;stroke-width:1px}.state-svg .state-phase-text{text-anchor:middle;dominant-baseline:hanging;font-size:14px;pointer-events:none}.state-svg .state-phase-dot{stroke:#333;stroke-width:.5px;transition:fill var(--stateAnimMs, .2s) ease,opacity var(--stateAnimMs, .2s) ease}.state-svg .state-phase-wedge{stroke:none;fill-opacity:.75;transition:fill var(--stateAnimMs, .2s) ease,opacity var(--stateAnimMs, .2s) ease}.state-svg .state-bitstring{font-size:14px;text-anchor:middle;dominant-baseline:hanging;pointer-events:none}.state-svg .state-bitstring-fo{writing-mode:vertical-rl;text-orientation:mixed;font-size:14px;line-height:1;text-align:center;width:-moz-fit-content;width:fit-content;margin-left:auto;margin-right:auto;color:var(--qdk-host-foreground, #000);pointer-events:none}.state-panel-message{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:8px;text-align:center;font-size:13px;color:var(--qdk-description-foreground);z-index:20;pointer-events:none;transition:opacity var(--stateAnimMs, .2s) ease}.circuit-editor-container{display:flex;height:80vh;width:95vw;align-items:stretch}.circuit-wrapper{display:block;overflow:auto;width:100%;flex:1 1 auto;min-width:0}.empty-circuit-message{padding:2em;text-align:center;color:var(--qdk-description-foreground);font-size:1.1em}.qs-atoms-app{background-color:var(--qdk-host-background);color:var(--qdk-host-foreground);font-family:var(--qdk-font-family);box-sizing:border-box;width:600px;border:1px solid var(--qdk-mid-gray);border-radius:8px;margin:24px auto auto;padding:16px;display:flex;flex-direction:column;position:relative}.qs-atoms-app:focus{outline:none}.qs-atoms-toolstrip{display:flex;align-items:center;justify-content:space-between}.qs-atoms-toolbar{height:28px;user-select:none}.qs-atoms-icon>circle{stroke:var(--qdk-host-foreground);stroke-width:6;fill:transparent;cursor:pointer}.qs-atoms-icon>.qs-atoms-info-dot{fill:var(--qdk-host-foreground);stroke:none;pointer-events:none}.qs-atoms-icon>circle:hover{stroke-width:10}.qs-atoms-icon>path{stroke:none;fill:var(--qdk-host-foreground);pointer-events:none}.qs-atoms-icon>.qs-atoms-icon-line{fill:none;stroke-width:16;stroke:var(--qdk-host-foreground);stroke-linecap:round;stroke-linejoin:round}.qs-atoms-slider:focus{outline:none}.qs-atoms-step{text-align:end;margin-right:20px;user-select:none;-webkit-user-select:none}.qs-atoms-bigsmall{margin-left:auto}.qs-atoms-zones{margin:8px auto}.qs-atoms-zone-text{font-size:8px;font-family:system-ui;fill:var(--qdk-mid-gray);stroke-width:0;user-select:none;-webkit-user-select:none}.qs-atoms-label{font-size:6px;font-family:system-ui;fill:var(--qdk-foreground-muted);stroke-width:0;user-select:none;-webkit-user-select:none;text-anchor:middle;dominant-baseline:central;width:20px}.qs-atoms-zonebox{stroke:var(--qdk-host-background);stroke-width:.75;fill:var(--qdk-menu-fill)}.qs-atoms-qubit{stroke:none;fill:var(--qdk-atom-fill)}.qs-atoms-qubit-trail-start{stroke:var(--qdk-mid-gray);stroke-width:1px;fill:var(--qdk-menu-fill);r:3px}.qs-atoms-qubit-trail{stroke:var(--qdk-mid-gray);stroke-width:1.5px;fill:none;stroke-dasharray:1,1}.qs-atoms-qubit-highlight{stroke:var(--qdk-atom-trail);stroke-width:1px}.qs-atoms-gate{fill:var(--qdk-gate-generic);stroke-width:0}.qs-atoms-gate-cz{fill:var(--qdk-gate-pair)}.qs-atoms-gate-mz{fill:var(--qdk-gate-measure)}.qs-atoms-gate-reset{fill:var(--qdk-gate-reset)}.qs-atoms-gate-text{stroke-width:0;fill:var(--qdk-host-background);font-size:5px;font-family:Verdana,Geneva,Tahoma,sans-serif;text-anchor:middle;dominant-baseline:central}.qs-atoms-gate-text-small{font-size:4px}.qs-atoms-info-box{position:absolute;display:none;left:40px;top:48px;border:1px solid var(--qdk-mid-gray);border-radius:8px;background-color:var(--qdk-host-background);color:var(--qdk-host-foreground);padding:16px;width:250px}.qs-atoms-info-box-grid{display:grid;grid-template-columns:50px 200px;padding:8px}#viewer{width:100%;height:100%;margin:0;overflow:hidden}#viewer-container{width:100%;height:100%;margin:0;overflow:hidden;position:relative}#viewer{width:100%;height:100%}#controls-overlay{position:absolute;top:10px;left:10px;display:flex;align-items:flex-start;gap:32px;padding:10px;z-index:10;font-family:system-ui}.controls-column{display:flex;flex-direction:column;gap:8px}#viewSelector{padding-left:4px}.view-option{display:flex;align-items:center;gap:8px}.view-option label{margin-right:0;white-space:nowrap;min-width:120px}.view-option select,.view-option input[type=range]{color:var(--qdk-host-foreground);background-color:var(--qdk-host-background)}#isovalSlider{width:100px;outline:none}.data-overlay-row{display:flex;gap:8px}.data-overlay-key{min-width:80px;font-weight:400;white-space:nowrap}.data-overlay-value{font-variant-numeric:tabular-nums;white-space:nowrap}#isovalInput{width:64px}*,*:before,*:after{box-sizing:inherit;margin:0;padding:0}html{box-sizing:border-box;font-size:16px}
|