To reproduce
A clear, step-by-step set of instructions to reproduce the bug.
Expected behavior
The local simulator should reject any expectation, variance, or sample of a Sum observable from the BDK. What it definitely should not do is only calculate the expectation value of the first term and return that.
Screenshots or logs
If applicable, add screenshots or logs to help explain your problem.
System information
A description of your system. Please provide:
Amazon Braket Python SDK version:
Amazon Braket Python Schemas version:
Amazon Braket Python Default Simulator version:
Python version:
Additional context
Add any other context about the problem here.
Describe the bug
To reproduce A clear, step-by-step set of instructions to reproduce the bug.
Expected behavior The local simulator should reject any expectation, variance, or sample of a
Sum
observable from the BDK. What it definitely should not do is only calculate the expectation value of the first term and return that.Screenshots or logs If applicable, add screenshots or logs to help explain your problem.
System information A description of your system. Please provide:
Additional context Add any other context about the problem here.