Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* lightning interface for new device api * Auto update version * Merge Master * update version * update version * update lightning_qubit_2 * add LightningQubit2 to init * add LightningStateVector class * add LightningMeasurements class * add new QuantumScriptSerializer class * allow lightning.qubit2 to be tested within our suite * add tests and CI workflow for lightning_qubit_2 * update CI * update CI * add wire mapping, black * add tests for custom wires * add tests for custom wires * add review suggestions * format * remove python class to reverse order of PRs * update simulate to get a LightningStateVector * add reset state * update simulate * update docs * add Result import * Update pennylane_lightning/lightning_qubit/_measurements.py Co-authored-by: Christina Lee <[email protected]> * Update pennylane_lightning/lightning_qubit/_measurements.py Co-authored-by: Christina Lee <[email protected]> * fix reset state * Update pennylane_lightning/lightning_qubit/_state_vector.py Co-authored-by: Christina Lee <[email protected]> * Update pennylane_lightning/lightning_qubit/_state_vector.py Co-authored-by: Christina Lee <[email protected]> * Update pennylane_lightning/lightning_qubit/_state_vector.py Co-authored-by: Christina Lee <[email protected]> * remove LightningQubit2 references * remove unnecessary modules * merging Serializer classes * update serialize tests * update measurements with new serialize class * remove outdated test * remove obsolete tests * remove unused dtype input from simulate * update measurements * update state_vector * update lightning_qubit2 * format * pylint * Update pennylane_lightning/lightning_qubit/_state_vector.py Co-authored-by: Christina Lee <[email protected]> * remove old comment * some review suggestions * Auto update version * remove print * update state vector class * add state vector class tests * adding measurement tests * update state vector and tests * move and rename test files, and format * Auto update version * skip measurements class for other devices and in the absence of binaries * format * update measurements class * expand measurement class testing * garbage collection * typo * update coverage and StateVector class * expand measurements class coverage * Auto update version * add coverage for n-controlled operations * add map to standard wires to get_final_state for safety * update jax config import * Auto update version * trigger CI * update state vector class and tests for improved coverage * update measurement class tests * update dev version * remove device definition * update dev version * clean test_measurements_class.py * isort+black * review suggestion * fix docs * increase tolerance * Auto update version * isort * update dev version * add LightningAdjointJacobian class * add unit tests for the LightningAdjointJacobian class * format * add changelog for PR #613 * update changelog * update adjoint Jacobian * codefactor * fix processing_fn_expval * make a proper new_tape * trigger CI * Update .github/CHANGELOG.md Co-authored-by: Vincent Michaud-Rioux <[email protected]> * Update pennylane_lightning/lightning_qubit/_adjoint_jacobian.py Co-authored-by: Vincent Michaud-Rioux <[email protected]> * Update pennylane_lightning/lightning_qubit/_adjoint_jacobian.py Co-authored-by: Vincent Michaud-Rioux <[email protected]> * Add probs support. * Add double-obs tests. * Add qml.var support. * Add probs support. * Add measurement tests with wires. * pytest.skip tests * Fix format * update * adding tests from add-simulate branch * merge conflicts * create state vector on initialization * remove import of modifier from lightning * Update pennylane_lightning/lightning_qubit/lightning_qubit2.py * minor test updates * register with setup.py, state vector fixes * add LightningQubit2 to init and format * add cpp binary available variable * reduce dependency on DefaultQubit for tests * update LightningQubit2 * Fixing rebase artifacts * remove adjoint diff support from supports derivatives * [skip ci] Added skeleton file for LQ2 unit tests * Lightning qubit2 upgrade api (#628) * update * adding tests from add-simulate branch * merge conflicts * create state vector on initialization * remove import of modifier from lightning * Update pennylane_lightning/lightning_qubit/lightning_qubit2.py * minor test updates * register with setup.py, state vector fixes * add LightningQubit2 to init and format * add cpp binary available variable * Auto update version * reduce dependency on DefaultQubit for tests * update LightningQubit2 * Introduce _new_API and fix/skip few tests. * Fix few more tests. * Skip shots, adjoint, vjp with new API. * Fix no-bin interface. * Remove duplicate class data. * Include LQ2 in linux ests. * --cov-append --------- Co-authored-by: albi3ro <[email protected]> Co-authored-by: AmintorDusko <[email protected]> Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com> * Added init tests; Added skeleton tests for helpers * Resolving rebase artifacts * Added tests; integrated jacobian * Update pennylane_lightning/lightning_qubit/lightning_qubit2.py Co-authored-by: Amintor Dusko <[email protected]> * Auto update version * Small update to simulate_and_jacobian * Added execution tests; TODO: diff tests * Added derivative tests; TODO: tape batch tests * Finished adding LQ2 tests; TODO: Add var, probs tests * Minor test change * Added var tests; TODO: add probs tests * Auto update version * Added helpers to probs test file * Fixing tests * Fixed no trainable params test * Fixing test collection for new API * Updated apply tests, made LQ2 ops/obs attributes instead of properties * Fixed comparison,expval,gate tests * Added tests; Hamiltonian diff tests are failing * Updated tests for mode adjoint cases * Added more observables; stopped skipping adj-jac tests * Auto update version * Trigger CI * Fixed tests; added docstrings * Linting; formatting * Updated tests per code review * Linting * Fixed gate tests * Trigger CI * Trigger CI * Fixed adj-jac tests * Tidying up * Fixed tf/jax adj-jac tests * Apply suggestions from code review Co-authored-by: Amintor Dusko <[email protected]> * Adding coverage; addressing code review * Minor updates per code review * Auto update version * Skipping finite shots measurements tests * Update PL requirements; add LQ2 to test without binaries * Apply suggestions from code review Co-authored-by: Amintor Dusko <[email protected]> * Upadte unnecessarily skipped tests * Auto update version * [skip ci] Skip CI * Removing overlap test * Added dtype to old and new API; updating tests * Added Fallback device dtype property * Updated no binary tests * Auto update version * [skip ci] Skip CI * Trigger CI * Running isort * Trigger CI * Fixed LQ import in MP test; changed docstrings to inline comments * Update tests to use new API * Add changelog entry * Update changelog entry * Apply suggestions from code review Co-authored-by: Ali Asadi <[email protected]> * Added TODOs; Updated derivative tests to use batch_obs --------- Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com> Co-authored-by: AmintorDusko <[email protected]> Co-authored-by: Amintor Dusko <[email protected]> Co-authored-by: Vincent Michaud-Rioux <[email protected]> Co-authored-by: Vincent Michaud-Rioux <[email protected]> Co-authored-by: Mudit Pandey <[email protected]> Co-authored-by: Ali Asadi <[email protected]>
- Loading branch information