Skip to content

Commit ab45dcd

Browse files
committed
revert wrong-headed indentation of section levels in devdocs
1 parent 8d5b509 commit ab45dcd

5 files changed

Lines changed: 24 additions & 24 deletions

File tree

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ makedocs(;
2929
"Internal API" => "internal-api.md",
3030
"Theory" => "theory.md",
3131
"Developer notes" => [
32-
"devdocs/README.md",
32+
"Overview" => "devdocs/README.md",
3333
"devdocs/trs_notes.md",
3434
"devdocs/fourier.md",
3535
"devdocs/1d_example.md",

docs/src/devdocs/1d_example.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Example: 1D bipartite lattice with inversion
1+
# Example: 1D bipartite lattice with inversion
22

33
Assume we have two sites in a one dimensional lattice of parameter $a=1$ where we place an
44
inversion-even orbital at the origin denoted by (1a|A); and an inversion-odd orbital at $x=1/2$
@@ -9,7 +9,7 @@ denoted by (1b|B).
99
Additionally, we will indicate with a subscript the unit cell it belongs to.
1010
For example, $a_0$ will be placed at $x=0$, while $b_1$ will be placed at $x=3/2$ or $a_{-1}$ at $x=-1$.
1111

12-
### Derivation by inspection
12+
## Derivation by inspection
1313

1414
These orbitals will transform under inversion symmetry in the following way:
1515

@@ -33,7 +33,7 @@ then the Hamiltonian in $k$-space will look like:
3333
\mathcal{H} = \sum_k 2it \sin(k/2) a_k^\dagger b_k + \text{c.c}.
3434
```
3535

36-
### Derivation from our method
36+
## Derivation from our method
3737

3838
First, consider the translation $t=0$. Then, remember that $\Delta_{\alpha\to\beta+R} =
3939
\mathbf{q}_\beta + \mathbf{R} - \mathbf{q}_\alpha$.

docs/src/devdocs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Developer documentation
1+
# Developer notes overview
22

33
These notes are for developers working on the SymmetricTightBinding.jl internals. For the
44
user-facing theory exposition, see [`theory.md`](../theory.md).

docs/src/devdocs/fourier.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Fourier transforms conventions
1+
# Fourier transforms conventions
22

33
This document presents a brief overview of Fourier transforms in the tight-binding setting, focusing on two conventions that have been used during the development of this codebase.
44

@@ -10,7 +10,7 @@ Specifically, we distinguish between two common conventions for the Fourier tran
1010

1111
In the following sections, we will carefully examine both conventions and demonstrate how they are related to each other.
1212

13-
### Convention 1
13+
## Convention 1
1414

1515
This convention defines the Fourier transform as:
1616

@@ -45,7 +45,7 @@ and similarly:
4545
ĉ_{I,𝐭}^† = \frac{1}{\sqrt{N}} \sum_𝐤 e^{-i𝐤·(𝐭+𝐪_α)} â_{I,𝐤}^†
4646
```
4747

48-
### Convention 2
48+
## Convention 2
4949

5050
This convention defines the Fourier transform as:
5151

@@ -80,7 +80,7 @@ and similarly:
8080
ĉ_{I,𝐭}^† = \frac{1}{\sqrt{N}} \sum_𝐤 e^{-i𝐤·𝐭} \hat{\tilde{a}}_{I,𝐤}^†
8181
```
8282

83-
### How they relate to each other
83+
## How they relate to each other
8484

8585
- **Convention 1:** $\ket{φ_{I,𝐤}} = \frac{1}{\sqrt{N}} \sum_𝐭 e^{i𝐤·(𝐭+𝐪_α)} \ket{ψ_{I,𝐭}}$
8686
- **Convention 2:** $\ket{\tilde{φ}_{I,𝐤}} = \frac{1}{\sqrt{N}} \sum_𝐭 e^{i𝐤·𝐭} \ket{ψ_{I,𝐭}}$

docs/src/devdocs/trs_notes.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Time-reversal symmetry in tight-binding models
1+
# Time-reversal symmetry in tight-binding models
22

33
This document follows — mainly — Chapter 12 of
44
[Wooten's book](https://www.cambridge.org/core/books/symmetry-and-condensed-matter-physics/218B3D7B149076E63A618D4584E3379B).
@@ -12,7 +12,7 @@ Pages = ["trs_notes.md"]
1212
Depth = 4
1313
```
1414

15-
### Time-reversal representation: theory of corepresentations
15+
## Time-reversal representation: theory of corepresentations
1616

1717
We start by considering the combined action of anti-unitary operator $\Theta$ with another linear
1818
or nonlinear operator $\mathcal{O}$.
@@ -30,7 +30,7 @@ This demonstrates that the product of the two operators does not lead to just a
3030
product of the corresponding matrix representatives, but leads, in addition, to
3131
a c-conjugation of the matrix representative of $\mathcal{O}$.
3232

33-
#### Construction of corepresentations (corep)
33+
### Construction of corepresentations (corep)
3434

3535
We consider a magnetic space group $\mathcal{M}$ which we write as
3636

@@ -128,7 +128,7 @@ $\mathcal{N}$.
128128
\Gamma^*(\mathcal{C}) = \Gamma(\mathcal{BC}).
129129
```
130130

131-
##### Specialization to grey groups
131+
#### Specialization to grey groups
132132

133133
We now specialize to grey groups (type II), the case relevant to us.
134134
Here $\mathcal{A} = \Theta$ and $\mathcal{N} = \mathcal{G}$, where $\mathcal{G}$
@@ -184,7 +184,7 @@ obtain
184184
In the implementation, we assume that it sufficient to consider only $\Theta$ to incorporate the all constraints associated with the anti-unitary elements of the group.
185185
This is justified by our focus on gray groups, which can always decomposed as $\mathcal{M} = \mathcal{G} \otimes \{E, \Theta\}$; i.e., $\Theta$ is a generator of the anti-unitary parts of $\mathcal{M}.
186186

187-
##### Three scenarios for the co-representation
187+
#### Three scenarios for the co-representation
188188

189189
Given the co-representation $\Gamma$ constructed above, three scenarios arise
190190
depending on the relationship between $\Psi$ and $\Theta\Psi$:
@@ -205,7 +205,7 @@ the representations beforehand using `realify` in Crystalline.jl, which
205205
constructs explicit co-representations in cases 2 and 3 so that the
206206
combined basis transforms under a single real representation.
207207

208-
### Quantization of TRS action on creation and annihilation operators
208+
## Quantization of TRS action on creation and annihilation operators
209209

210210
Assuming a physically real basis (achieved via `physically_realify` in
211211
Crystalline.jl), $\Theta$ acts trivially on the real-space orbitals and
@@ -233,7 +233,7 @@ general single-particle state:
233233
\hat{a}_{I,-\mathbf{k}}}
234234
```
235235

236-
### Finding an explicitly real form of irrep matrices
236+
## Finding an explicitly real form of irrep matrices
237237

238238
An explicit real, or physically real, form of a set of irrep matrices is one
239239
where the associated matrices $D(g)$ have the following property:
@@ -316,14 +316,14 @@ Identifying $\tilde{D}(g) = W D(g) W^{-1}$ we clearly obtain the desired
316316
invariance under complex conjugation since $\tilde{D}^*(g) = (W D_g W^{-1})^* =
317317
W^* D_g^* (W^{-1})^* = W D_g W^{-1} = \tilde{D}(g)$.
318318

319-
### Theory of representations in crystalline systems
319+
## Theory of representations in crystalline systems
320320

321321
This section describes how to express a general Hamiltonian in a symmetry-adapted
322322
basis and derives the resulting symmetry constraints. We first study the action
323323
of a symmetry transformation on a basis set in $k$-space, and then derive the
324324
constraints that the Hamiltonian matrix must satisfy.
325325

326-
#### Representation of symmetry operators using a basis
326+
### Representation of symmetry operators using a basis
327327

328328
Following the deductions made by Bradlyn *et al.* in Ref. [1].
329329

@@ -502,7 +502,7 @@ e^{-i(g\mathbf{k}) \cdot \mathbf{v}} [ρ(h)]_{ji}
502502
\Rightarrow \boxed{Ρ(g₁g₂) = Ρ(g₁) Ρ(g₂)}
503503
```
504504

505-
#### Action of symmetry operators on a Hamiltonian
505+
### Action of symmetry operators on a Hamiltonian
506506

507507
Let us start with the most general non-interacting Hamiltonian:
508508

@@ -545,7 +545,7 @@ e^{i\mathbf{k}·(\mathbf{t}+\mathbf{q}_β-\mathbf{q}_α)} \hat{a}^\dagger_{I,\ma
545545
where we have defined: $h_{IJ,\mathbf{k}} = \sum_\mathbf{t} h_{IJ,\mathbf{t}}
546546
e^{i\mathbf{k}·(\mathbf{t}+\mathbf{q}_β-\mathbf{q}_α)}$.
547547

548-
##### Quantization of the representations
548+
#### Quantization of the representations
549549

550550
The quantization of the previous (classical) theory of representations can be
551551
written using "braket" notation as:
@@ -619,7 +619,7 @@ relation for the Hamiltonian to be invariant under symmetries:
619619

620620
which is the more familiar form.
621621

622-
#### Time reversal symmetry
622+
### Time reversal symmetry
623623

624624
For TRS, a similar computation can be performed. Let us assume that the action of
625625
TRS over our basis is the following:
@@ -655,7 +655,7 @@ Obtaining the following relation:
655655
\boxed{H_\mathbf{k} = H^*_{-\mathbf{k}}}
656656
```
657657

658-
### Proof that physically real representations admit a real basis
658+
## Proof that physically real representations admit a real basis
659659

660660
In the presence of time-reversal symmetry, i.e., $Θ g = g Θ$, and for an explicitly
661661
real representation $Ρ(g) = Ρ^*(g)$, we now show that this implies the existence of
@@ -706,7 +706,7 @@ that $φ_{I,\mathbf{k}} = Θ φ_{I,\mathbf{k}}$.
706706
lemma), it can be extended to general representations by simply considering them brought
707707
to block-diagonal form, where the argument then applies to each block individually.
708708

709-
### Appendix A
709+
## Appendix A
710710

711711
For completeness, we derive the commutatation relations of a symmetry $g ∈ G$ with
712712
the creation and annihilation operators, as an alternative to the conjugation
@@ -752,7 +752,7 @@ h_{IJ,\mathbf{k}} \left( [\hat{g}, \hat{a}^\dagger_{I,\mathbf{k}}]
752752
The resulting expression is not straightforwardly useful; one would need to
753753
relate $\hat{a}_{J,\mathbf{k}}$ to $\hat{a}_{J,g\mathbf{k}}$ to simplify further.
754754

755-
### References
755+
## References
756756

757757
[1] Band Representations and Topological Quantum Chemistry by Bradlyn *et al.*
758758
(2021) https://doi.org/10.1146/annurev-conmatphys-041720-124134

0 commit comments

Comments
 (0)