Class QuantumCircuitSimulator

Inheritance Relationships

Derived Type

Class Documentation

class QuantumCircuitSimulator

Subclassed by ParametricQuantumCircuitSimulator

Public Functions

explicit QuantumCircuitSimulator(QuantumCircuit *circuit, QuantumStateBase *initial_state = NULL)
~QuantumCircuitSimulator()
void initialize_state(ITYPE computationl_basis = 0)
void initialize_random_state()
void initialize_random_state(UINT seed)
void simulate()
void simulate_range(UINT start, UINT end)
CPPCTYPE get_expectation_value(const Observable *observable)
UINT get_gate_count()
void copy_state_to_buffer()
void copy_state_from_buffer()
void swap_state_and_buffer()
inline const QuantumStateBase *get_state_ptr() const