Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

MPO representation in tensorcircuit #17

gaox-qd started this conversation in General
Discussion options

Hi all, excellent work!
The construction of MPO representation for a general Hamiltonian should be very interesting, is it possible to get the MPO currently for a Hamiltonian besides FiniteTFI as shown in the example?

You must be logged in to vote

Replies: 1 comment

Comment options

Good question. Currently, we have utility function in tensorcircuit as tc.quantum.quimb2qop and tc.quantum.tn2qop which support MPO transformation from quimb package and tensornetwork package. For quimb package, you can build general spin Hamiltonian with NN interaction, see https://github.com/jcmgray/quimb/blob/develop/quimb/tensor/tensor_gen.py#L2236. And for the utility transformation function usage, you can check test cases in https://github.com/tencent-quantum-lab/tensorcircuit/blob/master/tests/test_quantum.py#L364-L409.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.