iqm.qiskit_iqm.examples.transpile_example.transpile_example

iqm.qiskit_iqm.examples.transpile_example.transpile_example#

iqm.qiskit_iqm.examples.transpile_example.transpile_example(server_url: str) tuple[QuantumCircuit, dict[str, int]]#

Run a circuit transpiled using transpile_to_IQM function.

Parameters:

server_url (str) – URL of the IQM Cortex server used for execution

Returns:

transpiled circuit, a mapping of bitstrings representing qubit measurement results to counts for each result

Return type:

tuple[QuantumCircuit, dict[str, int]]