quri_parts.qulacs package#
- QulacsStateT#
A type alias for state classes supported by Qulacs estimators. Qulacs estimators support both of circuit states and state vectors.
alias of
Union
[CircuitQuantumState
,QuantumStateVector
]
- QulacsParametricStateT#
A type alias for parametric state classes supported by Qulacs estimators. Qulacs estimators support both of circuit states and state vectors.
alias of
Union
[ParametricCircuitQuantumState
,ParametricQuantumStateVector
]
- cast_to_list(int_sequence)#
Cast a sequence of numerics (int, float, complex) or an array to a list of the same type.
This is a workaround for too strict type annotation of Qulacs
- Parameters:
int_sequence (Sequence[Numerics] | _SupportsArray[dtype] | _NestedSequence[_SupportsArray[dtype]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]) –
- Return type:
list[Numerics]
Subpackages#
Submodules#
- quri_parts.qulacs.estimator module
create_qulacs_vector_estimator()
create_qulacs_vector_concurrent_estimator()
create_qulacs_vector_parametric_estimator()
create_qulacs_vector_concurrent_parametric_estimator()
create_qulacs_density_matrix_estimator()
create_qulacs_density_matrix_parametric_estimator()
create_qulacs_density_matrix_concurrent_estimator()
create_qulacs_density_matrix_concurrent_parametric_estimator()
create_qulacs_general_vector_estimator()
create_qulacs_general_density_matrix_estimator()
- quri_parts.qulacs.overlap_estimator module
- quri_parts.qulacs.sampler module
create_qulacs_vector_ideal_sampler()
create_qulacs_vector_sampler()
create_qulacs_vector_concurrent_sampler()
create_qulacs_stochastic_state_vector_sampler()
create_qulacs_density_matrix_sampler()
create_qulacs_density_matrix_ideal_sampler()
create_qulacs_noisesimulator_sampler()
create_qulacs_density_matrix_concurrent_sampler()
create_qulacs_stochastic_state_vector_concurrent_sampler()
create_qulacs_noisesimulator_concurrent_sampler()
- quri_parts.qulacs.simulator module