Skip to content

QuadraticFermionicSimulationGate tests fail with cirq == 1.3.0 #865

@fdmalone

Description

@fdmalone
import openfermion
from openfermion.circuits.gates.fermionic_simulation_test import assert_permute_consistent

gate = openfermion.QuarticFermionicSimulationGate(
    (
        (7.0342200118223275 + 18.937442050412095j),
        (1.7822288828087238 - 13.314793949155135j),
        (13.085448799969598 - 7.627580846758029j),
    ),
    absorb_exponent=False,
    exponent=10.086043324530468,
)

assert_permute_consistent(gate)

this passes with cirq == 1.2.0, but fails for cirq == 1.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions