Class ClsNpairQubitGate

Inheritance Relationships

Base Type

Class Documentation

class ClsNpairQubitGate : public QuantumGateBase

Public Functions

inline explicit ClsNpairQubitGate()
inline virtual void update_quantum_state(QuantumStateBase *state) override
inline virtual ClsNpairQubitGate *copy() const override
inline virtual void set_matrix(ComplexMatrix &matrix) const override
inline void FusedSWAPGateinit(UINT target_qubit_index1, UINT target_qubit_index2, UINT block_size)
inline virtual boost::property_tree::ptree to_ptree() const

japanese-en ptreeに変換する

Returns

ptree

inline virtual ClsNpairQubitGate *get_inverse(void) const override

Protected Types

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

Protected Attributes

UpdateFunc _update_func
UpdateFunc _update_func_dm
UpdateFuncGpu _update_func_gpu
UpdateFuncMpi _update_func_mpi
SparseComplexMatrix _matrix_element
UINT _block_size