Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPS simulator roadmap #10

Open
10 of 16 tasks
refraction-ray opened this issue Jun 7, 2022 · 1 comment
Open
10 of 16 tasks

MPS simulator roadmap #10

refraction-ray opened this issue Jun 7, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@refraction-ray
Copy link
Contributor

refraction-ray commented Jun 7, 2022

API design

number after indicates priority: 3 is high and 1 is low

  • __init__: allow quvector form mps input? (2)
  • __init__: allow array form input by make it a mps with bond dimension truncation? (2) (redesign the API of from_wavefunction into init)
  • vgates, sgates: update to the new gate list (3)
  • support qir? to_qir and from_qir (2)
  • update gate docstring in _meta_apply (2)
  • check and add alias for several methods to keep consitence with Circuit class (3)
  • add expectation API to automatically branch to the suitable expectation function (3)
  • add expectation_ps API as Circuit (3)
  • add prepend and append methods to compose MPSCircuit (1)
  • add jittable unitary kraus and general kraus methods (1 for now but ultimately also very important if possible)
  • matrix API to return circuit unitary (1)
  • sample method for sampling (2)
  • quvector and quoperator API for return (2)
  • MPO gate support and make it compatible with MPS simulator (2)

Ultimately, we have to reconsider the implementation infrastructure of MPSCircuit, since many code can be reused from Circuit class, how do we organize the relation between the two classes? Inheritance is not a good idea, while separate class design makes many code repetitions

Benchmark

The full performance with the assistance and compatibility of AD, JIT, VMAP and GPU

  • Implement QML benchmark in MPS to check its VMAP support and distant two-qubit gate application performace
  • Run the benchmark sets on different hardware at Tencent Cloud
@refraction-ray refraction-ray added the enhancement New feature or request label Jun 7, 2022
@refraction-ray
Copy link
Contributor Author

@SUSYUSTC

refraction-ray pushed a commit that referenced this issue Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant