Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

BasicUtils

BasicUtils GitHub(opens in a new tab)

Abstract base class (ABS) for utils for various groups and sets of gates for randomized benchmarking.


Methods

compose_gates

abstract BasicUtils.compose_gates()

Compose group elements.

elmnt

abstract BasicUtils.elmnt()

Return a group element.

elmnt_key

abstract BasicUtils.elmnt_key()

Return a key of a group element in the table.

find_inverse_gates

abstract BasicUtils.find_inverse_gates()

Compute an inverse of a group element.

find_key

abstract BasicUtils.find_key()

Return a key to the group element.

gatelist

abstract BasicUtils.gatelist()

Return a list of gates corresponding to a group element.

group_tables

abstract BasicUtils.group_tables()

Return the group tables.

load_tables

abstract BasicUtils.load_tables()

Load pickled group tables, or generate them if they do not exist.

num_qubits

abstract BasicUtils.num_qubits()

Return the number of qubits.

random_gates

abstract BasicUtils.random_gates()

Pick a random group element.

Was this page helpful?