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] diff --git a/packages/itensor/quri_parts/itensor/library.jl b/packages/itensor/quri_parts/itensor/library.jl index 0e344f4a..beba6ebd 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("ITensorMPS") using ITensors +using ITensorMPS ITensors.op(::OpName"I", ::SiteType"Qubit") = [ 1 0