qsim:: HybridSimulator:: HybridData

#include <hybrid.h>

Contextual data for hybrid simulation.

Summary

Public attributes

gates0
std::vector< GateHybrid >
List of gates on the "0" side of the cut.
gates1
std::vector< GateHybrid >
List of gates on the "1" side of the cut.
gatexs
std::vector< GateX >
List of gates on the cut.
num_gatexs
unsigned
Number of gates on the cut.
num_qubits0
unsigned
Number of qubits on the "0" side of the cut.
num_qubits1
unsigned
Number of qubits on the "1" side of the cut.
qubit_map
std::vector< unsigned >
Global qubit index to local qubit index map.

Public attributes

gates0

std::vector< GateHybrid > qsim::HybridSimulator::HybridData::gates0

List of gates on the "0" side of the cut.

gates1

std::vector< GateHybrid > qsim::HybridSimulator::HybridData::gates1

List of gates on the "1" side of the cut.

gatexs

std::vector< GateX > qsim::HybridSimulator::HybridData::gatexs

List of gates on the cut.

num_gatexs

unsigned qsim::HybridSimulator::HybridData::num_gatexs

Number of gates on the cut.

num_qubits0

unsigned qsim::HybridSimulator::HybridData::num_qubits0

Number of qubits on the "0" side of the cut.

num_qubits1

unsigned qsim::HybridSimulator::HybridData::num_qubits1

Number of qubits on the "1" side of the cut.

qubit_map

std::vector< unsigned > qsim::HybridSimulator::HybridData::qubit_map

Global qubit index to local qubit index map.