From 1e06e5cfec246776ba85365bc3eee95139ff970d Mon Sep 17 00:00:00 2001 From: KAWAKUBO Toru Date: Mon, 28 Oct 2024 14:16:07 +0900 Subject: [PATCH 1/3] Fix ITensors --- packages/itensor/quri_parts/itensor/library.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/itensor/quri_parts/itensor/library.jl b/packages/itensor/quri_parts/itensor/library.jl index 0e344f4a..9f7195d8 100644 --- a/packages/itensor/quri_parts/itensor/library.jl +++ b/packages/itensor/quri_parts/itensor/library.jl @@ -1,6 +1,8 @@ import Pkg Pkg.add("ITensors") +Pkg.add("ITensorsMPS") using ITensors +using ITensorsMPS ITensors.op(::OpName"I", ::SiteType"Qubit") = [ 1 0 From 12a20ec2239109512d5bb5118fa477846ad4fdd3 Mon Sep 17 00:00:00 2001 From: KAWAKUBO Toru Date: Mon, 28 Oct 2024 14:19:50 +0900 Subject: [PATCH 2/3] Trigger test on updates of Julia files --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 329a567e..28a7bbbd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,7 @@ on: - .github/workflows/test.yml - .github/actions/python-poetry-install/action.yml - .github/actions/rust-install-cache/action.yml + - ./**/*.jl push: branches: [main] From a95583b8390a252e2f59244f408d36f594d595c4 Mon Sep 17 00:00:00 2001 From: KAWAKUBO Toru Date: Mon, 28 Oct 2024 14:29:47 +0900 Subject: [PATCH 3/3] Fix import --- packages/itensor/quri_parts/itensor/library.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/itensor/quri_parts/itensor/library.jl b/packages/itensor/quri_parts/itensor/library.jl index 9f7195d8..beba6ebd 100644 --- a/packages/itensor/quri_parts/itensor/library.jl +++ b/packages/itensor/quri_parts/itensor/library.jl @@ -1,8 +1,8 @@ import Pkg Pkg.add("ITensors") -Pkg.add("ITensorsMPS") +Pkg.add("ITensorMPS") using ITensors -using ITensorsMPS +using ITensorMPS ITensors.op(::OpName"I", ::SiteType"Qubit") = [ 1 0