qrunch.quantum.estimators.third_party_estimators.cuquantum_state_vector_estimator.settings
Options for the cuQuantum cuStateVec estimator.
This is put in a separate file to avoid Cython removing type annotations.
Classes
Options for |
- class CuQuantumStatevectorEstimatorOptions
Bases:
DataclassPublicAPIOptions for
CuQuantumStatevectorEstimator.All fields are immutable (
frozen=True) so an instance can be safely reused.- Parameters:
float_type – Which float type to use for the state vector and gate matrices.
"f32"uses single precision (complex64), which halves memory usage and can be faster at the cost of accuracy while"f64"uses double precision (complex128). (default=”f64”)
- __init__(*, float_type: Literal['f32', 'f64'] = 'f64') None
- Parameters:
float_type (Literal['f32', 'f64'])
- Return type:
None
- float_type: Literal['f32', 'f64'] = 'f64'