31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
---
|
||
title: random_stabilizer_table (v0.31)
|
||
description: API reference for qiskit.quantum_info.random_stabilizer_table in qiskit v0.31
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: function
|
||
python_api_name: qiskit.quantum_info.random_stabilizer_table
|
||
---
|
||
|
||
<span id="qiskit-quantum-info-random-stabilizer-table" />
|
||
|
||
# qiskit.quantum\_info.random\_stabilizer\_table
|
||
|
||
<Function id="qiskit.quantum_info.random_stabilizer_table" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.18/qiskit/quantum_info/operators/symplectic/random.py" signature="random_stabilizer_table(num_qubits, size=1, seed=None)">
|
||
Return a random StabilizerTable.
|
||
|
||
**Parameters**
|
||
|
||
* **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.
|
||
|
||
**Returns**
|
||
|
||
a random StabilizerTable.
|
||
|
||
**Return type**
|
||
|
||
[PauliTable](qiskit.quantum_info.PauliTable "qiskit.quantum_info.PauliTable")
|
||
</Function>
|
||
|