qsim:: GateFused

#include <fuser.h>

A collection of "fused" gates which can be multiplied together before being applied to the state vector.

Summary

Public attributes

gates
std::vector< const Gate * >
Ordered list of component gates.
kind
Gate::GateKind
Kind of the first ("parent") gate.
parent
const Gate *
Pointer to the first ("parent") gate.
qubits
std::vector< unsigned >
A list of qubits these gates act upon.
time
unsigned
The time index of the first ("parent") gate.

Public attributes

gates

std::vector< const Gate * > qsim::GateFused::gates

Ordered list of component gates.

kind

Gate::GateKind qsim::GateFused::kind

Kind of the first ("parent") gate.

parent

const Gate * qsim::GateFused::parent

Pointer to the first ("parent") gate.

qubits

std::vector< unsigned > qsim::GateFused::qubits

A list of qubits these gates act upon.

Control qubits for explicitly-controlled gates are excluded from this list.

time

unsigned qsim::GateFused::time

The time index of the first ("parent") gate.