Select one answer per question. Submit to see the explanation.
bits = BitArray.from_samples(['01', '11', '00', '11', '01']) bits.expectation_values('IZ')