Class Chip0

Inheritance Relationships

Base Type

Class Documentation

class Chip0 : public blackbird::Program

Device Chip0: a physical photonic chip with coherent state input, 4x4 interferometer, and 4 intensity measurements.

Public Functions

Chip0(Program dev)

Constructor to initialise the device

Chip0(int s = 1)

Constructor to initialise the device with a specific number of shots.

Parameters
  • s: number of shots to perform

void print_device_info()

prints out device information

Public Members

int shots = 1

Number of shots to perform on the device (default 1)