Skip to content

Define real, imag for LocalOperator#177

Merged
Yue-Zhengyuan merged 4 commits intoQuantumKitHub:masterfrom
Yue-Zhengyuan:real-imag-localop
Apr 14, 2025
Merged

Define real, imag for LocalOperator#177
Yue-Zhengyuan merged 4 commits intoQuantumKitHub:masterfrom
Yue-Zhengyuan:real-imag-localop

Conversation

@Yue-Zhengyuan
Copy link
Member

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.

@codecov
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