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.
MeasurementBasis.outcome_shape¶
- abstract MeasurementBasis.outcome_shape(qubits)[source]¶
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.