six_state {qvirus} | R Documentation |
This function creates and returns six important states on the Bloch Sphere based on the specified vector numbers.
six_state(vec_num = c(1, 2, 3, 4, 5, 6))
vec_num |
A numeric vector specifying the indices of the states to include. Valid indices are 1 to 6. |
A list containing the selected quantum states based on the input vector vec_num.
library(qsimulatR)
# Select and return states 1, 3, and 5
six_state(c(1, 3, 5))