Define PL_ASSERT¶
Defined in File Error.hpp
Define Documentation¶
-
PL_ASSERT(expression)¶
Macro that throws
LightningExceptionwith the given expression and source location if expression evaluates to false.- Parameters:
expression – an expression
Learn quantum computing with PennyLane.
Test your skills with quantum coding challenges and earn badges.
Sit back and explore our curated selection of expert videos.
Explore the quantum landscape with our research-level demos written by experts.
Find explanations and implementations of important quantum compilation techniques.
Speed up research with quantum datasets tailored for use with PennyLane.
Master the latest advancements in error correcting codes and FTQC.
Discover Hamiltonian simulation algorithms–from basic to advanced techniques.
Explore the definitive PennyLane Guide to quantum compilation techniques.
Access a curated guide of the different quantum gradient methods.
View how the modalities stack up in the global race to build a scalable quantum computer.
Learn the different flavours of quantum machine learning in this curated guide.
Defined in File Error.hpp
Macro that throws LightningException with the given expression and source location if expression evaluates to false.
expression – an expression
Usage
Development
API