Skip to content

Error using express: QCGateSequence not defined #98

Description

@Omar-Elrefaei

Expected behavior
I think this was supposed to work

Minimal Reproducible Example 👇

express(XY, CliffordRepr(), UseAsOperation())

Error & Stacktrace or other complete output produced by the MRE ⚠️

ERROR: UndefVarError: `QCGateSequence` not defined in `QuantumCliffordExt`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
 [1] express_nolookup(x::STensorOperator, r::CliffordRepr, u::UseAsOperation)
   @ QuantumCliffordExt ~/.julia/packages/QuantumSymbolics/ZHqzP/ext/QuantumCliffordExt/QuantumCliffordExt.jl:50
 [2] express(state::STensorOperator, repr::CliffordRepr, use::UseAsOperation)
   @ QuantumSymbolics ~/.julia/packages/QuantumSymbolics/ZHqzP/src/QSymbolicsBase/express.jl:46
 

QCGateSequence is defined here https://github.com/QuantumSavory/QuantumSavory.jl/blob/97c9e4dac6a4edf906e218720e067550a26a0f06/src/backends/clifford/should_upstream.jl#L2 instead of QuantumSymbolics.jl/QuantumCliffordExt or QuantumClifford

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions