Qulacs
latest
Get Started
About Qulacs
Installation
FAQ
Usage
Tutorials
Python Tutorial
C++ Tutorial
User Manual
Qulacs Python Advanced Guide
Applications
Implementing Quantum Algorithms
API reference
Python API Reference
C++ API Reference
Class Hierarchy
File Hierarchy
Full API
Namespaces
Classes and Structs
Functions
Function bidiagonalize_real_matrix_pair_with_symmetric_products
Function bidiagonalize_unitary_with_special_orthogonals
Function check_is_unique_index_list
Function check_Pauli_operator
Function chfmt
Function circuit::from_ptree
Function circuit::parametric_circuit_from_ptree
Function convert_observable_to_matrix
Function count_population_cpp
Function CSD
Function CSD_internal
Function gate::Adaptive(QuantumGateBase *, std::function<bool(const std::vector<UINT>&)>)
Function gate::Adaptive(QuantumGateBase *, std::function<bool(const std::vector<UINT>&, UINT)>, UINT)
Function gate::add(const QuantumGateBase *, const QuantumGateBase *)
Function gate::add(std::vector<QuantumGateBase *>)
Function gate::AmplitudeDampingNoise
Function gate::BitFlipNoise
Function gate::CNOT
Function gate::CP
Function gate::CPTP
Function gate::create_parametric_quantum_gate_from_string
Function gate::create_quantum_gate_from_string
Function gate::CZ
Function gate::DenseMatrix(UINT, ComplexMatrix)
Function gate::DenseMatrix(std::vector<UINT>, ComplexMatrix)
Function gate::DephasingNoise
Function gate::DepolarizingNoise
Function gate::DiagonalMatrix
Function gate::from_ptree
Function gate::FusedSWAP
Function gate::get_adjoint_gate
Function gate::get_conjugate_gate
Function gate::get_extended_matrix
Function gate::get_new_qubit_list
Function gate::get_transpose_gate
Function gate::H
Function gate::Identity
Function gate::IndependentXZNoise
Function gate::Instrument
Function gate::Measurement
Function gate::merge(const QuantumGateBase *, const QuantumGateBase *)
Function gate::merge(std::vector<QuantumGateBase *>)
Function gate::NoisyEvolution
Function gate::NoisyEvolution_auto
Function gate::NoisyEvolution_fast
Function gate::P0
Function gate::P1
Function gate::parametric_gate_from_ptree
Function gate::ParametricPauliRotation
Function gate::ParametricRX
Function gate::ParametricRY
Function gate::ParametricRZ
Function gate::Pauli
Function gate::PauliRotation
Function gate::Probabilistic
Function gate::ProbabilisticInstrument
Function gate::RandomUnitary(std::vector<UINT>)
Function gate::RandomUnitary(std::vector<UINT>, UINT)
Function gate::ReversibleBoolean
Function gate::RotInvX
Function gate::RotInvY
Function gate::RotInvZ
Function gate::RotX
Function gate::RotY
Function gate::RotZ
Function gate::RX
Function gate::RY
Function gate::RZ
Function gate::S
Function gate::Sdag
Function gate::SparseMatrix
Function gate::sqrtX
Function gate::sqrtXdag
Function gate::sqrtY
Function gate::sqrtYdag
Function gate::StateReflection
Function gate::SWAP
Function gate::T
Function gate::Tdag
Function gate::to_matrix_gate
Function gate::TwoQubitDepolarizingNoise
Function gate::U1
Function gate::U2
Function gate::U3
Function gate::X
Function gate::Y
Function gate::Z
Function get_Pauli_matrix
Function Igate_idling
Function Igate_idling_gpu
Function Igate_idling_mpi
Function KAK_decomposition
Function KAK_decomposition_internal
Function loss_function::cross_entropy
Template Function loss_function::L2_distance
Function loss_function::softmax_cross_entropy
Function loss_function::softmax_cross_entropy_category
Function observable::create_observable_from_openfermion_file
Function observable::create_observable_from_openfermion_text
Function observable::create_split_observable
Function observable::from_ptree
Function parse_openfermion_line
Function ptree::complex_array_from_ptree
Function ptree::complex_from_ptree
Function ptree::complex_matrix_from_ptree
Function ptree::complex_vector_from_ptree
Function ptree::control_qubit_list_from_ptree
Function ptree::from_json
Function ptree::ptree_array_from_ptree
Function ptree::sparse_complex_matrix_from_ptree
Function ptree::target_qubit_list_from_ptree
Function ptree::to_json
Function ptree::to_ptree(const CPPCTYPE&)
Function ptree::to_ptree(const std::vector<UINT>&)
Function ptree::to_ptree(const std::vector<CPPCTYPE>&)
Function ptree::to_ptree(const std::vector<boost::property_tree::ptree>&)
Function ptree::to_ptree(const std::vector<TargetQubitInfo>&)
Function ptree::to_ptree(const std::vector<ControlQubitInfo>&)
Function ptree::to_ptree(const ComplexVector&)
Function ptree::to_ptree(const ComplexMatrix&)
Function ptree::to_ptree(const SparseComplexMatrix&)
Function ptree::uint_array_from_ptree
Function quantum_operator::create_general_quantum_operator_from_openfermion_file
Function quantum_operator::create_general_quantum_operator_from_openfermion_text
Function quantum_operator::create_split_general_quantum_operator
Function quantum_operator::from_ptree
Function quantum_operator::pauli_operator_from_ptree
Function quantum_operator::single_pauli_operator_from_ptree
Function rtrim
Function so4_to_magic_su2s
Function split
Function state::drop_qubit
Function state::from_ptree
Function state::inner_product
Function state::make_mixture
Function state::make_superposition
Function state::partial_trace(const QuantumStateCpu *, std::vector<UINT>)
Function state::partial_trace(const DensityMatrixCpu *, std::vector<UINT>)
Function state::permutate_qubit(const QuantumState *, std::vector<UINT>)
Function state::permutate_qubit(const DensityMatrixCpu *, std::vector<UINT>)
Function state::tensor_product(const QuantumState *, const QuantumState *)
Function state::tensor_product(const DensityMatrixCpu *, const DensityMatrixCpu *)
Function to_general_quantum_operator
Variables
Defines
Typedefs
Contributing
Contributing to Qulacs
Qulacs
»
C++ API Reference
»
Function state::make_superposition
Edit on GitHub
Function state::make_superposition
¶
Defined in
File state.hpp
Function Documentation
¶
QuantumState
*
state
::
make_superposition
(
CPPCTYPE
coef1
,
const
QuantumState
*
state1
,
CPPCTYPE
coef2
,
const
QuantumState
*
state2
)
¶
Read the Docs
v: latest
Versions
latest
v0.6.0
v0.5.6
v0.5.5
v0.5.4
Downloads
On Read the Docs
Project Home
Builds