Release 0.11.0
New features
-
One can now specify any string or number as a custom wire label, and use these labels to address subsystems on the device: (#37) (#42)
dev = qml.device('cirq.simulator', wires=['q1', 'ancilla', 0, 1]) @qml.qnode(dev) def circuit(): qml.Hadamard(wires='q1') qml.CNOT(wires=[1, 'ancilla']) return qml.expval(qml.PauliZ('q1'))
Contributors
This release contains contributions from (in alphabetical order):
Josh Izaac, Nathan Killoran, Maria Schuld