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.

PauliMeasurementBasis.outcome_shape

PauliMeasurementBasis.outcome_shape(qubits)

Return the shape of allowed measurement outcomes on specified qubits.

Parameters:

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

Return type:

Tuple[int, ...]

Returns:

A tuple of the number of measurement outcomes for specified qubits.