Class QuantumGate_CP¶
Defined in File gate_general.hpp
Inheritance Relationships¶
Base Type¶
public QuantumGateBase
(Class QuantumGateBase)
Class Documentation¶
-
class QuantumGate_CP : public QuantumGateBase¶
Public Functions
-
inline explicit QuantumGate_CP(std::vector<QuantumGateBase*> gate_list, bool state_normalize, bool probability_normalize, bool assign_zero_if_not_matched)¶
-
inline virtual ~QuantumGate_CP()¶
-
inline virtual void update_quantum_state(QuantumStateBase *state) override¶
-
inline virtual QuantumGate_CP *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()¶
-
inline explicit QuantumGate_CP(std::vector<QuantumGateBase*> gate_list, bool state_normalize, bool probability_normalize, bool assign_zero_if_not_matched)¶