six_state {qvirus}R Documentation

Create Six Important States on the Bloch Sphere

Description

This function creates and returns six important states on the Bloch Sphere based on the specified vector numbers.

Usage

six_state(vec_num = c(1, 2, 3, 4, 5, 6))

Arguments

vec_num

A numeric vector specifying the indices of the states to include. Valid indices are 1 to 6.

Value

A list containing the selected quantum states based on the input vector vec_num.

Examples

library(qsimulatR)
# Select and return states 1, 3, and 5
six_state(c(1, 3, 5))

[Package qvirus version 0.0.2 Index]