Skip to content

Commit

Permalink
Merge pull request #383 from QunaSys/fix_itensor
Browse files Browse the repository at this point in the history
Fix ITensors import
  • Loading branch information
kwkbtr authored Oct 28, 2024
2 parents 431a715 + a95583b commit 497400b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 2 additions & 0 deletions packages/itensor/quri_parts/itensor/library.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import Pkg
Pkg.add("ITensors")
Pkg.add("ITensorMPS")
using ITensors
using ITensorMPS

ITensors.op(::OpName"I", ::SiteType"Qubit") = [
1 0
Expand Down

1 comment on commit 497400b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.