|
View 1673b8d
Implement application of a gate to a state.
Joseph Weston authored on 15/11/2019 20:41:21
|
|
View e47cb2b
Add tests for applying gates to a state
Joseph Weston authored on 15/11/2019 19:50:51
|
|
View 833ee21
Add a function for constructing an n-qubit gate from a tensor product of 1-qubit gates
Joseph Weston authored on 15/11/2019 19:12:40
|
|
View ac29c84
Add projectors onto the |0⟩ and |1⟩ states
Joseph Weston authored on 15/11/2019 19:00:28
|
|
View 25f28b4
Add a strategy for selecting qubits to be operated on by a gate
Joseph Weston authored on 15/11/2019 18:55:17
|
|
View 6ab61e7
Add a function for constructing an arbitrary state vector
Joseph Weston authored on 15/11/2019 18:34:36
|
|
View 9297661
Make related strategies closer together in 'test_gate.py'
Joseph Weston authored on 15/11/2019 18:26:27
|
|
View 27fc87e
Replace one final instance of the power operator with a bitshift
Joseph Weston authored on 15/11/2019 18:03:41
|
|
View a8b3f33
Rename local variable 'n' to 'n_qubits' in 'from_classical'
Joseph Weston authored on 15/11/2019 17:52:56
|
|
View d0b4a81
Compute number of qubits by using bit length rather than logarithms
Joseph Weston authored on 15/11/2019 17:32:29
|