-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into compathelper/new_version/2024-07-16-01-03-…
…33-194-02569453628
- Loading branch information
Showing
64 changed files
with
6,403 additions
and
1,867 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,14 @@ | ||
name: FormatCheck | ||
name: "Format Check" | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
- 'master' | ||
- 'release-' | ||
tags: '*' | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
version: | ||
- '1' # automatically expands to the latest stable 1.x release of Julia | ||
os: | ||
- ubuntu-latest | ||
arch: | ||
- x64 | ||
steps: | ||
- uses: julia-actions/setup-julia@latest | ||
with: | ||
version: ${{ matrix.version }} | ||
arch: ${{ matrix.arch }} | ||
|
||
- uses: actions/checkout@v4 | ||
- name: Install JuliaFormatter and format | ||
# This will use the latest version by default but you can set the version like so: | ||
# | ||
# julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter", version="0.13.0"))' | ||
run: | | ||
julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"))' | ||
julia -e 'using JuliaFormatter; format(".", verbose=true)' | ||
- name: Format check | ||
run: | | ||
julia -e ' | ||
out = Cmd(`git diff --name-only`) |> read |> String | ||
if out == "" | ||
exit(0) | ||
else | ||
@error "Some files have not been formatted !!!" | ||
write(stdout, out) | ||
exit(1) | ||
end' | ||
format-check: | ||
name: "Format Check" | ||
uses: "QuantumKitHub/.github/.github/workflows/formatcheck.yml@main" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Tests | ||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
- 'main' | ||
- 'release-' | ||
tags: '*' | ||
paths-ignore: | ||
- 'docs/**' | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
# Cancel intermediate builds: only if it is a pull request build. | ||
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | ||
|
||
jobs: | ||
tests: | ||
name: "Tests" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: | ||
- 'lts' # minimal supported version | ||
- '1' # latest released Julia version | ||
group: | ||
- ctmrg | ||
- boundarymps | ||
- examples | ||
- utility | ||
os: | ||
- ubuntu-latest | ||
- macOS-latest | ||
- windows-latest | ||
uses: "QuantumKitHub/QuantumKitHubActions/.github/workflows/Tests.yml@main" | ||
with: | ||
group: "${{ matrix.group }}" | ||
julia-version: "${{ matrix.version }}" | ||
os: "${{ matrix.os }}" | ||
secrets: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
docs/build | ||
Manifest.toml | ||
examples/.ipynb_checkpoints | ||
.vscode/ | ||
.vscode/ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
cff-version: 1.2.0 | ||
message: "If you use this software, please cite it as below." | ||
authors: | ||
- family-names: Brehmer | ||
given-names: Paul | ||
orcid: https://orcid.org/0009-0007-9953-2929 | ||
- family-names: "Burgelman" | ||
given-names: "Lander" | ||
orcid: "https://orcid.org/0000-0003-1724-5330" | ||
- family-names: "Devos" | ||
given-names: "Lukas" | ||
orcid: "https://orcid.org/0000-0002-0256-4200" | ||
title: "PEPSKit" | ||
version: 0.2.2 | ||
identifiers: | ||
- type: doi | ||
value: 10.5281/zenodo.13938737 | ||
date-released: 2021-10-16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
name = "PEPSKit" | ||
uuid = "52969e89-939e-4361-9b68-9bc7cde4bdeb" | ||
authors = ["Maarten Vandamme", "Paul Brehmer", "Lander Burgelman", "Rui-Zhen Huang", "Daan Maertens", "Lukas Devos <[email protected]"] | ||
version = "0.1.0" | ||
authors = ["Paul Brehmer", "Lander Burgelman", "Lukas Devos <[email protected]>"] | ||
version = "0.3.0" | ||
|
||
[deps] | ||
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697" | ||
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" | ||
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20" | ||
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000" | ||
KrylovKit = "0b1a1467-8014-51b9-945f-bf0ae24f4b77" | ||
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | ||
LoggingExtras = "e6f89c97-d47a-5376-807f-9c37f3926c36" | ||
MPSKit = "bb1c41ca-d63c-52ed-829e-0820dda26502" | ||
MPSKitModels = "ca635005-6f8c-4cd1-b51d-8491250ef2ab" | ||
OhMyThreads = "67456a42-1dca-4109-a031-0a68de7e3ad5" | ||
OptimKit = "77e91f04-9b3b-57a6-a776-40b61faaebe0" | ||
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
|
@@ -24,24 +27,30 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" | |
Accessors = "0.1" | ||
ChainRulesCore = "1.0" | ||
Compat = "3.46, 4.2" | ||
FiniteDifferences = "0.12" | ||
KrylovKit = "0.8" | ||
LinearAlgebra = "1" | ||
LoggingExtras = "1" | ||
MPSKit = "0.11" | ||
MPSKitModels = "0.3.5" | ||
OhMyThreads = "0.7" | ||
OptimKit = "0.3" | ||
Printf = "1" | ||
QuadGK = "2.11.1" | ||
Random = "1" | ||
Statistics = "1" | ||
TensorKit = "0.12.5" | ||
TensorOperations = "4, 5" | ||
VectorInterface = "0.4" | ||
TensorOperations = "5" | ||
VectorInterface = "0.4, 0.5" | ||
Zygote = "0.6" | ||
julia = "1.9" | ||
julia = "1.10" | ||
|
||
[extras] | ||
ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a" | ||
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000" | ||
QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" | ||
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[targets] | ||
test = ["Test", "SafeTestsets", "ChainRulesTestUtils", "FiniteDifferences"] | ||
test = ["Test", "SafeTestsets", "ChainRulesTestUtils", "FiniteDifferences", "QuadGK"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.