Skip to content
Hernán Indíbil de la Cruz Calvo edited this page Jan 17, 2023 · 4 revisions

The Drewom class aims to serve as the middleware between the designs made in QSimov and the target quantum simulator/computer.

By default, it targets the Doki simulator for CPU with OpenMP support. To check all the available connectors, please check the Available connectors section.

Constructor

  • Drewom(String qmachine="doki", Dictionary extra=None)
    • qmachine (optional): name of the connector to use. Defaults to "doki", the default simulator
    • extra (optional): a Python dictionary with the configuration for the connector (read the Available connectors section to know the available parameters for each connector. Defaults to None -> the default parameters for the specified connector

Methods

  • List execute(QCircuit qcircuit, Integer iterations=1)
    • qcircuit: the QCircuit instance to execute
    • iterations (optional): how many times should the qcircuit be executed. Defaults to 1
    • return -> a list containing the result of each iteration. Check the Available connectors to know the details about the structure of the results
Clone this wiki locally