Skip to content

CanonicalizationVerificationOperator not working for single term operators #28

@Sehmimul

Description

@Sehmimul

Overview

The current CanonicalizationVerificationOperator cannot check if single term operators have a coefficient as mentioned in commit: b8f4d11. This issue is not critical at the moment, but it should be resolved.

Example

Take a hamiltonian X @ Y. It is not in canonical form as the canonical form is 1 * (X @ Y). However, the CanonicalizationVerificationOperator passes in both cases, even though it should not pass in the case of the former hamiltonian.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingmildThis issue or pull request is not critical at the moment

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions