Simulator - Parallelized multi-trial simulator

class netQuil.simulator.Simulation(*args)[source]

Initialize the simulation


list of weak references to the object (if defined)

run(trials=1, agent_classes=[], network_monitor=False)[source]

Run the simulation

  • trials (Int) – number of times to simulate program

  • agent_classes (List<Agent>) – list of agent classes

  • network_monitor (Boolean) – outputs each network transaction and device information


returns list of programs. One for each trial