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.

LocalMeasurementBasis.matrix_shape

LocalMeasurementBasis.matrix_shape(qubits)[source]

Return the shape of subsystem dimensions of a POVM attr:~matrix.

Parameters:

qubits (Sequence[int]) – the physical qubit subsystems.

Return type:

Tuple[int, ...]

Returns:

A tuple of subsystem dimensions for the specified qubits.