XACC
xacc_quantum_gate_api.hpp
1 /*******************************************************************************
2  * Copyright (c) 2019 UT-Battelle, LLC.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * and Eclipse Distribution License v1.0 which accompanies this
6  * distribution. The Eclipse Public License is available at
7  * http://www.eclipse.org/legal/epl-v10.html and the Eclipse Distribution
8  *License is available at https://eclipse.org/org/documents/edl-v10.php
9  *
10  * Contributors:
11  * Alexander J. McCaskey - initial API and implementation
12  *******************************************************************************/
13 #ifndef XACC_QUANTUM_GATE_API_HPP_
14 #define XACC_QUANTUM_GATE_API_HPP_
15 #include "Observable.hpp"
16 
17 namespace xacc {
18 namespace quantum {
19 std::shared_ptr<Observable> getObservable();
20 std::shared_ptr<Observable> getObservable(const std::string type);
21 std::shared_ptr<Observable> getObservable(const std::string type,
22  const std::string repr);
23 std::shared_ptr<Observable> getObservable(const std::string type,
24  const HeterogeneousMap &options);
25 std::shared_ptr<Observable> getObservable(const std::string type,
26  const HeterogeneousMap &&options);
27 } // namespace quantum
28 } // namespace xacc
29 
30 #endif
Definition: Accelerator.hpp:25