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

Add NonParametric & Parametric Gates support to Lightning.Tensor #718

Merged
merged 132 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
44c84c4
init commit
multiphaseCFD Apr 30, 2024
a1997a3
Auto update version from '0.36.0-dev44' to '0.36.0-dev46'
ringo-but-quantum Apr 30, 2024
8c69e91
typo fix
multiphaseCFD Apr 30, 2024
08736b4
fix last blank line error
multiphaseCFD Apr 30, 2024
3ac6d91
fix codecov warnings
multiphaseCFD Apr 30, 2024
8a594fa
Merge branch 'master' into add_MPSCutn_basis
multiphaseCFD Apr 30, 2024
245974f
fix CI & change ctor interface
multiphaseCFD Apr 30, 2024
3d29627
remove unused methods
multiphaseCFD Apr 30, 2024
00283ba
tidy up code and add more unit tests
multiphaseCFD Apr 30, 2024
b19200f
add testhelper & tidy up code
multiphaseCFD Apr 30, 2024
60f5695
fix typo
multiphaseCFD Apr 30, 2024
c437c3f
set PL_TENSOR in the root cmakelists
multiphaseCFD Apr 30, 2024
6889198
add more tests for tensor classes
multiphaseCFD Apr 30, 2024
a71c2e4
make format
multiphaseCFD Apr 30, 2024
381f95e
fix sitesExtents_ init & add mpscutn tests
multiphaseCFD Apr 30, 2024
6508c34
only test cutnmps cpp layer
multiphaseCFD Apr 30, 2024
b03e93c
further tidy up code
multiphaseCFD Apr 30, 2024
8b0f0f5
update MPS ctor
multiphaseCFD May 1, 2024
597dc58
refactor MPSCutn to allow easy TN extension
multiphaseCFD May 1, 2024
32f5c9f
move methods to CutnBase class & rename maxextent
multiphaseCFD May 1, 2024
fdcbc6c
update docstring
multiphaseCFD May 1, 2024
ea1e0d0
turn on all ci unit tests
multiphaseCFD May 1, 2024
192cc94
fix codefactor complaining
multiphaseCFD May 1, 2024
e658a40
add changelog
multiphaseCFD May 1, 2024
3f8282f
Trigger CI
multiphaseCFD May 1, 2024
46f050a
quick fix for getFreeMemorySize
multiphaseCFD May 1, 2024
4a822eb
fix based on some comments
multiphaseCFD May 2, 2024
5445bbe
size_t->std::size_t
multiphaseCFD May 2, 2024
e606691
set computeState() as protected & make format
multiphaseCFD May 2, 2024
dc55714
copy ctor -> std::move
multiphaseCFD May 2, 2024
27e3dab
safer store for ptr to sitesExtents and tensor
multiphaseCFD May 2, 2024
81e745e
std::vector<void*> ->std::vector<uint64_t*>
multiphaseCFD May 2, 2024
acc870f
update base on comments
multiphaseCFD May 2, 2024
0a91c9e
update docstring
multiphaseCFD May 3, 2024
1318aa5
update memory set
multiphaseCFD May 3, 2024
a127527
make format
multiphaseCFD May 3, 2024
99824ee
size_t->std::size_t for ->GENERATE
multiphaseCFD May 3, 2024
486e8f8
Auto update version from '0.36.0-dev46' to '0.36.0-dev48'
ringo-but-quantum May 3, 2024
8c12697
On-Board Lightning Linux workflows (that are run on PRs) to large run…
rashidnhm May 3, 2024
45fa5c5
Port PR #705 changes (#711)
AmintorDusko May 3, 2024
932c8f9
Merge branch 'master' into add_MPSCutn_basis
multiphaseCFD May 3, 2024
3aa6a15
fix naming comments and drop initHelper_()
multiphaseCFD May 6, 2024
d87a6b8
move MPSStatus to MPS class & update docstrings
multiphaseCFD May 6, 2024
e90750d
udpate tensornetbase ctor
multiphaseCFD May 6, 2024
0d03cf1
Auto update version from '0.36.0-dev48' to '0.36.0-dev49'
ringo-but-quantum May 6, 2024
0befceb
enum to c++ style
multiphaseCFD May 6, 2024
43e1032
Merge branch 'master' into add_MPSCutn_basis
multiphaseCFD May 6, 2024
858defa
update unit tests
multiphaseCFD May 7, 2024
8170f7a
update class name cutn->TNCuda
multiphaseCFD May 7, 2024
e6248b0
Auto update version from '0.36.0-dev49' to '0.37.0-dev2'
ringo-but-quantum May 7, 2024
b6aa4cd
Syncing master with V0.36.0 branch (#715)
AmintorDusko May 7, 2024
cc2688e
Update Linux wheels to use manylinux_2_28 (#667)
AmintorDusko May 7, 2024
5610531
Merge branch 'master' into add_MPSCutn_basis
multiphaseCFD May 7, 2024
d0a8ca7
change filename
multiphaseCFD May 7, 2024
c79104c
make format
multiphaseCFD May 7, 2024
4df1757
Auto update version from '0.37.0-dev2' to '0.37.0-dev3'
ringo-but-quantum May 7, 2024
6c2fbb4
change path name
multiphaseCFD May 7, 2024
01187c1
Accelerate CI parallelizing over OMP configs (#712)
vincentmr May 7, 2024
bafea32
Merge branch 'master' into add_MPSCutn_basis
multiphaseCFD May 7, 2024
4b4af4f
Initial commit
multiphaseCFD May 7, 2024
5c46064
add changelog
multiphaseCFD May 1, 2024
2b8b3c7
Merge branch 'master' into add_MPSCutn_basis
multiphaseCFD May 7, 2024
0c06808
Auto update version from '0.37.0-dev3' to '0.37.0-dev4'
ringo-but-quantum May 7, 2024
c85c2ff
refactor TNCudaGateCache & add appendGateTensorOperator
multiphaseCFD May 8, 2024
8e87882
add tests for 1 & 2 qubits gates
multiphaseCFD May 8, 2024
6721462
add unit tests for 3 qubit gates & update compute state
multiphaseCFD May 8, 2024
a7d13a8
tidy up getDataVector() and remove once call limitation
multiphaseCFD May 8, 2024
10b041f
tidy up code
multiphaseCFD May 8, 2024
03b0434
fix multiple reset()/setbasisstate() & resolve comments
multiphaseCFD May 9, 2024
881004d
Merge branch 'add_MPSCutn_basis' into add_LTensor_nonParam_gate
multiphaseCFD May 9, 2024
67e11bc
add gates sub_directory to build
multiphaseCFD May 9, 2024
f6f1ab7
add initial unit tests for parametric gates
multiphaseCFD May 9, 2024
d708233
add ising gates
multiphaseCFD May 10, 2024
4c4cc75
Merge branch 'master' into add_LTensor_nonParam_gate
multiphaseCFD May 13, 2024
60f873a
update version
multiphaseCFD May 13, 2024
581a758
add controlledPhaseShift
multiphaseCFD May 13, 2024
38347eb
add all the parametric gates besides multiRZ
multiphaseCFD May 14, 2024
8d4620a
Test unsupported gate
multiphaseCFD May 14, 2024
655fe30
allow passing matrix on host to device as operator
multiphaseCFD May 14, 2024
1f4726e
add changelog
multiphaseCFD May 14, 2024
ddfda1a
col-major for LGPU and row-major for LTN
multiphaseCFD May 14, 2024
a79a256
Trigger CI
multiphaseCFD May 14, 2024
791a7e1
Merge branch 'master' into add_LTensor_nonParam_gate
multiphaseCFD May 14, 2024
cf9b1bc
Auto update version from '0.37.0-dev9' to '0.37.0-dev10'
ringo-but-quantum May 14, 2024
61bc4af
tidy up code
multiphaseCFD May 16, 2024
b44adc1
Auto update version from '0.37.0-dev10' to '0.37.0-dev14'
ringo-but-quantum May 16, 2024
89ab6a3
Add `MPSTNCuda` class (#704)
multiphaseCFD May 14, 2024
f9b992e
Fix LQ version checking out in LK-CPU tests (#723)
vincentmr May 15, 2024
f3b1141
Kokkos gate functors are templated over the coefficient interaction f…
vincentmr May 15, 2024
9ade042
Revert default.tensor to lightning.tensor. (#730)
vincentmr May 15, 2024
2a5bfda
tidy up code
multiphaseCFD May 16, 2024
cf36804
Merge branch 'master' into add_LTensor_nonParam_gate
multiphaseCFD May 16, 2024
027a619
Auto update version from '0.37.0-dev13' to '0.37.0-dev14'
ringo-but-quantum May 16, 2024
6774208
tidy up code
multiphaseCFD May 16, 2024
eb3d481
tidy up code
multiphaseCFD May 16, 2024
3e8afa6
tidy up header files
multiphaseCFD May 16, 2024
81dd20c
update docstring
multiphaseCFD May 16, 2024
f0428a6
further tidy up code
multiphaseCFD May 16, 2024
8cdb65c
quick fix
multiphaseCFD May 16, 2024
cb2c8d3
fix typo
multiphaseCFD May 16, 2024
978a93c
Trigger multi-gpu CI
multiphaseCFD May 16, 2024
058b4ac
make format
multiphaseCFD May 16, 2024
673c504
Add todo for applyControlledTensorGate support
multiphaseCFD May 16, 2024
8e94dd7
add required header file
multiphaseCFD May 16, 2024
4e92ee3
set string->fucntor table as static
multiphaseCFD May 17, 2024
6183415
set gate name function map as singleton
multiphaseCFD May 17, 2024
394f1f3
Auto update version from '0.37.0-dev14' to '0.37.0-dev15'
ringo-but-quantum May 17, 2024
69618de
Bump Kokkos version to 4.3.01 (#725)
mlxd May 17, 2024
5647cab
Merge branch 'master' into add_LTensor_nonParam_gate
multiphaseCFD May 17, 2024
61fde58
Auto update version from '0.37.0-dev14' to '0.37.0-dev15'
ringo-but-quantum May 17, 2024
3986e44
Fix PennyLane LightningKokkos and LightningQubits tests for stable/st…
AmintorDusko May 21, 2024
f35a622
Auto update version from '0.37.0-dev15' to '0.37.0-dev16'
ringo-but-quantum May 22, 2024
0a7045d
update unit tests based on comments
multiphaseCFD May 22, 2024
5059bf8
Precision -> PrecisionT
multiphaseCFD May 22, 2024
f4d215a
fix version conflict
multiphaseCFD May 22, 2024
376ce9b
Auto update version from '0.37.0-dev15' to '0.37.0-dev16'
ringo-but-quantum May 22, 2024
53bcf9b
Merge branch 'master' into add_LTensor_nonParam_gate
multiphaseCFD May 22, 2024
5584dc4
resolve some comments
multiphaseCFD May 22, 2024
436e04e
Auto update version from '0.37.0-dev16' to '0.37.0-dev17'
ringo-but-quantum May 22, 2024
793b722
resolve more comments
multiphaseCFD May 23, 2024
0564d68
Merge branch 'master' into add_LTensor_nonParam_gate
multiphaseCFD May 23, 2024
422d6df
Auto update version from '0.37.0-dev16' to '0.37.0-dev17'
ringo-but-quantum May 23, 2024
f1fc0e5
update base on PR#739
multiphaseCFD May 23, 2024
24aae1e
Merge branch 'master' into add_LTensor_nonParam_gate
maliasadi May 23, 2024
99ec44e
Auto update version from '0.37.0-dev17' to '0.37.0-dev18'
ringo-but-quantum May 23, 2024
b5fa077
add docstring for DynamicGateDataAccess
multiphaseCFD May 23, 2024
608b294
Merge branch 'master' into add_LTensor_nonParam_gate
multiphaseCFD May 24, 2024
b8ff166
Auto update version from '0.37.0-dev18' to '0.37.0-dev19'
ringo-but-quantum May 24, 2024
20effcd
Merge branch 'master' into add_LTensor_nonParam_gate
multiphaseCFD May 27, 2024
f28aa0c
update docstring
multiphaseCFD May 27, 2024
8190130
Auto update version from '0.37.0-dev19' to '0.37.0-dev20'
ringo-but-quantum May 27, 2024
68d24b5
Trigger CI
multiphaseCFD May 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add MPSTNCuda class (#704)
* init commit

* Auto update version from '0.36.0-dev44' to '0.36.0-dev46'

* typo fix

* fix last blank line error

* fix codecov warnings

* fix CI & change ctor interface

* remove unused methods

* tidy up code and add more unit tests

* add testhelper & tidy up code

* fix typo

* set PL_TENSOR in the root cmakelists

* add more tests for tensor classes

* make format

* fix sitesExtents_ init & add mpscutn tests

* only test cutnmps cpp layer

* further tidy up code

* update MPS ctor

* refactor MPSCutn to allow easy TN extension

* move methods to CutnBase class & rename maxextent

* update docstring

* turn on all ci unit tests

* fix codefactor complaining

* add changelog

* Trigger CI

* quick fix for getFreeMemorySize

* fix based on some comments

* size_t->std::size_t

* set computeState() as protected & make format

* copy ctor -> std::move

* safer store for ptr to sitesExtents and tensor

* std::vector<void*> ->std::vector<uint64_t*>

* update base on comments

* update docstring

* update memory set

* make format

* size_t->std::size_t for ->GENERATE

* Auto update version from '0.36.0-dev46' to '0.36.0-dev48'

* On-Board Lightning Linux workflows (that are run on PRs) to large runners based on label (#700)

* Try on-boarding to large runner

* Auto update version from '0.36.0-dev43' to '0.36.0-dev44'

* Remove usage of runner.os in job name

* Fix invalid runs-on

* Remove usage of runner.os in job name

* Trigger CI

* Fix inputs.run-on for build&cache kokkos

* Trigger CI

* Auto update version from '0.36.0-dev45' to '0.36.0-dev46'

---------

Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Co-authored-by: Vincent Michaud-Rioux <vincentm@nanoacademic.com>

* Port PR #705 changes (#711)

* port PR #705 changes

* Auto update version from '0.36.0-dev45' to '0.36.0-dev46'

* Update pennylane_lightning/lightning_qubit/lightning_qubit.py

Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>

* Trigger CIs

* fix CodeFactor fail

* fix CodeFactor fail

* fix CodeFactor fail

* Auto update version from '0.36.0-dev46' to '0.36.0-dev47'

---------

Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>

* fix naming comments and drop initHelper_()

* move MPSStatus to MPS class & update docstrings

* udpate tensornetbase ctor

* Auto update version from '0.36.0-dev48' to '0.36.0-dev49'

* enum to c++ style

* update unit tests

* update class name cutn->TNCuda

* Auto update version from '0.36.0-dev49' to '0.37.0-dev2'

* Syncing master with V0.36.0 branch (#715)

* Update Changelog

* update release candidate version

* run agains pennylane rc

* update relese cadidate version

* Increase tolerance for a flaky test (test_single_return_value)

* Update `LightningBaseFallBack` to raise an error instead of falling back to default.qubit (#689)

* Initial commit.

* Update changelog

* Auto update version

* trigger ci

* Unused import.

* Auto update version

* trigger ci

* Fix imports.

* Auto update version

* Fix LightningException

* make format

* Auto update version from '0.36.0-dev34' to '0.36.0-dev35'

* Auto update version from '0.36.0-dev35' to '0.36.0-dev36'

* Auto update version from '0.36.0-dev36' to '0.36.0-dev37'

* Make python -m pip install consistent.

* Fix ImportError

* Auto update version from '0.36.0-dev37' to '0.36.0-dev38'

* --force-reinstall

* Auto update version from '0.36.0-dev38' to '0.36.0-dev39'

* Remove --force-reinstall

* Auto update version from '0.36.0-dev39' to '0.36.0-dev40'

* Auto update version from '0.36.0-dev42' to '0.36.0-dev43'

* Auto update version from '0.36.0-dev43' to '0.36.0-dev44'

* Spec CMAKE_CXX_COMPILER

* Fix quotes.

* Remove quotes

* Hardcode g++-11

* use env.COMPILER

* which g++

* Revert

* Downgrade pip

* Pin libomp.

* Revert wheel_linux

* Upload artifacts.

* Comment upload trigger

* Install pip==23

* Revert libomp

* try testing outside cibuildwheel

* yum install devtools

* yum install devtools

* Do not install python

* Revert changes

* Don't editable install.

* Not edit install

* Not edit install

* Fix cov path

* Explicit mcm tests path

* Fix qml.QuantumFunctionError error messages.

---------

Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Co-authored-by: AmintorDusko <amintor_dusko@hotmail.com>

* trigger CIs

* Introduce pytest-splits (#696)

* Try update lightning CI paths

* Auto update version

* Update kokkos tests to trigger on changes to pl core

* Auto update version

* Split tests_linux.yml into cpp/python.

* Auto update version from '0.36.0-dev36' to '0.36.0-dev38'

* Split GPU tests into cpp/python.

* Split MPI-GPU tests into cpp/python.

* Fix LGPU triggers.

* Remove python tests from LGPU-C++.

* Remove upload-to-codecov-linux-cpp from LGPUMPI tests.

* Rename test workflows.

* Update changelog.

* Change group names.

* Use paths-ignore to simplify workflow paths

* Auto update version from '0.36.0-dev38' to '0.36.0-dev39'

* Fix test names.

* you may only define one of `paths` and `paths-ignore` for a single event

* Fix formatting

* Auto update version from '0.36.0-dev39' to '0.36.0-dev40'

* Change to paths-ignore in no-bin tests.

* Auto update version from '0.36.0-dev40' to '0.36.0-dev41'

* trigger ci

* Change error message.

* Split build/test jobs.

* Revert pennylane_lightning/lightning_kokkos/lightning_kokkos.py

* Fix setup.py command

* Comment workflows

* Comment pull_request:

* Copy wheels to github.workspace /wheels

* SKIP_COMPILATION=True

* Revert SKIP_COMPILATION=True

* Remove duplicate python actions.

* Split LQ-test into 5 groups.

* Update requirements-dev.txt

* 2 groups

* 1 group

* 7 groups

* Refactor LKokos tests

* Auto update version from '0.36.0-dev42' to '0.36.0-dev43'

* Fix cache id

* Fix needs

* Remove all builds

* put back CMAKE_PREFIX_PATH

* install fake lightning

* Fix compat paths

* Auto update version from '0.36.0-dev42' to '0.36.0-dev43'

* Revert changes.

* Update changelog

* trigger ci

* build_and_cache_Kokkos_linux.yml not concurrent.

* Remove C++ tests from compat tests (skipped anyways).

* Use ${{ github.ref }}-${{ github.event }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }} for concurrency groups.

* PL_BACKEND: ${{ matrix.pl_backend }}

* Update changelog

* Install wheel package.

* Auto update version from '0.36.0-dev43' to '0.36.0-dev44'

* Install scipy wheel in one place.

* Comment job triggers.

* Add LK[cpu] est durations.

* trigger ci

* Use sha independent keys.

* trigger ci

* build_and_cache_Kokkos

* Change LK keys

* ls -l

* Install version nonce

* Do not skip comp.

* Trade ref for sha in key

* Install after PL

* ref ==> sha

* Reorder

* Try LQ workflows.

* Use actions/setup-python

* Revert triggers.

* Provide correct cov path.

* Revert pennylane_lightning/core/src/utils/config.h

* LK uses 5 groups.

* Restore wheels to main

* main/wheels

* Revert cache paths

* Fix ls -l

* fail-on-cache-miss: true

* Introduce env.GITHUB_WORKSPACE

* Use artifacts

* Fix paths

* No ls -l

* Download to github.workspace

* fix wheel name

* WHEEL_NAME

* Add blas.

* Use outputs.

* Send wheel name

* Fix artifact name

* Fix name

* Use WHEEL_NAME var

* artifacts kokkos

* fix wheel name

* Restore bins.

* Clean up

* Split Linux CPU python tests into 2.

* Fix compat workflows.

* Split format and tidy workflows.

* fix lkcpu

* fix concurrency group

* Do not use editable installs.

* Split full kokkos tests except unitary_correct

* Upload LK test durations.

* duration-paths

* Unique test_durations

* Unique test_durations

* Unique test_durations

* Fix path

* Update python_lightning_kokkos_test_durations

* Remove obsolete all and SERIAL tests.

* Update changelog

* Creating the `LightningTensor` device class based on the new API (#671)

* 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

* Updating `LightningTensor` class with new names from more advanced PR

* Auto update version

* Auto update version

* Triggering CI

* 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

* typo in docstring

* Sunday update: improved docstrings and structure

* Removing method that was supposed to be in next PR

* removing old TODO comment

* 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

* Auto update version from '0.36.0-dev42' to '0.36.0-dev43'

* Auto update version from '0.36.0-dev43' to '0.36.0-dev44'

* Restoring name in changelog (?)

* Increasing time limit for Python tests

* Applying suggestions from code review

---------

Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>

* Increase tolerance for a flaky test (test_single_return_value) (#703)

* update dev version

* increase tolerance

* update changelog

* trigger CIs

* Auto update version from '0.36.0-dev44' to '0.36.0-dev45'

---------

Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>

* Auto update version from '0.36.0-dev45' to '0.36.0-dev46'

* Remove LTensor stuff

* Update changelog

* Revert requirements-dev.txt

* trigger ci

* Update python_lightning_kokkos_test_durations

* Restore 'all' tests in tests_lkcuda_python.yml

* Fix durations paths.

* Try --splitting-algorithm=least_duration

* Try no -n auto lkcpu tests

* One last test.

---------

Co-authored-by: Rashid N H M <95639609+rashidnhm@users.noreply.github.com>
Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Co-authored-by: Pietropaolo Frisoni <pietropaolo.frisoni@xanadu.ai>
Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com>

* Update changelog (#706)

* Use wire order specified on instantiation (#705)

* use map wires instead of map_to_standard_wires

* oops

* Update .github/CHANGELOG.md

* black

* Trigger CIs

* add test

* black on tests

* Update .github/CHANGELOG.md

---------

Co-authored-by: AmintorDusko <amintor_dusko@hotmail.com>
Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>

* Update wire order support for probabilities (#707)

* Begin expansion of probs tests

* Update tests to exhaustively compute probs with wires

* Update all tests in LQ Meas to use CHECK instead of REQUIRES for better signal of failures

* Add Jet Permuter

* Add noisy functionality

* Fix permutation ordering

* Update changelog

* Fix wrong ordering in probs tests

* Add recommendation from apache flink to purge azure dirs

* Forbid out of order indices for probs with LK and LG in CPP layer

* Remove MSFT tools from GH Actions

* Just try to remove dotnet

* List opt hostedtoolcache

* Remove packages from /opt/hostedtoolcache

* Fix missing test hit

* Forbid and remove broken tests from LK probs ordering

* Fix clang-tidy isms

* Ensure libopenblas is not broken from failed apt pull with dev

* Appease GH Action

* Full remove GH action modifier step due to unexplained failures

* Add bidreictional wire validation for LGPU CPP layer

* Clang-tidy warning fix

* Appease CT

* Update JET license agreement

* Sync version

* pacify CodeFactor

* make CodeFactor ignore all JET code

* trigger ci

* trigger ci

* build wheels for test

* remove Win LKokkos upload-pypi [skip-ci]

* [skip ci]

* trigger wheels CIs with Release event

* update version

* fix upload wheels artifact for release

* target pennylane master

* Version bump CHANGELOG

* Auto update version from '' to '0.36.0-dev48'

* version bump to dev0

* Auto update version from '0.37.0-dev0' to '0.36.0-dev48'

* Update version

* Auto update version from '0.37.0-dev0' to '0.36.0-dev48'

* Update pennylane_lightning/core/_version.py

---------

Co-authored-by: Vincent Michaud-Rioux <vincentm@nanoacademic.com>
Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Co-authored-by: Rashid N H M <95639609+rashidnhm@users.noreply.github.com>
Co-authored-by: Pietropaolo Frisoni <pietropaolo.frisoni@xanadu.ai>
Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>
Co-authored-by: Christina Lee <chrissie.c.l@gmail.com>
Co-authored-by: Lee James O'Riordan <mlxd@users.noreply.github.com>
Co-authored-by: Vincent Michaud-Rioux <vincent.michaud-rioux@xanadu.ai>

* Update Linux wheels to use manylinux_2_28 (#667)

* update version

* update gcc and containers for linux_x86_64

* trigger CIs

* test Engine

* try removing podman

* try alternative path for docker

* y

* priviledged container

* aarch64

* build wheels

* dnf->yum

* install dependencies (apt)

* update container

* update and build ppc64le wheels

* update and build x86_64_cuda wheels

* update config-manager

* add install dnf-utils

* Auto update version

* update dev version

* move dnf-utils

* set cuda repository to AlmaLinux

* make gcc 12

* Auto update version

* trigger ci

* upload artifacts

* Update .github/workflows/wheel_linux_x86_64.yml

Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>

* Update .github/workflows/wheel_linux_x86_64.yml

Co-authored-by: Raul Torres <138264735+rauletorresc@users.noreply.github.com>

* Auto update version from '0.36.0-dev29' to '0.36.0-dev36'

* fix source for linux_x86_64_cuda

* Auto update version from '0.36.0-dev37' to '0.36.0-dev36'

* Update Changelog

* update release candidate version

* run agains pennylane rc

* update relese cadidate version

* Increase tolerance for a flaky test (test_single_return_value)

* format

* Update `LightningBaseFallBack` to raise an error instead of falling back to default.qubit (#689)

* Initial commit.

* Update changelog

* Auto update version

* trigger ci

* Unused import.

* Auto update version

* trigger ci

* Fix imports.

* Auto update version

* Fix LightningException

* make format

* Auto update version from '0.36.0-dev34' to '0.36.0-dev35'

* Auto update version from '0.36.0-dev35' to '0.36.0-dev36'

* Auto update version from '0.36.0-dev36' to '0.36.0-dev37'

* Make python -m pip install consistent.

* Fix ImportError

* Auto update version from '0.36.0-dev37' to '0.36.0-dev38'

* --force-reinstall

* Auto update version from '0.36.0-dev38' to '0.36.0-dev39'

* Remove --force-reinstall

* Auto update version from '0.36.0-dev39' to '0.36.0-dev40'

* Auto update version from '0.36.0-dev42' to '0.36.0-dev43'

* Auto update version from '0.36.0-dev43' to '0.36.0-dev44'

* Spec CMAKE_CXX_COMPILER

* Fix quotes.

* Remove quotes

* Hardcode g++-11

* use env.COMPILER

* which g++

* Revert

* Downgrade pip

* Pin libomp.

* Revert wheel_linux

* Upload artifacts.

* Comment upload trigger

* Install pip==23

* Revert libomp

* try testing outside cibuildwheel

* yum install devtools

* yum install devtools

* Do not install python

* Revert changes

* Don't editable install.

* Not edit install

* Not edit install

* Fix cov path

* Explicit mcm tests path

* Fix qml.QuantumFunctionError error messages.

---------

Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Co-authored-by: AmintorDusko <amintor_dusko@hotmail.com>

* trigger CIs

* Introduce pytest-splits (#696)

* Try update lightning CI paths

* Auto update version

* Update kokkos tests to trigger on changes to pl core

* Auto update version

* Split tests_linux.yml into cpp/python.

* Auto update version from '0.36.0-dev36' to '0.36.0-dev38'

* Split GPU tests into cpp/python.

* Split MPI-GPU tests into cpp/python.

* Fix LGPU triggers.

* Remove python tests from LGPU-C++.

* Remove upload-to-codecov-linux-cpp from LGPUMPI tests.

* Rename test workflows.

* Update changelog.

* Change group names.

* Use paths-ignore to simplify workflow paths

* Auto update version from '0.36.0-dev38' to '0.36.0-dev39'

* Fix test names.

* you may only define one of `paths` and `paths-ignore` for a single event

* Fix formatting

* Auto update version from '0.36.0-dev39' to '0.36.0-dev40'

* Change to paths-ignore in no-bin tests.

* Auto update version from '0.36.0-dev40' to '0.36.0-dev41'

* trigger ci

* Change error message.

* Split build/test jobs.

* Revert pennylane_lightning/lightning_kokkos/lightning_kokkos.py

* Fix setup.py command

* Comment workflows

* Comment pull_request:

* Copy wheels to github.workspace /wheels

* SKIP_COMPILATION=True

* Revert SKIP_COMPILATION=True

* Remove duplicate python actions.

* Split LQ-test into 5 groups.

* Update requirements-dev.txt

* 2 groups

* 1 group

* 7 groups

* Refactor LKokos tests

* Auto update version from '0.36.0-dev42' to '0.36.0-dev43'

* Fix cache id

* Fix needs

* Remove all builds

* put back CMAKE_PREFIX_PATH

* install fake lightning

* Fix compat paths

* Auto update version from '0.36.0-dev42' to '0.36.0-dev43'

* Revert changes.

* Update changelog

* trigger ci

* build_and_cache_Kokkos_linux.yml not concurrent.

* Remove C++ tests from compat tests (skipped anyways).

* Use ${{ github.ref }}-${{ github.event }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }} for concurrency groups.

* PL_BACKEND: ${{ matrix.pl_backend }}

* Update changelog

* Install wheel package.

* Auto update version from '0.36.0-dev43' to '0.36.0-dev44'

* Install scipy wheel in one place.

* Comment job triggers.

* Add LK[cpu] est durations.

* trigger ci

* Use sha independent keys.

* trigger ci

* build_and_cache_Kokkos

* Change LK keys

* ls -l

* Install version nonce

* Do not skip comp.

* Trade ref for sha in key

* Install after PL

* ref ==> sha

* Reorder

* Try LQ workflows.

* Use actions/setup-python

* Revert triggers.

* Provide correct cov path.

* Revert pennylane_lightning/core/src/utils/config.h

* LK uses 5 groups.

* Restore wheels to main

* main/wheels

* Revert cache paths

* Fix ls -l

* fail-on-cache-miss: true

* Introduce env.GITHUB_WORKSPACE

* Use artifacts

* Fix paths

* No ls -l

* Download to github.workspace

* fix wheel name

* WHEEL_NAME

* Add blas.

* Use outputs.

* Send wheel name

* Fix artifact name

* Fix name

* Use WHEEL_NAME var

* artifacts kokkos

* fix wheel name

* Restore bins.

* Clean up

* Split Linux CPU python tests into 2.

* Fix compat workflows.

* Split format and tidy workflows.

* fix lkcpu

* fix concurrency group

* Do not use editable installs.

* Split full kokkos tests except unitary_correct

* Upload LK test durations.

* duration-paths

* Unique test_durations

* Unique test_durations

* Unique test_durations

* Fix path

* Update python_lightning_kokkos_test_durations

* Remove obsolete all and SERIAL tests.

* Update changelog

* Creating the `LightningTensor` device class based on the new API (#671)

* 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

* Updating `LightningTensor` class with new names from more advanced PR

* Auto update version

* Auto update version

* Triggering CI

* 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

* typo in docstring

* Sunday update: improved docstrings and structure

* Removing method that was supposed to be in next PR

* removing old TODO comment

* 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

* Auto update version from '0.36.0-dev42' to '0.36.0-dev43'

* Auto update version from '0.36.0-dev43' to '0.36.0-dev44'

* Restoring name in changelog (?)

* Increasing time limit for Python tests

* Applying suggestions from code review

---------

Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>

* Increase tolerance for a flaky test (test_single_return_value) (#703)

* update dev version

* increase tolerance

* update changelog

* trigger CIs

* Auto update version from '0.36.0-dev44' to '0.36.0-dev45'

---------

Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>

* Auto update version from '0.36.0-dev45' to '0.36.0-dev46'

* Remove LTensor stuff

* Update changelog

* Revert requirements-dev.txt

* trigger ci

* Update python_lightning_kokkos_test_durations

* Restore 'all' tests in tests_lkcuda_python.yml

* Fix durations paths.

* Try --splitting-algorithm=least_duration

* Try no -n auto lkcpu tests

* One last test.

---------

Co-authored-by: Rashid N H M <95639609+rashidnhm@users.noreply.github.com>
Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Co-authored-by: Pietropaolo Frisoni <pietropaolo.frisoni@xanadu.ai>
Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com>

* Update changelog (#706)

* Use wire order specified on instantiation (#705)

* use map wires instead of map_to_standard_wires

* oops

* Update .github/CHANGELOG.md

* black

* Trigger CIs

* add test

* black on tests

* Update .github/CHANGELOG.md

---------

Co-authored-by: AmintorDusko <amintor_dusko@hotmail.com>
Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>

* Update wire order support for probabilities (#707)

* Begin expansion of probs tests

* Update tests to exhaustively compute probs with wires

* Update all tests in LQ Meas to use CHECK instead of REQUIRES for better signal of failures

* Add Jet Permuter

* Add noisy functionality

* Fix permutation ordering

* Update changelog

* Fix wrong ordering in probs tests

* Add recommendation from apache flink to purge azure dirs

* Forbid out of order indices for probs with LK and LG in CPP layer

* Remove MSFT tools from GH Actions

* Just try to remove dotnet

* List opt hostedtoolcache

* Remove packages from /opt/hostedtoolcache

* Fix missing test hit

* Forbid and remove broken tests from LK probs ordering

* Fix clang-tidy isms

* Ensure libopenblas is not broken from failed apt pull with dev

* Appease GH Action

* Full remove GH action modifier step due to unexplained failures

* Add bidreictional wire validation for LGPU CPP layer

* Clang-tidy warning fix

* Appease CT

* Update JET license agreement

* Sync version

* pacify CodeFactor

* make CodeFactor ignore all JET code

* trigger ci

* trigger ci

* build wheels for test

* remove Win LKokkos upload-pypi [skip-ci]

* [skip ci]

* trigger wheels CIs with Release event

* update version

* fix upload wheels artifact for release

* target pennylane master

* Version bump CHANGELOG

* Auto update version from '' to '0.36.0-dev48'

* version bump to dev0

* Auto update version from '0.37.0-dev0' to '0.36.0-dev48'

* Update version

* Auto update version from '0.37.0-dev0' to '0.36.0-dev48'

* Update pennylane_lightning/core/_version.py

* update changelog

* Update .github/workflows/wheel_linux_aarch64.yml

* Update .github/workflows/wheel_linux_ppc64le.yml

---------

Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>
Co-authored-by: Raul Torres <138264735+rauletorresc@users.noreply.github.com>
Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Co-authored-by: Vincent Michaud-Rioux <vincentm@nanoacademic.com>
Co-authored-by: Rashid N H M <95639609+rashidnhm@users.noreply.github.com>
Co-authored-by: Pietropaolo Frisoni <pietropaolo.frisoni@xanadu.ai>
Co-authored-by: Christina Lee <chrissie.c.l@gmail.com>
Co-authored-by: Lee James O'Riordan <mlxd@users.noreply.github.com>
Co-authored-by: Vincent Michaud-Rioux <vincent.michaud-rioux@xanadu.ai>

* change filename

* make format

* Auto update version from '0.37.0-dev2' to '0.37.0-dev3'

* change path name

* Accelerate CI parallelizing over OMP configs (#712)

* Update Changelog

* update release candidate version

* run agains pennylane rc

* update relese cadidate version

* Increase tolerance for a flaky test (test_single_return_value)

* Update `LightningBaseFallBack` to raise an error instead of falling back to default.qubit (#689)

* Initial commit.

* Update changelog

* Auto update version

* trigger ci

* Unused import.

* Auto update version

* trigger ci

* Fix imports.

* Auto update version

* Fix LightningException

* make format

* Auto update version from '0.36.0-dev34' to '0.36.0-dev35'

* Auto update version from '0.36.0-dev35' to '0.36.0-dev36'

* Auto update version from '0.36.0-dev36' to '0.36.0-dev37'

* Make python -m pip install consistent.

* Fix ImportError

* Auto update version from '0.36.0-dev37' to '0.36.0-dev38'

* --force-reinstall

* Auto update version from '0.36.0-dev38' to '0.36.0-dev39'

* Remove --force-reinstall

* Auto update version from '0.36.0-dev39' to '0.36.0-dev40'

* Auto update version from '0.36.0-dev42' to '0.36.0-dev43'

* Auto update version from '0.36.0-dev43' to '0.36.0-dev44'

* Spec CMAKE_CXX_COMPILER

* Fix quotes.

* Remove quotes

* Hardcode g++-11

* use env.COMPILER

* which g++

* Revert

* Downgrade pip

* Pin libomp.

* Revert wheel_linux

* Upload artifacts.

* Comment upload trigger

* Install pip==23

* Revert libomp

* try testing outside cibuildwheel

* yum install devtools

* yum install devtools

* Do not install python

* Revert changes

* Don't editable install.

* Not edit install

* Not edit install

* Fix cov path

* Explicit mcm tests path

* Fix qml.QuantumFunctionError error messages.

---------

Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Co-authored-by: AmintorDusko <amintor_dusko@hotmail.com>

* trigger CIs

* Introduce pytest-splits (#696)

* Try update lightning CI paths

* Auto update version

* Update kokkos tests to trigger on changes to pl core

* Auto update version

* Split tests_linux.yml into cpp/python.

* Auto update version from '0.36.0-dev36' to '0.36.0-dev38'

* Split GPU tests into cpp/python.

* Split MPI-GPU tests into cpp/python.

* Fix LGPU triggers.

* Remove python tests from LGPU-C++.

* Remove upload-to-codecov-linux-cpp from LGPUMPI tests.

* Rename test workflows.

* Update changelog.

* Change group names.

* Use paths-ignore to simplify workflow paths

* Auto update version from '0.36.0-dev38' to '0.36.0-dev39'

* Fix test names.

* you may only define one of `paths` and `paths-ignore` for a single event

* Fix formatting

* Auto update version from '0.36.0-dev39' to '0.36.0-dev40'

* Change to paths-ignore in no-bin tests.

* Auto update version from '0.36.0-dev40' to '0.36.0-dev41'

* trigger ci

* Change error message.

* Split build/test jobs.

* Revert pennylane_lightning/lightning_kokkos/lightning_kokkos.py

* Fix setup.py command

* Comment workflows

* Comment pull_request:

* Copy wheels to github.workspace /wheels

* SKIP_COMPILATION=True

* Revert SKIP_COMPILATION=True

* Remove duplicate python actions.

* Split LQ-test into 5 groups.

* Update requirements-dev.txt

* 2 groups

* 1 group

* 7 groups

* Refactor LKokos tests

* Auto update version from '0.36.0-dev42' to '0.36.0-dev43'

* Fix cache id

* Fix needs

* Remove all builds

* put back CMAKE_PREFIX_PATH

* install fake lightning

* Fix compat paths

* Auto update version from '0.36.0-dev42' to '0.36.0-dev43'

* Revert changes.

* Update changelog

* trigger ci

* build_and_cache_Kokkos_linux.yml not concurrent.

* Remove C++ tests from compat tests (skipped anyways).

* Use ${{ github.ref }}-${{ github.event }}-${{ inputs.lightning-version }}-${{ inputs.pennylane-version }} for concurrency groups.

* PL_BACKEND: ${{ matrix.pl_backend }}

* Update changelog

* Install wheel package.

* Auto update version from '0.36.0-dev43' to '0.36.0-dev44'

* Install scipy wheel in one place.

* Comment job triggers.

* Add LK[cpu] est durations.

* trigger ci

* Use sha independent keys.

* trigger ci

* build_and_cache_Kokkos

* Change LK keys

* ls -l

* Install version nonce

* Do not skip comp.

* Trade ref for sha in key

* Install after PL

* ref ==> sha

* Reorder

* Try LQ workflows.

* Use actions/setup-python

* Revert triggers.

* Provide correct cov path.

* Revert pennylane_lightning/core/src/utils/config.h

* LK uses 5 groups.

* Restore wheels to main

* main/wheels

* Revert cache paths

* Fix ls -l

* fail-on-cache-miss: true

* Introduce env.GITHUB_WORKSPACE

* Use artifacts

* Fix paths

* No ls -l

* Download to github.workspace

* fix wheel name

* WHEEL_NAME

* Add blas.

* Use outputs.

* Send wheel name

* Fix artifact name

* Fix name

* Use WHEEL_NAME var

* artifacts kokkos

* fix wheel name

* Restore bins.

* Clean up

* Split Linux CPU python tests into 2.

* Fix compat workflows.

* Split format and tidy workflows.

* fix lkcpu

* fix concurrency group

* Do not use editable installs.

* Split full kokkos tests except unitary_correct

* Upload LK test durations.

* duration-paths

* Unique test_durations

* Unique test_durations

* Unique test_durations

* Fix path

* Update python_lightning_kokkos_test_durations

* Remove obsolete all and SERIAL tests.

* Update changelog

* Creating the `LightningTensor` device class based on the new API (#671)

* 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

* Updating `LightningTensor` class with new names from more advanced PR

* Auto update version

* Auto update version

* Triggering CI

* 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

* typo in docstring

* Sunday update: improved docstrings and structure

* Removing method that was supposed to be in next PR

* removing old TODO comment

* 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

* Auto update version from '0.36.0-dev42' to '0.36.0-dev43'

* Auto update version from '0.36.0-dev43' to '0.36.0-dev44'

* Restoring name in changelog (?)

* Increasing time limit for Python tests

* Applying suggestions from code review

---------

Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>

* Increase tolerance for a flaky test (test_single_return_value) (#703)

* update dev version

* increase tolerance

* update changelog

* trigger CIs

* Auto update version from '0.36.0-dev44' to '0.36.0-dev45'

---------

Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>

* Auto update version from '0.36.0-dev45' to '0.36.0-dev46'

* Remove LTensor stuff

* Update changelog

* Revert requirements-dev.txt

* trigger ci

* Update python_lightning_kokkos_test_durations

* Restore 'all' tests in tests_lkcuda_python.yml

* Fix durations paths.

* Try --splitting-algorithm=least_duration

* Try no -n auto lkcpu tests

* One last test.

---------

Co-authored-by: Rashid N H M <95639609+rashidnhm@users.noreply.github.com>
Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Co-authored-by: Pietropaolo Frisoni <pietropaolo.frisoni@xanadu.ai>
Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com>

* Update changelog (#706)

* Use wire order specified on instantiation (#705)

* use map wires instead of map_to_standard_wires

* oops

* Update .github/CHANGELOG.md

* black

* Trigger CIs

* add test

* black on tests

* Update .github/CHANGELOG.md

---------

Co-authored-by: AmintorDusko <amintor_dusko@hotmail.com>
Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>

* Update wire order support for probabilities (#707)

* Begin expansion of probs tests

* Update tests to exhaustively compute probs with wires

* Update all tests in LQ Meas to use CHECK instead of REQUIRES for better signal of failures

* Add Jet Permuter

* Add noisy functionality

* Fix permutation ordering

* Update changelog

* Fix wrong ordering in probs tests

* Add recommendation from apache flink to purge azure dirs

* Forbid out of order indices for probs with LK and LG in CPP layer

* Remove MSFT tools from GH Actions

* Just try to remove dotnet

* List opt hostedtoolcache

* Remove packages from /opt/hostedtoolcache

* Fix missing test hit

* Forbid and remove broken tests from LK probs ordering

* Fix clang-tidy isms

* Ensure libopenblas is not broken from failed apt pull with dev

* Appease GH Action

* Full remove GH action modifier step due to unexplained failures

* Add bidreictional wire validation for LGPU CPP layer

* Clang-tidy warning fix

* Appease CT

* Update JET license agreement

* Sync version

* pacify CodeFactor

* make CodeFactor ignore all JET code

* trigger ci

* trigger ci

* Split OMP builds using matrix.

* trigger ci

* Ignore .github but not self.

* Fix cd..

* Fix path

* Update changelog [skip ci]

* Revert changes to reqs.txt

* Auto update version from '0.37.0-dev0' to '0.37.0-dev2'

* Auto update version from '0.37.0-dev1' to '0.37.0-dev2'

* Update .github/CHANGELOG.md

Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com>

* Update .github/CHANGELOG.md

Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>

---------

Co-authored-by: AmintorDusko <amintor_dusko@hotmail.com>
Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Co-authored-by: Rashid N H M <95639609+rashidnhm@users.noreply.github.com>
Co-authored-by: Pietropaolo Frisoni <pietropaolo.frisoni@xanadu.ai>
Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com>
Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>
Co-authored-by: Christina Lee <chrissie.c.l@gmail.com>
Co-authored-by: Lee James O'Riordan <mlxd@users.noreply.github.com>

* add changelog

* Auto update version from '0.37.0-dev3' to '0.37.0-dev4'

* fix multiple reset()/setbasisstate() & resolve comments

* add blank lines to the end of each file

* Auto update version from '0.37.0-dev8' to '0.37.0-dev9'

* Auto update version from '0.37.0-dev9' to '0.37.0-dev10'

---------

Co-authored-by: ringo-but-quantum <github-ringo-but-quantum@xanadu.ai>
Co-authored-by: Rashid N H M <95639609+rashidnhm@users.noreply.github.com>
Co-authored-by: Vincent Michaud-Rioux <vincentm@nanoacademic.com>
Co-authored-by: Amintor Dusko <87949283+AmintorDusko@users.noreply.github.com>
Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>
Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Pietropaolo Frisoni <pietropaolo.frisoni@xanadu.ai>
Co-authored-by: Christina Lee <chrissie.c.l@gmail.com>
Co-authored-by: Lee James O'Riordan <mlxd@users.noreply.github.com>
Co-authored-by: Vincent Michaud-Rioux <vincent.michaud-rioux@xanadu.ai>
Co-authored-by: Raul Torres <138264735+rauletorresc@users.noreply.github.com>
Co-authored-by: AmintorDusko <amintor_dusko@hotmail.com>
  • Loading branch information
13 people committed May 16, 2024
commit 89ab6a31fcfe0760475ce78e7c5bde0c4e64c975
5 changes: 3 additions & 2 deletions pennylane_lightning/core/src/simulators/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ cmake_minimum_required(VERSION 3.20)

project(lightning_simulators LANGUAGES CXX)

add_subdirectory(base)

if(NOT "${PL_BACKEND}" STREQUAL "lightning_tensor")
add_subdirectory(base)
endif()
###############################################################################
# Determine simulator and include its directory
###############################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ template <typename TypeList> void testTensornetBase() {

TEST_CASE("testTensornetBase", "[TensornetBase]") {
testTensornetBase<TestMPSBackends>();
}
}