Skip to content

[fermioniq] Enhance testing with emulation and mock server support #3991

@khalatepradnya

Description

@khalatepradnya

The fermioniq target currently has no mock server or emulation support.

  • Add a mock server in utils/mock_qpu/fermioniq that accepts circuits with observable data and returns responses with expectation_values
  • Add Python tests (python/tests/backends/test_Fermioniq.py) covering:
    • cudaq.sample() -- basic circuit execution
    • cudaq.observe() -- server-side expectation value handling
    • cudaq.observe_async() -- async observe flow
  • Add corresponding C++ tests
  • Add support and tests for local emulation.

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