Note
This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.
PauliPreparationBasis.matrix_shape¶
- PauliPreparationBasis.matrix_shape(qubits)¶
Return the shape of subsystem dimensions of the state attr:~matrix.
- Parameters:
qubits (
Sequence[int]) – the physical qubit subsystems.- Return type:
Tuple[int,...]- Returns:
A tuple of subsystem dimensions for the specified qubits.