Skip to content

Commit c83acb1

Browse files
committed
[format] run formatter on all code
1 parent e8fbed4 commit c83acb1

File tree

9 files changed

+48
-52
lines changed

9 files changed

+48
-52
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
- Subsystem:
2727

2828

29-
* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
29+
* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

.github/workflows/check_copyright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
- name: Check license & copyright headers
1111
uses: viperproject/check-license-header@v2
1212
with:
13-
path:
13+
path:
1414
config: .github/workflows/check_copyright_config.json
15-
# strict: true
15+
# strict: true

.github/workflows/check_mkdocs_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
uses: astral-sh/setup-uv@v4
2222
# - run: cp -r examples/ docs/examples/
2323
- run: uv pip install .[docs] --system
24-
- run: mkdocs build
24+
- run: mkdocs build

.github/workflows/copyright.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
# distributed under the License is distributed on an "AS IS" BASIS,
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
13-
# limitations under the License.
13+
# limitations under the License.

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
### What's here:
17-
This repository contains the supporting infrastructure, base classes, and abstractions
17+
This repository contains the supporting infrastructure, base classes, and abstractions
1818
for creating custom compiler analysis, verification, and transformation passes.
1919
The modules in the repository are utilized for, e.g., lowering from the analog to atomic
2020
intermediate representations, and the atomic representation to bare metal descriptions of
@@ -50,47 +50,47 @@ mkdocs serve
5050
```mermaid
5151
block-beta
5252
columns 3
53-
53+
5454
block:Interface
5555
columns 1
5656
InterfaceTitle("<i><b>Interfaces</b><i/>")
57-
InterfaceDigital["<b>Digital Interface</b>\nQuantum circuits with discrete gates"]
57+
InterfaceDigital["<b>Digital Interface</b>\nQuantum circuits with discrete gates"]
5858
space
59-
InterfaceAnalog["<b>Analog Interface</b>\n Continuous-time evolution with Hamiltonians"]
59+
InterfaceAnalog["<b>Analog Interface</b>\n Continuous-time evolution with Hamiltonians"]
6060
space
6161
InterfaceAtomic["<b>Atomic Interface</b>\nLight-matter interactions between lasers and ions"]
6262
space
6363
end
64-
64+
6565
block:IR
6666
columns 1
6767
IRTitle("<i><b>IRs</b><i/>")
68-
IRDigital["Quantum circuit IR\nopenQASM, LLVM+QIR"]
68+
IRDigital["Quantum circuit IR\nopenQASM, LLVM+QIR"]
6969
space
7070
IRAnalog["openQSIM"]
7171
space
7272
IRAtomic["openAPL"]
7373
space
7474
end
75-
75+
7676
block:Emulator
7777
columns 1
7878
EmulatorsTitle("<i><b>Classical Emulators</b><i/>")
79-
80-
EmulatorDigital["Pennylane, Qiskit"]
79+
80+
EmulatorDigital["Pennylane, Qiskit"]
8181
space
8282
EmulatorAnalog["QuTiP, QuantumOptics.jl"]
8383
space
8484
EmulatorAtomic["TrICal, QuantumIon.jl"]
8585
space
8686
end
87-
87+
8888
space
8989
block:RealTime
9090
columns 1
9191
RealTimeTitle("<i><b>Real-Time</b><i/>")
9292
space
93-
RTSoftware["ARTIQ, DAX, OQDAX"]
93+
RTSoftware["ARTIQ, DAX, OQDAX"]
9494
space
9595
RTGateware["Sinara Real-Time Control"]
9696
space
@@ -100,39 +100,39 @@ block-beta
100100
space
101101
end
102102
space
103-
103+
104104
InterfaceDigital --> IRDigital
105105
InterfaceAnalog --> IRAnalog
106106
InterfaceAtomic --> IRAtomic
107-
107+
108108
IRDigital --> IRAnalog
109109
IRAnalog --> IRAtomic
110-
110+
111111
IRDigital --> EmulatorDigital
112112
IRAnalog --> EmulatorAnalog
113113
IRAtomic --> EmulatorAtomic
114-
114+
115115
IRAtomic --> RealTimeTitle
116-
116+
117117
RTSoftware --> RTGateware
118118
RTGateware --> RTHardware
119119
RTHardware --> RTApparatus
120-
120+
121121
classDef title fill:#d6d4d4,stroke:#333,color:#333;
122122
classDef digital fill:#E7E08B,stroke:#333,color:#333;
123123
classDef analog fill:#E4E9B2,stroke:#333,color:#333;
124124
classDef atomic fill:#D2E4C4,stroke:#333,color:#333;
125125
classDef realtime fill:#B5CBB7,stroke:#333,color:#333;
126126
127127
classDef highlight fill:#f2bbbb,stroke:#333,color:#333,stroke-dasharray: 5 5;
128-
128+
129129
class InterfaceTitle,IRTitle,EmulatorsTitle,RealTimeTitle title
130130
class InterfaceDigital,IRDigital,EmulatorDigital digital
131131
class InterfaceAnalog,IRAnalog,EmulatorAnalog analog
132132
class InterfaceAtomic,IRAtomic,EmulatorAtomic atomic
133133
class RTSoftware,RTGateware,RTHardware,RTApparatus realtime
134-
134+
135135
```
136136
The lowering and compilation passes, used in the vertical lines connecting
137-
abstraction layers, are based on the compiler infrastructure components contained
138-
in this repository.
137+
abstraction layers, are based on the compiler infrastructure components contained
138+
in this repository.

