CQCL / pytket-qir

Public repo for the pytket-qir package
Apache License 2.0
6 stars 1 forks source link

BitWiseOp.ONE not supported #137

Closed cqc-melf closed 3 months ago

cqc-melf commented 3 months ago
    circ = Circuit(7, name="testcirc")

    exp = create_bit_logic_exp(BitWiseOp.ONE, [])
    circ.H(0, condition=exp)

    result = pytket_to_qir(
        circ,
        name="test_pytket_qir_conditional_12",
        qir_format=QIRFormat.STRING,
    )

Fails with unexpected op.