Template Class NonZeroRandomTransitionKernel¶
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 NonZeroRandomTransitionKernel : public Pennylane::LightningQubit::Measures::TransitionKernel<fp_t>¶ Transition Kernel for a random transition between non-zero states.
This class randomly transitions between states that have nonzero probability. To determine the states with non-zero probability we have O(2^num_qubits) overhead. Despite this, this method is still fast. This transition kernel can sample even GHZ states.
api/classPennylane_1_1LightningQubit_1_1Measures_1_1NonZeroRandomTransitionKernel
Download Python script
Download Notebook
View on GitHub