question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support multiple spin lengths in SpinOp

See original GitHub issue

What is the expected enhancement?

Currently SpinOp has an intrinsic limitation where all spins have the same dimension. For example, SpinOp("ZZ", spin=5/2) represents a ZZ coupling between two spins with spin 5/2. However, it does not seem possible to have spins of different lengths in the same spin op. This could be represented if SpinOp were extended to also accept a list of spin values. For example, SpinOp("ZZ", spin=[5/2, 1/2]) would represent a ZZ coupling between a spin of length 5/2 and 1/2.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ikkohamcommented, Oct 12, 2021

Thank you. This enhancement is useful. It would be even more useful if we could also get the tensor product between FermionicOp and SpinOp.

0reactions
mrossinekcommented, Nov 14, 2022

It would be even more useful if we could also get the tensor product between FermionicOp and SpinOp.

This will be dealt with via the #795

Read more comments on GitHub >

github_iconTop Results From Across the Web

360 Degree Spin Mop Bucket System 52.75" x 1.22" ...
360 Degree Spin Mop Bucket System 52.75" x 1.22" Microfiber Mop Heads with Extended Length Handle Dual Mop Heads Mops for Floor Cleaning...
Read more >
EasyWring™ Spin Mop & Bucket System - O-Cedar
Complete with a microfiber mop head, the multi-purpose system removes over 99% of bacteria with just water* or your favorite cleaning solution.
Read more >
How To Use The EasyWring™ Spin Mop & Bucket System
Featured Products ***EasyWring™ Spin Mop & Bucket System http://www.ocedar.com/p/easy-wring-mop-bucket*** O-Cedar: Making Your Life Easier ...
Read more >
Squared Away™ Spin Mop - Bed Bath & Beyond
2-piece set; Conveniently designed for mopping your hard floor surfaces; Comes with an oversized bucket and features a built in agitator; Dual material...
Read more >
EasyWring Spin Mop & Bucket System - Walmart.com
Complete with a telescopic handle, and microfiber mop head, the multi-purpose system removes over 99% of bacteria with just water* or you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found