Template Class LocalTransitionKernel¶
Defined in File TransitionKernels.hpp
Inheritance Relationships¶
Base Type¶
public Pennylane::LightningQubit::Measures::TransitionKernel< fp_t >
(Template Class TransitionKernel)
Class Documentation¶
-
template<typename fp_t>
class LocalTransitionKernel : public Pennylane::LightningQubit::Measures::TransitionKernel<fp_t>¶ Transition Kernel for a ‘SpinFlip’ local transition between states.
This class implements a local transition kernel for a spin flip operation. It goes about this by generating a random qubit site and then generating a random number to determine the new bit at that qubit site.
- Template Parameters
fp_t – Floating point precision of underlying measurements.
api/classPennylane_1_1LightningQubit_1_1Measures_1_1LocalTransitionKernel
Download Python script
Download Notebook
View on GitHub