You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The semantics of quantum_if() might create a little confusion about its purpose[1], so we want to experiment with an expanded approach. If this new approach is successful, the quantum_if() method will probably survive as a shorthand for the expanded approach.
We'd like to add a controlled_effect() method:
Separate the control conditions, the controlling QuantumObject objects, and the controlled QuantumObject objects.
The semantics of
quantum_if()
might create a little confusion about its purpose[1], so we want to experiment with an expanded approach. If this new approach is successful, thequantum_if()
method will probably survive as a shorthand for the expanded approach.We'd like to add a
controlled_effect()
method:QuantumObject
objects, and the controlledQuantumObject
objects.controlled_effect(conditions).from(QuantumObject, ...).to(QuantumObject, ...)
QuantumEffect
1: Thanks to @dstrain115 for PR #14, which tries to clarify the purpose of
quantum_if()
.The text was updated successfully, but these errors were encountered: