Skip to content

Fix multi-target Rz target ordering in CalcCircuitMatrix (#240)#241

Open
jsodf78h823f wants to merge 1 commit intoQTechTheory:mainfrom
jsodf78h823f:fix-240
Open

Fix multi-target Rz target ordering in CalcCircuitMatrix (#240)#241
jsodf78h823f wants to merge 1 commit intoQTechTheory:mainfrom
jsodf78h823f:fix-240

Conversation

@jsodf78h823f
Copy link

Fixes #240

Multi-target Subscript[Rz, ...][theta] was being treated with a different target ordering than the equivalent R[theta, Z0 Z1 ...] representation during analytic matrix construction.

This change normalizes getAnalGateTargets for multi-target Rz so CalcCircuitMatrix uses the same qubit ordering convention consistently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rz syntax overload not accepted everywhere

1 participant