docs/index.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This documentation is still under development, we welcome contributions! © Open
1717
///
1818

1919
### What's here:
20-
This repository contains the supporting infrastructure, base classes, and abstractions
20+
This repository contains the supporting infrastructure, base classes, and abstractions
2121
for creating custom compiler analysis, verification, and transformation passes.
2222
The modules in the repository are utilized for, e.g., lowering from the analog to atomic
2323
intermediate representations, and the atomic representation to base metal descriptions of
@@ -26,47 +26,47 @@ quantum programs.
2626
```mermaid
2727
block-beta
2828
columns 3
29-
29+
3030
block:Interface
3131
columns 1
3232
InterfaceTitle("<i><b>Interfaces</b><i/>")
33-
InterfaceDigital["<b>Digital Interface</b>\nQuantum circuits with discrete gates"]
33+
InterfaceDigital["<b>Digital Interface</b>\nQuantum circuits with discrete gates"]
3434
space
35-
InterfaceAnalog["<b>Analog Interface</b>\n Continuous-time evolution with Hamiltonians"]
35+
InterfaceAnalog["<b>Analog Interface</b>\n Continuous-time evolution with Hamiltonians"]
3636
space
3737
InterfaceAtomic["<b>Atomic Interface</b>\nLight-matter interactions between lasers and ions"]
3838
space
3939
end
40-
40+
4141
block:IR
4242
columns 1
4343
IRTitle("<i><b>IRs</b><i/>")
44-
IRDigital["Quantum circuit IR\nopenQASM, LLVM+QIR"]
44+
IRDigital["Quantum circuit IR\nopenQASM, LLVM+QIR"]
4545
space
4646
IRAnalog["openQSIM"]
4747
space
4848
IRAtomic["openAPL"]
4949
space
5050
end
51-
51+
5252
block:Emulator
5353
columns 1
5454
EmulatorsTitle("<i><b>Classical Emulators</b><i/>")
55-
56-
EmulatorDigital["Pennylane, Qiskit"]
55+
56+
EmulatorDigital["Pennylane, Qiskit"]
5757
space
5858
EmulatorAnalog["QuTiP, QuantumOptics.jl"]
5959
space
6060
EmulatorAtomic["TrICal, QuantumIon.jl"]
6161
space
6262
end
63-
63+
6464
space
6565
block:RealTime
6666
columns 1
6767
RealTimeTitle("<i><b>Real-Time</b><i/>")
6868
space
69-
RTSoftware["ARTIQ, DAX, OQDAX"]
69+
RTSoftware["ARTIQ, DAX, OQDAX"]
7070
space
7171
RTGateware["Sinara Real-Time Control"]
7272
space
@@ -76,39 +76,39 @@ block-beta
7676
space
7777
end
7878
space
79-
79+
8080
InterfaceDigital --> IRDigital
8181
InterfaceAnalog --> IRAnalog
8282
InterfaceAtomic --> IRAtomic
83-
83+
8484
IRDigital --> IRAnalog
8585
IRAnalog --> IRAtomic
86-
86+
8787
IRDigital --> EmulatorDigital
8888
IRAnalog --> EmulatorAnalog
8989
IRAtomic --> EmulatorAtomic
90-
90+
9191
IRAtomic --> RealTimeTitle
92-
92+
9393
RTSoftware --> RTGateware
9494
RTGateware --> RTHardware
9595
RTHardware --> RTApparatus
96-
96+
9797
classDef title fill:#d6d4d4,stroke:#333,color:#333;
9898
classDef digital fill:#E7E08B,stroke:#333,color:#333;
9999
classDef analog fill:#E4E9B2,stroke:#333,color:#333;
100100
classDef atomic fill:#D2E4C4,stroke:#333,color:#333;
101101
classDef realtime fill:#B5CBB7,stroke:#333,color:#333;
102102
103103
classDef highlight fill:#f2bbbb,stroke:#333,color:#333,stroke-dasharray: 5 5;
104-
104+
105105
class InterfaceTitle,IRTitle,EmulatorsTitle,RealTimeTitle title
106106
class InterfaceDigital,IRDigital,EmulatorDigital digital
107107
class InterfaceAnalog,IRAnalog,EmulatorAnalog analog
108108
class InterfaceAtomic,IRAtomic,EmulatorAtomic atomic
109109
class RTSoftware,RTGateware,RTHardware,RTApparatus realtime
110-
110+
111111
```
112112
The lowering and compilation passes, used in the vertical lines connecting
113-
abstraction layers, are based on the compiler infrastructure components contained
114-
in this repository.
113+
abstraction layers, are based on the compiler infrastructure components contained
114+
in this repository.

docs/stylesheets/admonition_template.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
background-color: #FFFFFF;
1515
-webkit-mask-image: var(--md-admonition-icon--template);
1616
mask-image: var(--md-admonition-icon--template);
17-
}
17+
}

docs/stylesheets/extra_admonitions.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,3 @@
130130
-webkit-mask-image: var(--md-admonition-icon--acknowledgement);
131131
mask-image: var(--md-admonition-icon--acknowledgement);
132132
}
133-
134-
135-

docs/tutorial/calculator.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"outputs": [],
2929
"source": [
3030
"class MyExpr(TypeReflectBaseModel):\n",
31-
"\n",
3231
" def __add__(self, other):\n",
3332
" return MyAdd(left=self, right=other)\n",
3433
"\n",

0 commit comments

Comments
 (0)