qrisp.interface.thrift_interface.BackendClient.run#

BackendClient.run(qc, shots, token='')[source]#

Executes the run_func of the server.

Parameters
qcQuantumCircuit

The QuantumCircuit to execute.

shotsint

The amount of shots.

tokenstr, optional

A token which can be used for backend execution parameter specification. The default is “”.

Returns
dict

A dictionary representing the counts where the keys are bitstrings and the values are integers.