qsim::Circuit

#include <circuit.h>

A collection of gates.

Summary

This object is consumed by QSim[h]Runner.Run().

Public attributes

gates
std::vector< Gate >
The set of gates to be run.
num_qubits
unsigned

Public attributes

gates

std::vector< Gate > qsim::Circuit::gates

The set of gates to be run.

Gate times should be ordered.

num_qubits

unsigned qsim::Circuit::num_qubits