Qiskit Practice
EXAM C1000-3000 (Impossible) 68 questions

Qiskit v2.x mock exam

Select one answer per question. Submit to see the explanation.

Question 40 / 68
A one-bit BitArray has shape (2,2) and three shots at each point, stored in ordinary row-major order. You call bits.reshape(2,6). What did the two new outer positions pool?
bits = BitArray(np.arange(12, dtype=np.uint8).reshape(2, 2, 3, 1) % 2, 1)
repacked = bits.reshape(2, 6)