Fix issues writing StateVector.bits to HDF5
This PR adds a test for, then fixes issues with, writing StateVector
to HDF5.
There was an issue converting Bits
to an array that could be embedded inside an HDF5 attribute.
This PR adds a test for, then fixes issues with, writing StateVector
to HDF5.
There was an issue converting Bits
to an array that could be embedded inside an HDF5 attribute.