BasicUtils

class BasicUtils[source]

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

Methods

BasicUtils.compose_gates()

Compose group elements.

BasicUtils.elmnt()

Return a group element.

BasicUtils.elmnt_key()

Return a key of a group element in the table.

BasicUtils.find_inverse_gates()

Compute an inverse of a group element.

BasicUtils.find_key()

Return a key to the group element.

BasicUtils.gatelist()

Return a list of gates corresponding to a group element.

BasicUtils.group_tables()

Return the group tables.

BasicUtils.load_tables()

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

BasicUtils.num_qubits()

Return the number of qubits.

BasicUtils.random_gates()

Pick a random group element.