mirror of https://github.com/Qiskit/qiskit.git
12 lines
446 B
YAML
12 lines
446 B
YAML
---
|
|
upgrade_primitives:
|
|
- |
|
|
:meth:`.BitArray.slice_bits` and :meth:`.BitArray.slice_shots`
|
|
will now raise ``IndexError`` when indices are out of bounds.
|
|
They used to raise ``ValueError`` in the case.
|
|
- |
|
|
:meth:`.BitArray.__getitem__` will now raise ``IndexError``
|
|
when indices are out of bounds or the number of dimensions
|
|
of indices does not match that of BitArray.
|
|
They used to raise ``ValueError`` in the case.
|