Home
last modified time | relevance | path

Searched refs:_ket (Results 1 – 24 of 24) sorted by relevance

/dports/misc/quantum++/qpp-3.0/unit_tests/tests/
H A Doperations.cpp31 psi = 0.8 * 00_ket + 0.6 * 11_ket; in TEST()
33 EXPECT_EQ(0.8 * 01_ket + 0.6 * 10_ket, resultX); in TEST()
35 EXPECT_EQ(0.8_i * 01_ket - 0.6_i * 10_ket, resultY); in TEST()
37 EXPECT_EQ(0.8 * 00_ket - 0.6 * 11_ket, resultZ); in TEST()
39 EXPECT_EQ(0.8 * 00_ket + 0.6 * 10_ket, resultCNOT); in TEST()
41 EXPECT_EQ(0.8 * 00_ket + 0.6 * 01_ket, resultCNOT); in TEST()
43 EXPECT_EQ(0.8 * 00_ket + 0.6 * 11_ket, resultZZ); in TEST()
46 psi = 0.8 * 0000_ket + 0.6 * 1111_ket; in TEST()
48 EXPECT_EQ(0.8 * 0100_ket - 0.6 * 1011_ket, resultXZ); in TEST()
50 EXPECT_EQ(0.8 * 0010_ket - 0.6 * 1101_ket, resultXZ); in TEST()
[all …]
H A Dissues.cpp10 auto const state = (0_ket + 1_ket).normalized().eval();
/dports/misc/quantum++/qpp-3.0/unit_tests/tests/qasm/
H A Dqasm.cpp72 ket psi2 = gt.RZ(0.2) * gt.RY(0.1) * gt.RZ(0.3) * 0_ket; in TEST()
74 gt.RX(pi / 2) * gt.RZ(0.3) * 0_ket; in TEST()
94 EXPECT_NEAR(0, norm(rho - prj(0_ket)), 1e-7); in TEST()
108 ? kron(gt.H * 0_ket, gt.H * 0_ket) in TEST()
109 : kron(gt.H * 0_ket * (-1_i), gt.H * 0_ket * (-1_i)); in TEST()
144 ket psi2 = USE_QISKIT_SPECS ? 0_ket : 0_ket * (-1_i); in TEST()
160 ket phi = gt.H * gt.RZ(1.0E-3) * gt.H * 0_ket; in TEST()
/dports/misc/quantum++/qpp-3.0/examples/
H A Dbb84.cpp81 ket psi = (state_A == 0) ? 0_ket : 1_ket; in main()
237 ket psi_A = (state_A == 0) ? 0_ket : 1_ket; in sample()
238 ket psi_B = (state_B == 0) ? 0_ket : 1_ket; in sample()
H A Dgates_states.cpp10 ket psi = 0_ket; // |0> state in main()
17 psi = 10_ket; // |10> state in main()
H A Dentanglement.cpp19 ket psi = 0.8 * 00_ket + 0.6 * 11_ket; in main()
H A Dgraph_states.cpp14 ket G0 = 000_ket; in main()
15 ket G1 = 000_ket; in main()
H A Dmeasurements2.cpp78 psi = 0.8 * 01_ket + 0.6 * 10_ket; in main()
H A Dminimal.cpp11 std::cout << disp(0_ket) << '\n'; in main()
H A Dmeasurements1.cpp11 ket psi = 00_ket; in main()
H A Dexperimental_average.cpp11 ket psi = 0_ket; // same as st.z0; in main()
H A Dshor.cpp39 ket psi = kron(st.zero(2 * n - 1), 1_ket); in main()
/dports/science/madness/madness-ebb3fd7/src/madness/mra/
H A Dfunction_factory.h305 std::shared_ptr<FunctionImpl<T,NDIM> > _ket; ///< supposedly a 6D pair function ket
321 , _ket() in CompositeFactory()
337 _ket = f.get_impl(); in ket()
390 this->_world,_ket,_g12,_v1,_v2,_particle1,_particle2 in get_functor()
/dports/misc/quantum++/qpp-3.0/examples/circuits/
H A Dteleport_qubit_circuit.cpp46 ket psi_in = U * 0_ket; in main()
H A Dnoisy_teleport_qubit_circuit.cpp50 ket psi_in = U * 0_ket; in main()
/dports/textproc/translate-toolkit/translate-toolkit-3.5.1/share/langmodels/
H A Dbreton.lm129 _ket 201
/dports/mail/spamassassin-devel/spamassassin-1ea352210/lm/inactive/
H A Dbr.lm129 _ket 201
/dports/textproc/libexttextcat/libexttextcat-3.4.6/langclass/LM/
H A Dbr.lm129 _ket 201
/dports/textproc/libtextcat/libtextcat-2.2/langclass/LM/
H A Dbreton.lm129 _ket 201
/dports/science/py-qspin/qspin-2.3.2/qspin/
H A Dqspin.py120 def _ket(self): member in state
332 return self.copy()._ket()
743 return s.copy()._ket()
/dports/misc/quantum++/qpp-3.0/include/
H A Dfunctions.hpp1957 ket operator"" _ket() { in operator ""_ket()
2034 return kron(operator""_ket<Bits...>(), operator""_bra<Bits...>()); in operator ""_prj()
/dports/misc/quantum++/qpp-3.0/
H A DCHANGES368 - qpp::ket operator "" _ket(), qpp::ket operator "" _bra() and
375 - Changed qpp::ket operator "" _q() to qpp::ket operator "" _ket()
/dports/sysutils/gnome-settings-daemon/gnome-settings-daemon-3.38.2/po/
H A Dbr.po607 msgstr "Na gweredekaat _ket"
612 msgstr "Na diweredekaat _ket "
/dports/sysutils/mate-settings-daemon/mate-settings-daemon-1.26.0/po/
H A Dbr.po912 msgstr "Na gweredekaat _ket"
917 msgstr "Na diweredekaat _ket "