Class QuantumGate_CPTP

Inheritance Relationships

Base Type

Class Documentation

class QuantumGate_CPTP : public QuantumGateBase

Public Functions

inline explicit QuantumGate_CPTP(std::vector<QuantumGateBase*> gate_list)
inline explicit QuantumGate_CPTP(std::vector<QuantumGateBase*> gate_list, UINT classical_register_address)
inline virtual ~QuantumGate_CPTP()
inline virtual void update_quantum_state(QuantumStateBase *state) override
inline virtual QuantumGate_CPTP *copy() const override
inline virtual void set_matrix(ComplexMatrix &matrix) const override
inline virtual boost::property_tree::ptree to_ptree() const override

japanese-en ptreeに変換する

Returns:

ptree

inline virtual std::vector<QuantumGateBase*> get_gate_list()

Protected Attributes

Random random
std::vector<QuantumGateBase*> _gate_list
bool is_instrument
UINT _classical_register_address