This repository was archived by the owner on Apr 16, 2022. It is now read-only.
Open
Conversation
Contributor
|
Hi Chia-Min, perhaps we should add the .write and .read methods as you did here. But the readFromFile and writeToFile functions are general for any object and are not specific to MPS. All writeToFile/readFromFile do is call the .write or .read method of whatever object is passed to them. Also since every object in ITensor has a .read and .write method, I wasn't sure about putting them on every page for every object. Instead I was thinking of just putting a note somewhere like "every object has .read and .write". But maybe I should put this on each page too since it is a method each object does actually have. |
Author
|
Hi Miles,
That sounds reasonable. In this case I would suggest to add a section in
"In-depth Documentation" called for example "Global Utility" and put the
write/read functions there, and mention that they can be called for every
objects in ITensor. This may be better than put them in each page, I think.
Currently the write/read examples are in Code Formulas/Running DMRG, which
is less intuitive for me and I still need some time to find them.
2017-01-30 20:31 GMT-08:00 Miles <notifications@github.com>:
… Hi Chia-Min, perhaps we should add the .write and .read methods as you did
here. But the readFromFile and writeToFile functions are general for any
object and are not specific to MPS. All writeToFile/readFromFile do is call
the .write or .read method of whatever object is passed to them.
Also since every object in ITensor has a .read and .write method, I wasn't
sure about putting them on every page for every object. Instead I was
thinking of just putting a note somewhere like "every object has .read and
.write". But maybe I should put this on each page too since it is a method
each object does actually have.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AC5o2q_ir_y3cMYoXB5fq6kyh6A7Ld85ks5rXrklgaJpZM4LwuP_>
.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.