QNLP  v1.0
test_gatewriter.cpp File Reference
#include "GateWriter.hpp"
#include "Simulator.hpp"
#include "IntelSimulator.cpp"
#include "catch2/catch.hpp"
#include <bitset>
Include dependency graph for test_gatewriter.cpp:

Go to the source code of this file.

Typedefs

typedef ComplexDP Type
 

Functions

 TEST_CASE ("Test n-controlled unitary module with Pauli-X |11..10>","[ncu]")
 Test n-controlled unitary module with Pauli-X |11..10> More...
 

Typedef Documentation

◆ Type

typedef ComplexDP Type

Definition at line 12 of file test_gatewriter.cpp.

Function Documentation

◆ TEST_CASE()

TEST_CASE ( "Test n-controlled unitary module with Pauli-X |11..  10,
,
""  [ncu] 
)

Test n-controlled unitary module with Pauli-X |11..10>

Definition at line 20 of file test_gatewriter.cpp.

20  {
21  GateWriter writer;
22  writer.oneQubitGateCall("label", )
23 }
void oneQubitGateCall(const std::string &gateLabel, const std::string &matrixVals, std::size_t gate_idx)
Writes the single qubit gate to disk. -1 used to denote lack of control line.
Definition: GateWriter.hpp:79

References QNLP::GateWriter::oneQubitGateCall().

Here is the call graph for this function: