Skip to main contentIBM Quantum Documentation
Qiskit Transpiler Service is only available for IBM Quantum Premium Plan members.
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

Utilities

qiskit_ibm_transpiler.utils


Functions

create_random_linear_function

qiskit_ibm_transpiler.utils.create_random_linear_function(n_qubits, seed=123)

GitHub

Parameters

  • n_qubits (int) –
  • seed (int) –

Return type

LinearFunction

get_metrics

qiskit_ibm_transpiler.utils.get_metrics(qc)

GitHub

Returns a dict with metrics from a QuantumCircuit

Parameters

qc (QuantumCircuit) –

Return type

Dict[str, int]

Was this page helpful?
Report a bug or request content on GitHub.