-
Notifications
You must be signed in to change notification settings - Fork 44
Re-structure the Lightning-Base class and core src files #1098
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
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1098 +/- ##
==========================================
- Coverage 95.70% 95.58% -0.12%
==========================================
Files 237 182 -55
Lines 41288 29331 -11957
==========================================
- Hits 39513 28036 -11477
+ Misses 1775 1295 -480
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The documentation builder complains about |
|
||
final_state = state.get_final_state(circuit) | ||
return self.LightningMeasurements(final_state).measure_final_state(circuit) | ||
return super().simulate( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll trigger GPU tests after getting the first round of reviews
The CIs have a issue with the version file. |
@LuisAlfredoNu Nothing can be done here! The location of _version is changed in this PR ;) |
Context:
The
LightningBaseStateVector
,LightningBaseAdjointJacobian
,LightningBaseMeasurements
andLightningInterpreter
base classes now can be found atpennylane_lightning.lightning_base
.The new
lightning_base
module further enables the relocation of core files frompennylane_lightning/core/src/*
topennylane_lightning/core/*
.The license classifier and
project.license
as a TOML table are deprecated in favor of a SPDX license expression and removed inpyproject.toml
.To speedup the recompilation of C++ source code,
ccache
is also added toMakefile
.[sc-87767]