Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…#686) * empty commit (triggering CI) * Auto update version * Definition of the two front-end classes * adding the `lightning_tensor` string to the supported backends in `setup.py` * adding `__init__.py` file to directly import the `lightning_tensor` device class * re-naming file * Auto update version * Creating the first prototype of initial MPS state tensor using `quimb` * providing the `backend`, `method` parameters and making `wires` optional * Changing names and structure * Auto update version * adding method required by the new device API design * Auto update version * using the `kwargs` parameter in `LightningTensor` and `CircuitMPS` in `quimb` * taking some further inputs from the new device API * Perhaps decided the overall structure of `LIghtningTensor` * Auto update version * adding docs to methods * temporary changes so that `pylint` does not complain at this stage * running `isort` * re-running formatter after `isort` * re-running formatter after `isort` * Applying suggested formatting change from CI * adding tmp unit tests * Adding `quimb` in `requirements.txt` * runing `isort` on mps test * removing `quimb` from requirement and deleting unit tests for `lightning.tensor` * Auto update version * re-inserting unit tests with an additional `yml` file * running isort on quimb test * changing name of yml file * preventing error in import * updating yml file * inserting `quimb` package in requirements-dev * strange error with `quimb` * strange error with `quimb` * specifying scipy version * removing installation of scipy from yml file * removing the new `yml` file * testing if tests are tested * Covering all lines in tests * forgot final line for formatter * Python formatter on CI complaints * covering missing lines * formatter on CI complaints * Trying not to skip test if Cpp is enabled * skipping tests if Cpp is enabled * removing the only line not covered by tests so far * Auto update version * Applying suggestions from code review and making the `state` attribute private (new API design) * Python formatter * removing params from `QuimbMPS` * Auto update version * removing `**kwargs` from `QuimbMPS` * removing unnecessary param at this stage * covering test line * formatter... * removing param description * Making `pylint` happy * forgot new arg in test * Updating base class and `preprocess` function * empty commit * Core structure (TODO: add tests) * Running `isort` * Updating `LightningTensor` class with new names from more advanced PR * Adding unit tests for the `expval` calculation * Auto update version * Auto update version * Triggering CI * Adding Hamiltonian expval (`pylint` keeps complaining about my formatter) * Auto update version * Trying to remove pin from `quimb` in `requirements.dev` * Auto update version * Auto update version * Removing infos on derivatives and using config options to pass parameters to interface * Usual `pylint` failures * Trying to solve formatting errors * Style and format update * typo in docstring * Sunday update: improved docstrings and structure * Support for expval and var plus some tests * Removing comments from lines in tests * Removing method that was supposed to be in next PR * removing old TODO comment * Adding API skip lines in test * removing old TODO comment * Forgot function from forked repo * Removing lines in tests * Removing changes from the `setup.py` file * restoring previous format to `setup.py` * Auto update version from '0.36.0-dev34' to '0.36.0-dev41' * Auto update version from '0.36.0-dev40' to '0.36.0-dev41' * Removing kwargs as suggested from code review * Addressing comments from CR * Skipping tests if CPP binary is available * -am "[ci skip]" * -am "[ci skip]" * -am "[ci skip]" * -am "[ci skip]" * Removing the `draw` function * Added changelog * Added statement in docstring * Renaming description in files and removing comments * Typo in docstring * Merging from master (now that the first PR has been merged) * Auto update version from '0.36.0-dev45' to '0.36.0-dev46' * Suggestions from CodeFactor (slipped during merging from master) * Suggestions from code review * Removing `Arg` from the `preprocess` function in the interface * applying suggestion by calling `expval` in `var` * Modified changelog and removed variations from supported operations * Switching to `quimb 1.8.1`, adding `contract` option to kwargs, removing recursive decomposition for 3+ qubit gates * removing `recursive decomposition` from the source dode * Suggestions from CR * Trying to make `Codecov` happy by inserting # pragma: no cover (although the lines are tested) * Auto update version from '0.36.0-dev46' to '0.36.0-dev47' * Usual formatting check that I forgot * "[skip ci]" * Auto update version from '0.36.0-dev47' to '0.36.0-dev48' * Trying to make Codecov happy with # pragma: no cover, even though lines are tested indeed! * Removing # pragma - no cover since Codecov is not happy anyway * Auto update version from '0.37.0-dev2' to '0.37.0-dev3' * Updating changelog --------- Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com> Co-authored-by: ringo-but-quantum <[email protected]>
- Loading branch information