Skip to content
This repository was archived by the owner on Apr 16, 2022. It is now read-only.

Conversation

@chiamin
Copy link

@chiamin chiamin commented Jan 29, 2017

No description provided.

@emstoudenmire
Copy link
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.

@chiamin
Copy link
Author

chiamin commented Jan 31, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants