Class QuantumGate_CPTP

Inheritance Relationships

Base Type

  • public QuantumGateBase

Class Documentation

class QuantumGate_CPTP : public QuantumGateBase

Kraus representation of CPTP-map

Public Functions

QuantumGate_CPTP(std::vector<QuantumGateBase *> gate_list)
virtual ~QuantumGate_CPTP()
virtual void update_quantum_state(QuantumStateBase *state)

Update quantum state

Parameters
  • state: Quantum state to be updated

virtual QuantumGateBase *copy() const

Generate deep copy of itself

Return

Deep copy of itself

virtual void set_matrix(ComplexMatrix &matrix) const

Set gate matrix of itself

Parameters
  • matrix: Referencing variables to set matrix

Protected Attributes

Random random
std::vector<QuantumGateBase *> _gate_list