iqm.benchmarks.compressive_gst.mgst.additional_fns.randHermGS

Contents

iqm.benchmarks.compressive_gst.mgst.additional_fns.randHermGS#

iqm.benchmarks.compressive_gst.mgst.additional_fns.randHermGS(d: int, r: int) ndarray#

Generates random set of operators that are hermiticity preserving.

Parameters:
  • d (int) – Number of gates

  • r (int) – Superoperator dimension of the gates given by the square of the physical dimension

Returns:

Array where random hermiticity preserving operators are stacked along the first axis.

Return type:

X

Notes

The function randHerm is used to generate random hermitian Choi matrices, whose indies are then rearanged to obtain random hermiticity preserving superoperators.