Closed masato-fuk closed 1 year ago
Also - it might be good to add tutorial explaining how the TN backend works (esp. 'opt' prep of graph state)? perhaps a topic for another issue though.
Could you also update examples and docs/source/simulator.rst
@shinich1 I have completed all the changes for this issue, and I will make another issue to upgrade the examples and tutorial of the tensor network backend. Could you please review the changes?
Before submitting, please check the following:
pytest
)black -l 120 <filename>
Then, please fill in below:
Context (if applicable): na
Description of the change: Replace TNbackend's dependent library from
tensornetwork
toquimb
. File and class names are changed(mps.py -> tensornet.py, classMPS
-> classTensorNetworkBackend
). Most part of the basic usage remains unchanged.Related issue:
32
also see that checks (github actions) pass. If lint check keeps failing, try installing black==22.8.0 as behavior seems to vary across versions.