German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.random_stabilizer_table

random_stabilizer_table(num_qubits, size=1, seed=None)[Quellcode]

DEPRECATED: Return a random StabilizerTable.

Veraltet ab Version 0.22.0: The function qiskit.quantum_info.operators.symplectic.random.random_stabilizer_table() is deprecated as of qiskit-terra 0.22.0. It will be removed no earlier than 3 months after the release date. Instead, use the function random_pauli_list.

Parameter
  • num_qubits (int) – the number of qubits.

  • size (int) – Optional. The number of rows of the table (Default: 1).

  • seed (int or np.random.Generator) – Optional. Set a fixed seed or generator for RNG.

Rückgabe

a random StabilizerTable.

Rückgabetyp

PauliTable