Skip to content

Commit 352c52f

Browse files
author
souta shimozono
committed
work on codespace
1 parent af186af commit 352c52f

5 files changed

Lines changed: 35 additions & 32 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
FROM julia:1.12
22

3-
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
4-
5-
RUN julia -e 'using Pkg; Pkg.add(["IJulia", "Revise", "JuliaFormatter"]); Pkg.precompile()'
3+
RUN apt-get update && apt-get install -y \
4+
git \
5+
texlive-latex-extra \
6+
texlive-pictures \
7+
pdf2svg \
8+
&& rm -rf /var/lib/apt/lists/*
69

10+
RUN julia -e 'using Pkg; Pkg.add(["IJulia", "Revise", "JuliaFormatter", "TikZJax", "Literate", "Documenter"]); Pkg.precompile()'
711
# 4. startup.jl(Revise)
812
# ユーザーのホームディレクトリに配置します
913
RUN mkdir -p /root/.julia/config && \

.devcontainer/devcontainer.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
{
2-
"name": "Julia Env",
3-
// template.jl が公開したイメージを直接参照
4-
"image": "ghcr.io/sotashimozono/template.jl:latest",
2+
"name": "Julia Quantum Env",
3+
"build": {
4+
"dockerfile": "Dockerfile" // 同じディレクトリにあるDockerfileを使う
5+
},
6+
"customizations": {
7+
"vscode": {
8+
"extensions": [
9+
"julialang.language-julia",
10+
"tamasfe.even-better-toml",
11+
"mgt19937.tikzjax-viewer" // TikZのプレビューに便利
12+
]
13+
}
14+
},
515
"postCreateCommand": "julia --project=. -e 'using Pkg; Pkg.instantiate()'"
6-
}
16+
}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
docs/build/
2-
Manifest.toml
2+
Manifest.toml
3+
dev/

Project.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,16 @@ uuid = "480f6047-bde0-43c5-a5a8-f20cfea8349f"
33
version = "0.1.0"
44
authors = ["sota <shimozono-sota631@g.ecc.u-tokyo.ac.jp>"]
55

6+
[deps]
7+
ITensorMPS = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2"
8+
ITensors = "9136182c-28ba-11e9-034c-db9fb085ebd5"
9+
10+
[compat]
11+
ITensorMPS = "0.3.26"
12+
ITensors = "0.9.18"
13+
614
[extras]
715
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
816

917
[targets]
10-
test = ["Test"]
18+
test = ["Test"]

README.md

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,9 @@
55
[![Julia](https://img.shields.io/badge/julia-v1.12+-9558b2.svg)](https://julialang.org)
66
[![Code Style: Blue](https://img.shields.io/badge/Code%20Style-Blue-4495d1.svg)](https://github.com/invenia/BlueStyle)
77

8-
<a id="badge-top"></a>
9-
[![codecov](https://codecov.io/gh/sotashimozono/template.jl/graph/badge.svg?token=Q3oEEiz9A2)](https://codecov.io/gh/sotashimozono/template.jl)
8+
[![codecov](https://codecov.io/github/sotashimozono/GroverAlgorithm.jl/graph/badge.svg?token=LFLIKKP2DG)](https://codecov.io/github/sotashimozono/GroverAlgorithm.jl)
109
[![Build Status](https://github.com/sotashimozono/GroverAlgorithm.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/sotashimozono/GroverAlgorithm.jl/actions/workflows/CI.yml?query=branch%3Amain)
1110
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
1211

13-
this repository is made for template folder for developing julia project.
14-
some of convenient features are available, but you need to fix to your current calculations.
15-
16-
## TODO LIST
17-
18-
1. **GitHub Repository Settings**
19-
* [ ] **Actions Permissions**: Go to `Settings > Actions > General` and change **Workflow permissions** to **"Read and write permissions"**. This is required for `Documenter.jl` (docs) and `TagBot` to function.
20-
* [ ] **Allow Auto-merge**: (Recommended) Enable **"Allow auto-merge"** in `Settings > General` to streamline the PR process.
21-
2. **Testing & Code Quality**
22-
* [ ] **Codecov Setup**:
23-
1. Register your repository at [Codecov](https://app.codecov.io/) to obtain an upload token.
24-
2. Add the token to `Settings > Secrets and variables > Actions` as a repository secret named `CODECOV_TOKEN`.
25-
3. Replace the **[Codecov Badge](#badge-top)** link at the top of this README with the one provided in your Codecov dashboard.
26-
3. **Documentation (Optional)**
27-
* [ ] **Enable Workflow**: Rename `.github/workflows/Documentation.yml.disabled` to `.github/workflows/Documentation.yml` to enable automatic document building.
28-
* [ ] **GitHub Pages**: After the first successful documentation build, go to `Settings > Pages` and set the source to the `gh-pages` branch.
29-
4. **Personalization**
30-
* [ ] **LICENSE**: Update the year and name in the `LICENSE` file.
31-
* [ ] **Badges**: Ensure all badge URLs at the top of this README point to your new repository path instead of the template.
32-
33-
## IF YOU HAD SOME TROUBLES PLEASE MAKE `ISSUES` [HERE](https://github.com/sotashimozono/template.jl/issues)
12+
This module is based on following paper.
13+
Grover, L. K. (1996, July). A fast quantum mechanical algorithm for database search. In Proceedings of the twenty-eighth annual ACM symposium on Theory of computing (pp. 212-219).

0 commit comments

Comments
 (0)