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
If process tomography is performed on a subset of qubits in a circuit with a different number of preparation and measurement qubits analysis will raise an exception.
Raises ValueError: cannot reshape array of size 64 into shape (8,2,2)
What is the expected behavior?
Experiment returns a fitted channel with 1 input qubit and 2 output qubits
Suggested solutions
This failure is because the analysis condition for checking the trace-preserving constraint assumes the input and output dimension of the channel are equal.
The text was updated successfully, but these errors were encountered:
Informations
What is the current behavior?
If process tomography is performed on a subset of qubits in a circuit with a different number of preparation and measurement qubits analysis will raise an exception.
Steps to reproduce the problem
Run an experiment like
Raises
ValueError: cannot reshape array of size 64 into shape (8,2,2)
What is the expected behavior?
Experiment returns a fitted channel with 1 input qubit and 2 output qubits
Suggested solutions
This failure is because the analysis condition for checking the trace-preserving constraint assumes the input and output dimension of the channel are equal.
The text was updated successfully, but these errors were encountered: