Skip to content

Define real, imag for LocalOperator #177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 14, 2025

Conversation

Yue-Zhengyuan
Copy link
Collaborator

This PR defines Base.real and Base.imag for a LocalOperator to extract its real and imaginary parts, respectively. Relevant test/example code is updated.

Copy link

codecov bot commented Apr 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/operators/localoperator.jl 60.52% <100.00%> (+1.43%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Yue-Zhengyuan Yue-Zhengyuan merged commit 0ab6e4a into QuantumKitHub:master Apr 14, 2025
39 checks passed
@Yue-Zhengyuan Yue-Zhengyuan deleted the real-imag-localop branch April 15, 2025 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants