Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.
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.

BasicUtils

class BasicUtils

GitHub

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?
Report a bug or request content on GitHub.