Q2NS dev
ns-3 module
Loading...
Searching...
No Matches
q2ns::CreateStateResult Struct Reference

Result of creating a new backend state. More...

#include <q2ns-qstate-registry.h>

Collaboration diagram for q2ns::CreateStateResult:

Public Attributes

StateId stateId = 0
 Assigned state id.
 
std::vector< unsigned int > indices
 Initial in-state qubit indices.
 

Detailed Description

Result of creating a new backend state.

The returned indices are the initial in-state qubit indices for that state, typically 0 through N-1.

Definition at line 37 of file q2ns-qstate-registry.h.

Member Data Documentation

◆ indices

std::vector<unsigned int> q2ns::CreateStateResult::indices

Initial in-state qubit indices.

Definition at line 39 of file q2ns-qstate-registry.h.

◆ stateId

StateId q2ns::CreateStateResult::stateId = 0

Assigned state id.

Definition at line 38 of file q2ns-qstate-registry.h.


The documentation for this struct was generated from the following file: