Function Pennylane::LightningQubit::Gates::getIndicesAfterExclusion¶
Defined in File GateIndices.hpp
Function Documentation¶
-
auto Pennylane::LightningQubit::Gates::getIndicesAfterExclusion(const std::vector<std::size_t> &indicesToExclude, std::size_t num_qubits) -> std::vector<std::size_t>¶
Get indices of statevector data not participating in application operation.
- Parameters
indicesToExclude – Indices to exclude from this call.
num_qubits – Total number of qubits for statevector.
- Returns
std::vector<std::size_t>
api/function_namespacePennylane_1_1LightningQubit_1_1Gates_1a2e7793820bb9bdf674d3d3398911d01f
Download Python script
Download Notebook
View on GitHub