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
following code fails to apply_gate for the gate when using CircuitPermMPS. This is because CircuitPermMPS uses copy_with() method in the Gate class to update the qubits the gate should act on for the lazy indexing. copy_with() only works for gates that are registered and not created from raw.
What did you expect to happen?
apply_gate should work for gates created from_raw.
What happened?
following code fails to apply_gate for the gate when using CircuitPermMPS. This is because CircuitPermMPS uses copy_with() method in the Gate class to update the qubits the gate should act on for the lazy indexing. copy_with() only works for gates that are registered and not created from raw.
What did you expect to happen?
apply_gate should work for gates created from_raw.
Minimal Complete Verifiable Example
Relevant log output
Anything else we need to know?
No response
Environment
latest
The text was updated successfully, but these errors were encountered: