You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extend the interface of the RandomizedProjectiveMeasurements class to support different number of effects for each qubit.
We may need to move away from np.ndarray input types for bias and angles to sequences of sequences.
The text was updated successfully, but these errors were encountered:
timmintam
changed the title
feat: If we extend this interface to support different number of effects for each qubit in # the future, we may need to move away from np.ndarray input types to sequences of sequences.
feat: support different number of effects for each qubit
Aug 15, 2024
As a consequence of #94, the argument bias is now allowed to have some values set to 0 for RandomizedProjectiveMeasurements instances. In practice, this changes the number of effective effects for each qubit.
Although it not the cleanest implementation (one still has to enter some dummy values for angles even if the corresponding bias is set to 0) it works. Maybe we will want to have a cleaner implementation in the future.
Extend the interface of the
RandomizedProjectiveMeasurements
class to support different number of effects for each qubit.We may need to move away from
np.ndarray
input types forbias
andangles
to sequences of sequences.The text was updated successfully, but these errors were encountered: