Maestro 0.1.0
Unified interface for quantum circuit simulation
Loading...
Searching...
No Matches
SimpleHost.h File Reference
#include <numeric>
#include "Host.h"
#include "Network.h"

Go to the source code of this file.

Classes

class  Network::SimpleHost< Time >
 The simple host implementation. More...

Namespaces

namespace  Network

Macros

#define _SIMPLE_HOST_H_

Detailed Description

Version
1.0

DESCRIPTION

A simple host class, implementing the host interface.

The hosts have each a number of qubits, a range of the total ones are assigned to each host (in order). For example, if the first host has 3 qubits, it gets the id 0 and the assigned qubits are 0, 1, 2. If the second host has 2 qubits, it gets the id 1 and the assigned qubits are 3, 4. Similarly, for each qubit there is a corresponding classical bit. Each host also has a qubit which is used for entanglement with other hosts. Those qubits are assigned in order one for each host, after the qubits for all hosts were assigned. For those also there is a corresponding classical bit.

Definition in file SimpleHost.h.

Macro Definition Documentation

◆ _SIMPLE_HOST_H_

#define _SIMPLE_HOST_H_

Definition at line 23 of file SimpleHost.h.