Class QuantumGate_SingleParameterOneQubitRotation

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class QuantumGate_SingleParameterOneQubitRotation : public QuantumGate_SingleParameter

Subclassed by ClsParametricRXGate, ClsParametricRYGate, ClsParametricRZGate

Public Functions

inline virtual void update_quantum_state(QuantumStateBase *state) override

Protected Types

using UpdateFunc = void (*)(UINT, double, CTYPE*, ITYPE)
using UpdateFuncGpu = void (*)(UINT, double, void*, ITYPE, void*, UINT)

Protected Functions

inline QuantumGate_SingleParameterOneQubitRotation(double angle)

Protected Attributes

UpdateFunc _update_func = nullptr
UpdateFunc _update_func_dm = nullptr
UpdateFuncGpu _update_func_gpu = nullptr